2018-04-11 07:18 AM
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...
2018-04-11 08:17 AM
You'll likely need to debug your software implementation.
2018-04-11 08:45 AM
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
2019-01-07 09:17 PM
Try this
first configure CAN1 then CAN2.
u should give clock to both CAN1 and CAN2
2019-01-07 09:40 PM
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.
2019-01-07 09:40 PM
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.
2019-01-07 09:42 PM
(This friggin' forum SW... gives an error, but still adds a comment.)