The GDU module can not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The GDU module can not work

851 Views
ameliafeng
Contributor II

Hello,

 

I am using a PC9S12ZVML12MKH (maskset:0N06E)for a sensorless BLDC application.

When I downloaded the code into MCU and did single-step debugging,the initGDU program cannot work and all of GDU registers cannot be changed. But when the code is downloaded into development board ( S12ZVML-MINIBRD), the GDU registers can be changed. I cannot find some errors in my designed circuit board.

Have you encountered this situation?

Can you give me some advice about it?

Regard.

Labels (1)
4 Replies

658 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

The 0N06E maskset is a prototype. It is probably not compatible with the production versions.

I see S12ZVM_RM_v0.09 has a different register map.

pastedImage_1.png

In comparison to the current version v2.11.

pastedImage_2.png

Regards,

Daniel 

658 Views
ameliafeng
Contributor II

Now,I am using the reference code of S12ZVML-MINIBRD: S12 MagniV S12ZVM Mini Board for Sensorless Motor Control. The maskset is 1N95G.

Where can I download the reference code of maskset N06E. I did not find the way to change register map.

0 Kudos

658 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
Unfortunately, we don’t have any reference code for this maskset.
But because the MCUs are pin-to-pin compatible, the best option would be to order new samples and replace the old MCU.

Regards,
Daniel

0 Kudos

658 Views
ameliafeng
Contributor II

I think different register map is the reason why the GDU cannot work.But I cannot find the way to change the register map through changing .h or .c in the project. How should I do to change the register map?
Thanks a lot.

0 Kudos