2021-09-22 01:05 AM
I am using 2 microcontrollers STM32F103ZETx as transmitter and STM32F730R8 as reciever. So my CAN is coming into initialization mode but has some issues in CAN normal mode. SLAK=0 , INAK=1(should be 0) and INRQ = 1(should be 0) for can normal mode.
1.How to make INRQ =1 by software.What changes should I do to the code ?
2.my DBF=1.Does it affect CAN normal mode ?
I tried making INRQ =0 which made INAK=0 and SLAK =0 , but TERR became 1 , that is error occurred.
Still TXOK was 0.
Solved! Go to Solution.
2021-09-22 09:30 PM
you forget HAL_CAN_Start
2021-09-22 09:30 PM
you forget HAL_CAN_Start
2021-09-23 05:00 AM
Hello @SMitt.2 ,
Did you added the line suggested by @Hoang_Tran ? Does it work ?
If yes, please mark his reply as Best answer (click on "Select as Best").
I advise you to refer to the CAN example with STM32Cube MCU package, which can help you as an implementation example to develop your application.
Imen
2021-09-23 05:15 AM
something worked , thank you !