Difference between revisions of "EMAC Example Projects"

From wiki.emacinc.com
Jump to: navigation, search
(Add a link to spi_test)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="background-color: #DDFEF5; border-style: solid; border-width: thin; font-style: bold; font-size: 33px; text-align: center; padding: 6px">
+
{{#seo:
Example Projects</div>
+
|title=EMAC Example Projects
<div style="border-style: solid; border-width: thin; padding: 20px">
+
|titlemode=append
*  [[example_atod|The 'atod_test' example project]]
+
|keywords=example, projects
*  [[example_brightness|The 'brightness' example project]]
+
|description=The following page lists the example projects
*  [[example_egpc|The 'egpc' example project]]
+
}}
*  [[example_fbench|The 'fbench' example project]]
+
== Example Projects ==
*  [[example_getkey|The 'getkey' example project]]
+
*  [[example_can|CAN]] - demonstrates the use of the CAN bus
*  [[example_hello|The 'hello' example project]]
+
*  [[example_fbench|'fbench']] - a floating point benchmark which tests the accuracy and speed of floating point operations on the target systems
*  [[example_i2c_test|The 'i2c test' example project]]
+
*  [[example_getkey|'getkey']] - demonstrates how to use a keypad with a SoM150ES carrier board
*  [[example_io_demo|The 'io demo' example project]]
+
*  [[example_hello|'hello']] - basic "hello world" project
*  [[example_mcp4922_test|The 'mcp4922 test' example project]]
+
*  [[example_i2c_test|'i2c test']] - writes and reads bytes to a selected register on the I²C device
*  [[example_pthread_demo|The 'pthread demo' example project]]
+
*  [[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_hello|The 'pthread hello' example project]]
+
*  [[example_pthread_demo|'pthread demo']] - demonstrates how to use pthreads
*  [[example_serial_test|The 'serial test' example project]]
+
*  [[example_serial|'serial']] - application performs an asynchronous IO test on the specified serial device using either poll or FASYNC mode.
*  [[example_serport212|The 'serport212' example project]]
+
*  [[example_socket|'socket']] - demonstrates how to set up host and client node sockets on an Ethernet network
*  [[example_socket|The 'socket' example project]]
+
*  [[example_SPI_test|'spi test']] - demonstrates how to use a 12 bit A/D converter chip (mcp3208) with SPI Serial Interface
*  [[example_SPI_test|The 'spi test' example project]]
+
*  [[example_timer|'timer']] - demonstrates how to use the software timer
*  [[example_timer|The 'timer' example project]]
+
*  [[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_watchdog|The 'watchdog' example project]]
+
 
</div>
+
== 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