Difference between revisions of "EMAC Example Projects"

From wiki.emacinc.com
Jump to: navigation, search
m
 
Line 28: Line 28:
 
<!-- *  [[example_brightness|The 'brightness' example project (under review)]] - -->
 
<!-- *  [[example_brightness|The 'brightness' example project (under review)]] - -->
 
*  [[LED_example|The 'ipac_led' example project ]] - demonstrates use of GPIOs with the '''iPac9x25''' LEDs
 
*  [[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 (under construction)]] -
+
*  [[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_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'''
 
*  [[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 12: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