Skip to main content
SaidErsoy
Associate II
Mar 21, 2022 11:38 AM UTC
Question

MCP2515 with STM32F429

I am sending spi signals to mcp2515 and tring to take CAN signal out of it. Is there an example that i can look and see what is wrong in my code?

This topic has been closed for replies.

2 replies

mƎALLEm
ST Technical Moderator
Mar 21, 2022 11:46 AM UTC

Hello,

Try to find if someone did this previously on the web.

Example: https://github.com/eziya/STM32_SPI_MCP2515

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
Mar 21, 2022 1:28 PM UTC

Would confirm your SPI functionality works, reading and writing registers, etc.

Should be a wealth of more general examples out their for MCUs and also embedded Linux drivers, etc.

CAN anticipates you have a listening/responding device on the bus to communicate with.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..