Error about GDU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Error about GDU

703 次查看
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 回复数

694 次查看
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 项奖励

690 次查看
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 项奖励

678 次查看
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 项奖励

668 次查看
fanlikang
Contributor II
0 项奖励