S32DS3.5 optimize cause CAN bus-off issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32DS3.5 optimize cause CAN bus-off issue

618件の閲覧回数
Ali22
Contributor III

Dears

Recently, I meet a strange issue that when I set the S32DS3.5 optimization level to -O2

1.jpg.png

After set the optimization level to -O2, the CAN goes to bus-off status, but there is no bus-off event happen, so I wonder why setting the S32DS3.5 optimization level can cause CAN module enter bus-off, anyone who meet this issue or who can explain the relationship between optimization level and CAN bus-off? Thanks.

1.jpg.png

タグ(1)
0 件の賞賛
返信
1 返信

601件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ali22

From the register configuration you provided, the BUS-OFF state occurred and the ERRINT bit was set, but you did not enable the corresponding interrupt flags: CTRL1.BOFFMSK and CRTL1.ERRMSK

Senlent_0-1751508762528.pngSenlent_0-1751508762528.png

 

0 件の賞賛
返信