Information Center for ARM

Example description

  
Overview
========
This example is a reference application to receive the IRRX data.
    
This example project will output logs via HDK USB (CON5) to PC.

Hardware requirements
=====================
- LinkIt 7687 HDK.
- Personal Computer
- Type-A to micro-B USB

Board settings
==============
- IRRX transmitter mapping is listed below.
      |     CHx       |GPIO   |PINx       |
      |---------------|-------|-----------|
      |  IRRX SINGNAL |  34   |J35.2      |
      |  IRRX VCC     |  NA   |J32.2      |
      |  IRRX GND     |  NA   |J32.7      |
      
-Connect IRRX SINGNAL to J35.2, IRRX VCC to J32.2 and IRRX GND to J32.7      


Prepare the Demo
================
1.  Connect a micro USB cable between the host PC and the MK20 USB port (CON5) on the target board.
2.  Open a serial terminal on port coresponding to "mbed Serial Port" with the following settings:
    - Serial port corresponding to "mbed Serial port"
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.

Running the demo
================
1.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Send signals to IRRX Receiver by remote controller. The
log displays the received IRRX raw data in hexadecimal format and the
message "---irrx_example begin---" indicates a successful operation.
    
Customization options
=====================