![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
This demo application demonstrates the XBAR and AOI demo. More...
The XBAR and AOI demo project is a demonstration program that uses the KSDK software. In addition to the XBAR and the AOI peripheral drivers, the PIT and the CMP module drivers are used too. A button with a pull-up resistor (PSEL) and output of 6-bit DAC (MSEL) are the CMP inputs. The PIT is configured to the periodic 500 ms interrupt generating. The CMP and the PIT outputs are connected by the XBAR module to the AOI inputs. In AOI, the CMP output is inverted and logical AND is made with the PIT and inverted CMP output. The AOI output is then connected to the XBARA_OUT0 output which is configured to generates the interrupt event on the rising edge. In the interrupt service rutine, the message is printed on a debug console. So, if the button is pressed and the PIT periodic interrupt occurs a message is printed.
This Freescale Tower System development platform is supported by the Kinetis SDK XBAR and AOI demo.
The XBAR and AOI demo project is designed to work with the Tower System.
Be sure that a jumper on J4 HDR is in 1-2 position (GC7 is connected to the button).