S32K1xx Ver4.0.0-BUG REPORT

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

S32K1xx Ver4.0.0-BUG REPORT

1,980件の閲覧回数
deealen
Contributor II

When I use this toolbox, I find some bugs that may be report to NXP. 

1. Input_Edge_Capture: "ftm_s32k14_input_edge_capture.tlc" do not add “tm_hw_access.h”, so when I use ftm_s32k14_input_edge_capture block alone, It generate code successfully but can not compile successfully. 

appearance: 

pastedImage_1.png

pastedImage_2.png

solution: 

Change ftm_s32k14_input_edge_capture.tlc file, add contents: 

%if !EXISTS("FTM_HW_ACCESS_H_INCLUDED")
%assign ::FTM_HW_ACCESS_H_INCLUDED = 1
%<LibAddToCommonIncludes("ftm_hw_access.h")>
%endif

2. Input_Edge_Capture: When I config FTM2 channel 0, it exist exception. 

appearance: 

pastedImage_13.png

pastedImage_14.png

 solution: 

I can not able to fix this bug, because I do not have acess to change Matlab P-code. 

I add a para to the block, it seem works correctly. But it is strange that FTM1_ch0 & FTM2_ch0 & FTM2_ch1 need a para. 

pastedImage_1.png

ラベル(2)
タグ(2)
2 返答(返信)

1,657件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello deealen@outlook.com‌,

Thank you very much for your effort in discovering this issue. This is now tracked  internally as AST-1408 .

Please replace the following files and tell me if the problem persists

The p coded file must be replaced in S32K\src\mbdtbx_s32k14x\mbdtbx_s32k14x\mscripts\ftm

The tlc file must be replaced in S32K\src\mbdtbx_s32k14x\mbdtbx_s32k14x\blocks\ftm

Please provide a feedback if the fix worked.

Best Regards, 

Marius

1,657件の閲覧回数
deealen
Contributor II

Hello mariuslucianandrei

Thank you very much for solving this problem for me.

After replacing the two files in your way, it works very well.

Best Regards, 

Alen