Hello,
I'm experiencing an issue while running CAN examples or my own CAN models on Simulink. I'm attempting to receive a specific message from a real CAN bus. I've tried replicating the logic from the provided examples, but I'm still facing issues. The only time I was able to SEND a message to a CAN Analyzer was with the SBC example model, which configures the LPSPI and SBC. However, configuring the SBC doesn't always work when sending, and I still can't receive any messages even with the SBC configured.
I've verified that the jumper settings are correct, and I'm powering the board with an external 12V DC source while flashing it via micro-USB. I've also attempted to reset the SBC to factory settings without success. I'm connecting CAN HI and CAN LO to the CAN Analyzer or directly to the real CAN Bus.
For reference, I've attached a simple model. When I attempted to use interrupts, I still couldn't observe any changes in the LEDs. It remains in the initial state, which means the message isn't being received.
Thank you for your help.
I have solved the problem by resetting the SBC to factory settings again.