Cannot get Can API to output data to Nucleo-F446RE can-pins (using keil studio)

Hi Jan,

Sorry for the late response. I tried to use your code and it prints the initial board data but nothing after that. I also measured the pins using my oscilloscope and there is nothing happening on any of the data pins, the TX has a 3.2V DC signal over it and the RX has a 5.2V DC.

I also tried to just read CAN data by having a working bus (2 arduino UNOS with can bus modules) and trying to read that, but to no avail. The F446RE is connected to a MCP2551 which is then connected to the bus and since both the data pins are constantly pulled high (even when the can bus is silent) I’m not expecting a hardware issue here from the 2551.

I have no clue why this is happening as it should be sending can bus data to the pins as it looks like they are being addressed properly (else they wouldn’t be high right?). I believe if I can just get the pins to output the data that I am expecting in the code I can figure out the rest but I just do not understand why this isn’t the case currently.

Hopefully you can help me make some sense out of this, I already appreciate your input until now!

Kind regards,
Ties