Error about GDU

cancel
Showing results for 
Search instead for 
Did you mean: 

Error about GDU

136 Views
fanlikang
Contributor I

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 Kudos
4 Replies

127 Views
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 Kudos

123 Views
fanlikang
Contributor I
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 Kudos

111 Views
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 Kudos

101 Views
fanlikang
Contributor I
0 Kudos