I've already downloaded the en.stm32cubef4 package, but the CAN examples are on another board. If I want to use the examples on my STM32F429ZI- Nucleo and MCP2561 transceiver, what should I change in the example?
I tried to use the MBED online compiler and I used this example:
char counter = 0;
if(can1.write(CANMessage(1337, &counter, 1)))
printf("Message sent: %d\n", counter);
with no luck. I was receiving error. I tried the CAN communication on LPC1768 mbed board with MCP2561 transceiver and the results were perfect.
Please, it's really urgent and am still new to this board.