Error about GDU

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

Error about GDU

1,768件の閲覧回数
fanlikang
Contributor II

The original program realizes state machine transition through on-board switches. In order not to use on-board switches, I made corresponding modifications in the program, as follows:

微信截图_20221104163315.png

     After the above settings, the program successfully jumps to the next state, that is stateCalib(),then , the program enters stateAlign( ).

    But the problem occurred. In this program, GDU errors were found, as shown in the figure:

微信截图_20221104163828.png

I want to know why and how to avoid

                                                                                                               Best  regards

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

1,759件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @fanlikang,

Can you read the DGU registers?

Which GDU error flags do you see?

Registers GDUDSE, GDUF.

 

Thanks,

BR, Daniel

0 件の賞賛
返信

1,755件の閲覧回数
fanlikang
Contributor II
Glad to receive your reply.
I checked my register and found that errors were reported in both places.GDUDSE=0X20 GDUF=0X08.
Please help to deal with this problem.
Thanks
0 件の賞賛
返信

1,743件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @fanlikang,

I need mention that the demo is provided "as is" and we don't support custom changed in the demo.

Anyway, the GDU detects desaturation error on LS[1].

The desaturation error detection is described in the RM, Section 18.4.5 Desaturation Error.

It also detects an overcurrent condition, which is likely caused by the desaturation error.

RM, Section 18.4.8 Current Sense Amplifier and Overcurrent Comparator.

 

Regards,

Daniel

0 件の賞賛
返信

1,733件の閲覧回数
fanlikang
Contributor II
0 件の賞賛
返信