Can't turn on the LSDR0/1 of S12ZVR16!

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

Can't turn on the LSDR0/1 of S12ZVR16!

495件の閲覧回数
alanwu
Contributor I

The customer of BYD can't turn on the LSDR0/1 of S12ZVR16 by use the following codes.
But creat a new project for S12ZVR32, It can turn on LSDR0/1 by use the following codes
and it run on S12VR32EVB bought from NXP.
If we replace S12ZVR32 on S12VR32EVB with S12ZVR16 , The PWM output function is normal, t also can't turn on the LSDR0/1 of S12ZVR16 by use the following codes.
It's very strange.

The S12ZVR16 is free samples by NXP, I think it should be all right.

/* Enable LSx power supply */
LSCR |= LSCR_LSE0_MASK;
LSCR |= LSCR_LSE1_MASK;

/* Enable LSx Over Current interrupt */
LSIE |= LSIE_LSOCIE_MASK;

//turn on LSDR0
LSDR |= LSDR_LSDR0_MASK;

ラベル(1)
0 件の賞賛
返信
1 返信

433件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Alan,

I would like to check a few questions:
I assume you have maskset on both MCUs N11N, right?
Could you please check the register setting in the CodeWarrior (checked if registers are set correctly)? 
Did you try to create a project directly for the S12VR16?

Also, in the reference manual we can see the note below:
"After enabling the low-side driver (write “1” to LSEx) a settling
time tLS_settling is required before the low-side driver is allowed
to be turned on (e.g. by writing LSDRx bits)."

Thank you.
I hope it helps.

Best Regards,

Diana

0 件の賞賛
返信