Tool/software: Code Composer Studio
Hello,
Can part does not work, I have no data on can pins. I used the function "canTransmit(canREG1, canMESSAGE_BOX1,(const uint8 *) &temp);"
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hello,
Can part does not work, I have no data on can pins. I used the function "canTransmit(canREG1, canMESSAGE_BOX1,(const uint8 *) &temp);"
Hello,
Just set pins as functional.As I mentioned in this post:
"When CANn Tx/Rx pin is set as functional (CAN) then Direction, Pull up/down and open drain are not applicable."
Also, in this post:
you can find a project for TMS570LC4357 that can be uses as reference.
Also, this document could be useful to you:
Keep in mind that Tx and Rx pins must be connected to CAN Transceiver on both sides. Termination resistors are also mandatory. CANL and CANH from the first transceiver should be connected to CANL and CANH to another transceiver.
So, if you are using LaunchPad you must connect CAN Tx and Rx pin to transceiver then the transceiver must be connected to another transceiver. The second transceiver is connected to Tx and Rx pins at another CAN port (the second transceiver and CAN port can be on another LaunchPad).
If you are using HDK CAN transceivers and termination resistors are onboard of HDK and you only have to connect CANH and CANL of both nodes.