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.
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.
In comparison to the current version v2.11.
Regards,
Daniel
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.
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
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.