2022-03-21 04:38 AM
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?
2022-03-21 04:46 AM
Hello,
Try to find if someone did this previously on the web.
Example: https://github.com/eziya/STM32_SPI_MCP2515
2022-03-21 06:28 AM
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.