Getting Started – Example –
Blinky based on XMC Lib (2/8)
14
Copyright © Infineon Technologies AG 2015. All rights reserved.
›
For this project, we will use
–
System clock frequency of 8MHz
–
LED on Port pin
–
System timer, SysTick, as the time base for interrupt
–
P4.9 for CAN Tx and P4.8 for CAN Rx
›
Next, we will show you how to
1.
Set up the System or Main Clock (MCLK)
2.
Configure Port pin
3.
Configure SysTick and define its exception service routine
4.
Configure 2 CAN message objects
5.
Configure P4.9 for CAN Tx and P4.8 for CAN Rx