CAN-Reinit. doesn't clear CAN-Errors
Company  
ST Home | Microcontrollers

Index  »  CAN  »  CAN-Reinit. doesn't clear CAN-Errors
     
   CAN-Reinit. doesn't clear CAN-Errors
 Moderated by :   »  Jatin

Author
beginning argument    ( No reply )
e.rueb   Posted 10-03-2008 at 11:38   



Registered on :
03-10-2008

Messages : 1

 OFF-Line

Hallo,

After a CAN-TX-Error i want to reinitialize the CAN-Controller on the STM32F103CB.
With this i have 2 problems :
1. The CAN-INAK-Bit does not work according to the Reference manual.
The CAN-Init. failes after HW-Reset. After a second CAN-initialization by the User-Program the INAk-Bit works okay (with delay).
2. After a second CAN-Initialization the CAN-Errors are not cleared (Error-Counter REC u. TEC and Bits). According to the Readonly of this Variables i am not able to restart the CAN after CAN-Erros.
Is there anybody who have a solutuion for this?

Thanks
Eckhard





 Profile   Quote  
On Top

Search in the forums
 
Jump To