Part Number: TMS320F28335
Hi all, TI,
Posted a question about SCI a while ago and got very useful response! So here I am again after multiple days of struggling with the CAN module on our custom board with a TMS320F28335. I can not get the example code (ecan_a_to_b_xmit) to work. Some outlines:
- Custom board with proper termination and the TJA1040 CAN transceiver
- Other node in the network is just a Arduino with CAN shield for now
- This Arduino CAN shield is working fine at different baudrates (used with other CAN networks perfectly, including an NXP chip MCP5744 and motorcycle AIM dashlogger)
- The Arduino does not filter for receiver ID, so all messages will be shown on a serial monitor.
Questions thus far:
- What is the CAN clock frequency? The PDF (spru074f) states either 150 MHz or 100 MHz, but if it is linked to the standard peripheral clock (like SCI is), then 150 MHz would never be possible, and I will be running at 75 MHz peripheral clock
- Table 3-1 in the same PDF (spru074f): what exactly says the CAN Module clock column?
- Are there any known issues using the example code? Problem: it hangs at the while loop waiting for an acknowledge (the other node, Arduino in this case, should send the acknowledge; am I right?). Removing the while loop does not help. I see no activity at the CAN bus at all using an oscilloscope. After InitECan() the voltage difference between CAN-high and CAN-low moves to 3.3V.
I appreciate any input! Any suggestions what steps to take? Thanks in advance :)