Difference between revisions of "Example MikroBus Rotary on the DEV-IOT6U"

From wiki.emacinc.com
Jump to: navigation, search
(Created page with "{{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|project=oe 4,oe 5,jg,md,SEOKWREV,mg,bs}} {{#seo: |title=Exampl...")
 
m
Line 36: Line 36:
 
==Usage and Behavior==
 
==Usage and Behavior==
  
===Using the Demo==
+
===Using the Demo===
 
In a terminal session with the iMX6U-112:
 
In a terminal session with the iMX6U-112:
 
<code>
 
<code>

Revision as of 10:48, 14 September 2020

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 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)


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