|
使用G474的板子的FDCAN通信一直发送不出来,经过调试,发现进入“HAL_FDCAN_AddMessageToTxFifoQ”这个函数里会触发错误,查找FDCAN_PSR寄存器发现:
Bit 7 BO: Bus_Off status。
再次查找Bits 2:0 LEC[2:0]发现错误码是101,有这么一句话:
101: Bit0Error: During the transmission of a message (or acknowledge bit, or active error
flag, or overload flag), the device wanted to send a dominant level (data or identifier bit logical
value 0), but the monitored bus value was recessive. During Bus_Off recovery this status is
set each time a sequence of 11 recessive bits has been monitored. This enables the CPU to
monitor the proceeding of the Bus_Off recovery sequence (indicating the bus is not stuck at
dominant or continuously disturbed).
往下不知道怎么进行故障排查了,救命啊!!!
|
|