Flexcan Enhanced FIFO issues is S32DS configuration

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

Flexcan Enhanced FIFO issues is S32DS configuration

1,915件の閲覧回数
karsen
Contributor II

1.  DS version : 3.5

2. SDK version : S32K 3.0.0

3. as flexcan said, the enhanced FIFO could be used in FD format, but when I configure CANFD and enhanced FIFO tegother ,it raise "TypeError" error and can not generate code. When I remove one of them, this error disappered.

I modify this based on example "Can_Example_S32K344".

4. Also , I see that in Mcal configuration , only "CanHardwareObject_0" can be use with FIFO,

but this object can only be configured with on filter type,  basic or extend, mix is not worked, it is auto changed to extend , how can I configure baisc and extend filter type together ?

 

0 件の賞賛
返信
2 返答(返信)

1,911件の閲覧回数
karsen
Contributor II

the error code is :

(Hoh.getChildById("CanObjectType ").getValue() == "RECEIVE") && (bFlagFIFO[ctrlId] == false))

TypeError: null has no such function "getValue"

0 件の賞賛
返信

1,851件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

In the past, the development team detected this issue and it will be fixed on the S32K3 releases in the future.

And there is a workaround for this issue: modify the code at line number 1052 in the file: "C:\NXP\S32DS.3.5\eclipse\mcu_data\components\PlatformSDK_S32K3\Can_43_FLEXCAN\Can_PBcfg.c" as below.

original: (Hoh.getChildById("CanObjectType ").getValue() == "RECEIVE"&& (bFlagFIFO[ctrlId] == false))
workaround: (Hoh.getChildById("CanObjectType").getValue() == "RECEIVE") && (bFlagFIFO[ctrlId] == false))
 
BR, Petr