8 years, 4 months ago.

CAN interface library to STM32F429i - DISCO ?

Hi, I was trying to implement the basic CAN example in mbed library, but I don't have 2 available CAN, it's used for another purposes in this board. So, I just tried to send packages to a NI USB 8473. My question is what is the default speed and is my board ( STM32F429i - DISCO) compatible with the library mbed CAN?

Following my partial code....

  1. include "mbed.h"

Ticker ticker1; DigitalOut led1(LED1); green led LD3 DigitalOut led2(LED2); red led LD4

CAN can2(PB_12, PB_13); same as USB OTG (disabled)

int main() { ticker1.attach(&send, 0.1); CANMessage msg; can2.frequency(125000); ....

Be the first to answer this question.