Example MikroBus Rotary on the DEV-IOT6U
This is a guide to the MikroBus Rotary Demo on the DEV-IOT6U.
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) |
Contents
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
This example is a demonstration of use of the MicroBus Module on the DEV-IOT6U