Associate II
July 15, 2019
Question
nucleof103rbt6 HAL CAN receiver interrupt not firing
- July 15, 2019
- 2 replies
- 772 views
Hi ,
i am notable to get the can receive interrupt to fire .
using hal libraries. code sample attached.
i have previously used the CAN on the bluepill with stdperipheral libraries.
Kindly help.
UPDATE:
i have checked the sfrs with ESR having REC=FF, EFVP & EWGF=1, LEC=101b ie. Bit dominant Error.
i have confirmed can message integrity using microchips can analyser.
i have been using extended IDs
no filtering as of yet..just hoping interrupt fires
tried loopback mode also.. can tx pin is always high(unable to get can message).... rx interrupt not working
could this be an issue with the hal drivers? using v 1.8
if it is a clocking problem how do i fix it.
can 500kbs, stm hsi 8mhz.
Thank you
