Keil Logo

TMPM364 CAN Demo

The TMPM364 CAN_Demo example shows how to use the CAN on Keil Evaluation Board MCBTMPM360 populated with Toshiba TMPM364 microcontroller.

Example Functionality

  • Clock Settings
    • XTAL: 12 MHz
    • PLL: 48 MHz
    • CPU Clock: 48 MHz
  • CAN 1 controller speed: 500 kbits.
  • send converted analog value in first byte in CAN message on CAN 1 controller every 100 millisecond.
  • display higher 4 bits of received byte on CAN 1 controller in hexadecimal representation on 4 LEDs.

This example can be tested by using two MCBTMPM360 with CAN connected between themselves.
In that configuration turning potentiometer on one board will change state on LEDs on the other board and vice versa.

This example can also be tested if only one MCBTMPM360 board is availabe. By pressing PJ4 button during power-on example initializes CAN controller in loopback mode so that whatever CAN controller sends it also receives.
In that configuration turning potentiometer will change state of LEDs.

The CAN_Demo example program is available for target:

  • TMPM364 Flash:
    program runs from Internal Flash located on chip.
TMPM364_CAN.ZIP (67K)
Wednesday, June 30, 2010
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.