View Full Version : XMC4500 hexagon kit port configuration for CAN

Jul 10th, 2013, 07:22 AM
I am somehow not able to find the correct pin configuration to use the CAN controller node2 connected to the transceiver and the DSUB-9 connector.
Pin 28: CAN_TXD CAN_N2_TXD P1.9
Pin 30: CAN_RXD CAN_N2_RXDA P1.8
I hope someone will have done it already and can send me the instruction or the C source code to initialize the port.
Thanks in advance


Jul 11th, 2013, 10:24 AM
OK, by implementing a simple Dave example and looking at the generated code, i found it.
It is as simple as configuring P1.9 to ALT2 functionality.

My CANopen node is now at least sending a boot up and the following heart beat frames.
For the RX part I need to implement the interrupt.