I attached the decoded signal that I received and it is correct. However, it still does not trigger any interrupt in reception.
The doubts I have from the beginning looking at the example are the following:
- where is setted the CAN ID of each individual board? From the example it seems that it can be set only in the messages in transmission and in reception therefore each card can send and receive messages with different IDs. It's correct?
- the ID entered in the txframe is that of the transmitter or that of the recipient of the message? Same question for the receiver: the ID entered in rxframe is that of the transmitter to be listened to or that of the receiver? In my separate examples for transmitter and receiver I left the same id value in the txframe and in the rxframe that is 0x123
- Through the logical analyzer I see that the message is repeated several times even if it is sent only once in the example.
Why? Is it the CAN controller that sends back if there is no answer?
- In the original example CAN RX and TX pin were not configured. That is the configuration that I added in MCUXpresso Config Tool. Is OK?
- The last doubt is on the transceiver that I used, the TJA1050. I looked that I needed 5V on VCC. I think the signal is still 3.3v as it is generated by MCU. Could it be that it is not compatible as a transceiver?
I hope you can help me!
Thank you very much!