[En-Nut-Discussion] STM32 and CAN-Bus
bon at elektron.ikp.physik.tu-darmstadt.de
bon at elektron.ikp.physik.tu-darmstadt.de
Fri Feb 28 11:37:33 CET 2014
>>>>> "Achim" == Achim <achim_muc1971 at gmx.de> writes:
Achim> Hi Uwe, I´ve problems with overruns. It seams that
Achim> static void STMCanRX0Interrupt( void *arg)
Achim> if (CANBBx[CM3BB_OFFSET(CAN_TypeDef,
Achim> RF0R,_BI32(CAN_RF0R_FOVR0))]) { CANBBx[CM3BB_OFFSET(CAN_TypeDef,
Achim> RF0R,_BI32(CAN_RF0R_FOVR0))]=0;
ci-> can_overruns++;
Achim> doesn´t reset. Is it possible that we have tto write "1" tot he
Achim> register to reset?
The bits are described as rc_w1, so yes, you are right.
But why do you get overruns at all? Do you have so much CAN messages or is
handling the messages so complex and time-consuming that you can't catch up?
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the En-Nut-Discussion
mailing list