I create applications for STM32 F303RE for communication with the instrument panel. I managed to connect everything but I have some problems. I'm not sure if it's due to bad code or good performance. I've plugged a cheap logic analyzer into CAN_H, CAN_L, CAN_TX, CAN_RX.
I am able to observe the frames sent by the Instrument panel cluster (removed from the car, connected to the power supply at home) as shown below on the screen (e.g. ID: 0x0C194003). Unfortunately none of these frames appear on CAN_RX line in STM32. When I try to send some own frame (ID: 0x07000000) I see that it appears both on CAN_TX line (which is normal for me) but also on CAN_RX line. The device works in Normal mode, not Loopback. As I understand it STM collects this frame from the bus immediately after sending. But I don't understand why it reacts and accepts this frame and doesn't get those sent by IPC.
At the end of each frame sent by IPC I get NAK. I guess that if the frame did not appear on the RX line and did not get to the device there is no possibility that it will be issued ACK by qC. The frames sent by me (as above, the frame with ID: 0x700...) receive an ACK confirmation. But I don't know if ACK is received from IPC (as it seems to me) or because on CAN_RX line this message appeared and STM issued ACK bit itself...? Filter bank is setted to pass all frames.
Problem is related to previously asked: NAK in CAN bus for STM32F3 uC