Hello, I'm using the tja1055 as a transceiver. I'm facilitating two-way communication (meaning there's a receiver and a transmitter). I'm using the s32k312 as the processor. As a trial, I have a test code for receiving and transmitting in loopback mode. When I test this code, it works seamlessly. However, in normal mode, I'm not receiving the 'Receive callback.' I can see the signal of the message I send on the RX pin of the receiver transceiver. My message-sending code is a modified version of my loopback code, and my receiver code is the same code with the sending part turned off
Hello rexoplans,i am using s32k312 and configured CAN, are your interrupts configured correctly?, and it should be initialized to work the call_back functions properly, and do you have terminating resistor between the CAN low and CAN high pins?
1. Have you configured and initialized the pins correctly?
2. If everything is configured correctly, then you can use tools such as an oscilloscope or logic analyzer to test whether the TX output on the MCU side has the correct output.
3. If the TX on the MCU side is normal, then solve the problem of TJA1055. Usually the STB and EN pins should be controlled by the MCU side.
Input requirements for STB and EN pins
send me your project and i will help you check it next week.