Difference between revisions of "EMAC Example Projects"

From wiki.emacinc.com
Jump to: navigation, search
(Initial content paste. Needs formatting.)
 
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
**  [[example_atod|The 'atod_test' example project]]
+
{{#seo:
**  [[example_brightness|The 'brightness' example project]]
+
|title=EMAC Example Projects
**  [[example_c++_person|The 'c++ person' example project]]
+
|titlemode=append
**  [[example_egpc|The 'egpc' example project]]
+
|keywords=example, projects
**  [[example_example|The 'example' example project]]
+
|description=The following page lists the example projects
**  [[example_fbench|The 'fbench' example project]]
+
}}
**  [[example_getkey|The 'getkey' example project]]
+
== Example Projects ==
**  [[example_i2c_test|The 'i2c test' example project]]
+
* [[example_can|CAN]] - demonstrates the use of the CAN bus
**  [[example_io_demo|The 'io demo' example project]]
+
*  [[example_fbench|'fbench']] - a floating point benchmark which tests the accuracy and speed of floating point operations on the target systems
**  [[example_mcp4922_test|The 'mcp4922 test' example project]]
+
* [[example_getkey|'getkey']] - demonstrates how to use a keypad with a SoM150ES carrier board
**  [[example_pthread_demo|The 'pthread demo' example project]]
+
*  [[example_hello|'hello']] - basic "hello world" project
**  [[example_pthread_hello|The 'pthread hello' example project]]
+
*  [[example_i2c_test|'i2c test']] - writes and reads bytes to a selected register on the I²C device
 +
* [[Libgpiod_IO_Example|'libgpiod io']] [OE5.X] - covers basic GPIO usage for the IPAC single board computer, and 150 and 200 series carrier boards
 +
*  [[example_pthread_demo|'pthread demo']] - demonstrates how to use pthreads
 +
* [[example_serial|'serial']] - application performs an asynchronous IO test on the specified serial device using either poll or FASYNC mode.
 +
*  [[example_socket|'socket']] - demonstrates how to set up host and client node sockets on an Ethernet network
 +
* [[example_SPI_test|'spi test']] - demonstrates how to use a 12 bit A/D converter chip (mcp3208) with SPI Serial Interface
 +
*  [[example_timer|'timer']] - demonstrates how to use the software timer
 +
* [[example_watchdog|'watchdog']] - demonstrates how to use the watchdog timer (a hardware circuit that can reset the computer system in case of a software fault)
 +
 
 +
== Example Projects Specific to the EMAC SDK 4.X ==
 +
*  [[example_atod|'atod_test']] - demonstrates reading the channels of an indexed AtoD device
 +
* [[example_io_demo|'io demo']] - provides four demos using SOM-150ES carrier board I/O
 +
*  [[example_egpc|'egpc']] - demonstrates reading, writing and configuring the GPIO ports
 +
*  [[example_mcp4922_test|'mcp4922 test']] - demonstrates how to access the on-board DtoA of an EMAC SoM-150ES carrier board
 +
 
 +
== Example Projects for Specific Products ==
 +
<!-- *  [[example_brightness|The 'brightness' example project (under review)]] - -->
 +
*  [[LED_example|The 'ipac_led' example project ]] - demonstrates use of GPIOs with the '''iPac9x25''' LEDs
 +
*  [[example_sights_and_sounds|The 'sights-and-sounds' example project ]] - demonstrates the use of a 7" LCD Touchscreen and audio outputs
 +
<!-- *  [[example_SoM_150es_keypad_lcd|The 'SoM-150es-keyboard-lcd' example project (under construction)]] -  -->
 +
*  [[Example_MikroBus_Rotary_on_the_DEV-IOT6U|MikroBus Example on the DEV-IOT6U]] - a demonstration of the use of the MikroBus on the '''DEV-IOT6U'''

Latest revision as of 13:44, 19 October 2020

Example Projects

  • CAN - demonstrates the use of the CAN bus
  • 'fbench' - a floating point benchmark which tests the accuracy and speed of floating point operations on the target systems
  • 'getkey' - demonstrates how to use a keypad with a SoM150ES carrier board
  • 'hello' - basic "hello world" project
  • 'i2c test' - writes and reads bytes to a selected register on the I²C device
  • 'libgpiod io' [OE5.X] - covers basic GPIO usage for the IPAC single board computer, and 150 and 200 series carrier boards
  • 'pthread demo' - demonstrates how to use pthreads
  • 'serial' - application performs an asynchronous IO test on the specified serial device using either poll or FASYNC mode.
  • 'socket' - demonstrates how to set up host and client node sockets on an Ethernet network
  • 'spi test' - demonstrates how to use a 12 bit A/D converter chip (mcp3208) with SPI Serial Interface
  • 'timer' - demonstrates how to use the software timer
  • 'watchdog' - demonstrates how to use the watchdog timer (a hardware circuit that can reset the computer system in case of a software fault)

Example Projects Specific to the EMAC SDK 4.X

  • 'atod_test' - demonstrates reading the channels of an indexed AtoD device
  • 'io demo' - provides four demos using SOM-150ES carrier board I/O
  • 'egpc' - demonstrates reading, writing and configuring the GPIO ports
  • 'mcp4922 test' - demonstrates how to access the on-board DtoA of an EMAC SoM-150ES carrier board

Example Projects for Specific Products