NXP's Bug in arch.h header file for EPWM's fault interrupt register's offset value (MC56F83xx)

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

NXP's Bug in arch.h header file for EPWM's fault interrupt register's offset value (MC56F83xx)

956 次查看
fasihahmed
Contributor IV

Hey,

Background:

I am porting my legacy code from DSC MC56F827xx to new DSC MC56F83xx.

One such is to port the same GCT's configurations to new PWM_A_ FaultCh1 module.

However I never receive a PWM fault interrupt when I have external faults occurring via linked GPIO pins. Although the same configurations work fine on old DSC.

fasihahmed_0-1610056100963.png

 

register pictures.PNG

Problem:

Further investigation reveals that there may be a possible bug in the new DSC's "arch.h" stand alone application code.

There is a mismatch between datasheet's PWM_A_FCTRL1 offset position to what is defined in the "arch.h"  source code. 

Please see the picture of attached data sheet and source code which reveals that they don't match their offset values. (Datasheet's register value CCh instead of source code's CAh).

We have tried to fix this by placing a dummy register to compensate for the missing register variable.

Can you verify this bug and suggest its possible solution?

pwm settings.PNG

 

@xiangjun_rong 

0 项奖励
2 回复数

927 次查看
johanpaul
Contributor I

HELLO THERE.! PAST FEW DAYS I WAS SEARCHING FOR COUPONS AND PROMOCODES THEN I FOUND nutaku code WHICH IS SELLING OVER 5000 COUPONS I THOUGHT I WILL HELP YOU THATS WHY I UPLOADING THE WEBSITE LINK AS WELL CHECK OUT HAPPY SHOPPING TOO

johanpaul
0 项奖励

944 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Fasih,

I think you are right. The eFlexPWM register address of MC56F83xxx has changed from that of MC56F827xx, but the arch.h has not changed accordingly.

I will contact the quickStart team for modification.

BR

XiangJun Rong

0 项奖励