Not applicable
Jul 10, 2013
07:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 10, 2013
07:22 AM
Hello,
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
Heinz
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
Heinz
- Tags:
- IFX
1 Reply
Not applicable
Jul 11, 2013
10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 11, 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.
Heinz
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.
Heinz