Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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....
- 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); ....