Example MikroBus Rotary on the iMX6U-112

From wiki.emacinc.com
Jump to: navigation, search
TODO: {{#todo:SEOKWREV (01.02.14-14:09->JG+);(01.02.14-14:30->MD+);(01.02.14-16:15->MG+);(04.04.14-15:40->BS+)|Jgreene|oe 4,oe 5,jg,md,SEOKWREV,mg,bs}}

This is a guide to the MikroBus Rotary Demo on the iMX6U-112 IIoT Development Kit.



NOTE
Do to a design flaw in the MikroBus Rotary B Click, the card does not allow another SPI device to be present on the SPI Bus. The SoM-IMX6U uses the SPI Bus and the presence of MikroBus Rotary B Card prohibits the SOM from booting. To alleviate this issue, the pin labeled “SDO” must be cut and jumpers JB5 and JB6 on the Dev Kit Carrier Board (SoM-112) must be set to 3P3 (see figures below)


General Information

Hardware Requirements

  • The DEV-IOT6U Development Kit
  • Desktop PC (Windows/Linux/Mac will work)

Software Requirments

These tools should already be installed if you installed the EMAC SDK using the automatic installer.

  • EMAC OE 5.X SDK
  • EMAC Qt Creator
  • GNU make
  • CMake

Setup

If you haven't already, please review the "getting started" page for the DEV-IOT6U. EMAC_OE_SDK will need to be installed and serial and network connections will need to be established between the developer machine and the target device. See the Serial Connections or Network Connections page for more information on how to connect to the target EMAC product using a serial port or Ethernet connection.

  • Download this file
  • Open a terminal and minicom/putty into the board
  • get the ip address
  • second terminal
  • use EMAC OE SDK guide for host compiling

Usage and Behavior

=Using the Demo

In a terminal session with the iMX6U-112: ./name The MikroBus Rotary dial may then be turned, and with each click, the lights with increment in binary. One side of the card's lights are associated with one of the card's registers, likewise for the other set of lights.

Summary

asdf