*BUMP*
Does anyone (Freescale folks?!?!) have any further info on this? I'm having exactly the same problem. I would have expected the FlexCAN demo to work out of the box on the TWR K60N512, but I haven't been able to get it to communicate. Like previous posters, the terminal output says that everything is working fine:
*********FLEXCAN TEST PROGRAM.*********
Message format: Standard (11 bit id)
Message buffer 0 used for Tx and Rx.
Interrupt Mode: Enabled
Operation Mode: TX and RX --> Normal
***************************************
selected frequency (Kbps) is: 125
Data length: 1
FLEXCAN reset. result: 0x0
FLEXCAN initilization. result: 0x0
FLEXCAN mode selected. result: 0x0
FLEXCAN global mask. result: 0x0
FLEXCAN Error ISR install, result: 0x0
FLEXCAN Bus off ISR install, result: 0x0
FLEXCAN error interrupt enable. result: 0x0
FLEXCAN rx remote mailbox initialization. result: 0x0
FLEXCAN rx mailbox initialization. result: 0x0
FLEXCAN mailbox activation. result: 0x0
FLEXCAN RX ISR install. result: 0x0
FLEXCAN RX remote ISR install. result: 0x0
FLEXCAN tx remote mailbox initialization. result: 0x0
FLEXCAN tx mailbox initialization. result: 0x0
FLEXCAN tx mailbox activation. result: 0x0
FLEXCAN TX ISR install. result: 0x0
FLEXCAN TX remote ISR install. result: 0x0
FLEXCAN started. result: 0x0
Data transmit: 0
Data transmit: 1
FLEXCAN tx update message. result: 0x0
Data transmit: 2
FLEXCAN tx update message. result: 0x0
I've tried probing the CAN pins on the A Expansion Port, and the TX (pin 42) is just floating high with no data on it. I've stimulated pins 1 and 3 on TWR SER J7 with CAN data at 125kbps, and was able to view the data on Pin 41 using a logic analyzer, so at least my TWR SER must be configured correctly.
Additionally, I used the Memory viewer in my debugger to check the TX mailbox (memory location 0x400A4098), and am able to see the data value increment in sync with the one spit out on the terminal. However, the CANbus remains dead.
Any thoughts? I've spent the whole day messing with this, and would love to get this demo working!
Regards,
Robert