cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f407 can1 and can2 not work simultaneously

mohammad yaghoobi
Associate
Posted on April 11, 2018 at 16:18

hi.

- i working on stm32f407.

- i need both can1 and can2 in my project.

- can1 separately work and can2 separately work.

my problem is:

- can1 and can2 not work simultaneously.

please help me...

6 REPLIES 6
Posted on April 11, 2018 at 17:17

You'll likely need to debug your software implementation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Frank Voorburg
Associate II
Posted on April 11, 2018 at 17:45

Hello Mohammad,

CAN1 and CAN2 can work simultaneously. Just keep in mind that CAN1 and CAN2 share message reception filters. Only using filters 0..13 for CAN1 and 14..27 for CAN2 for example, might solve your problem.

Good luck,

-Frank

mk a
Associate

Try this

first configure CAN1 then CAN2.

u should give clock to both CAN1 and CAN2

turboscrew
Senior III

BTW, the allocation of filters between CAN1 and CAN2 can be done any way you want in HW, but Cube forces the split in two equal parts: 0 - 13 for CAN1 and 14 - 27 for CAN2.

turboscrew
Senior III

BTW, the allocation of filters between CAN1 and CAN2 can be done any way you want in HW, but Cube forces the split in two equal parts: 0 - 13 for CAN1 and 14 - 27 for CAN2.

turboscrew
Senior III

(This friggin' forum SW... gives an error, but still adds a comment.)