| Kinetis SDK Demo Applications User Guide 1.0.0-beta Freescale Semiconductor, Inc.

- Main Page
- Related Pages
- Demos

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FlexCAN Demo User Guide
FlexCAN Demo

User guide on how to use this demo. More...

### FlexCAN Demo User Guide

# Getting started

There are two boards which should be used in this demo to perform peer to peer communication.

# Default Debugger Connection

- TWR-K64F120M(on board OpenSDA)

# Terminal Configuration

- TWR-K64F120M: UART1 PTC3/PTC4

# Pin configurations:

- TWR-K64F120M: CAN0_TX: J11A-B42 (PTB18) , CAN0_RX: J11A-B41 (PTB19)

# Commands/Directions

1. Download the program to target board, which should be installed in a tower system with TWR-SER.
2. Connect the USB cable to a PC host and open a serial terminal at 115200 baud, 8-bits no parity, 1 stop bit.
3. Short J5(1-2) J5(3-4) J5(5-6) J5(7-8) to enable CAN connection.
4. Connect the two TWR-SERs through the CAN port(J7).
5. When successfully connected, reset the TWR-MCU boards to run the demo and select the node ID for each board by typing A/a or B/b followed Enter.
6. You may now transfer characters by using serial terminals. For more details, see the video in for more details.