Need help in porting BLDC_HALL code for XMC1404

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User20200
Level 1
Level 1
Hi,
I'm in the process of porting the BLDC_HALL code for XMC13 to our custom XMC1404 board.
Till now I have changed the IRQ_type in XMC1400.h and CCU8 peripheral setting: in compare match setting changed invert_out0,1,2 etc to selector_out0.
I tried to compile the code and it is compiling without issue. Has anyone attempted to port the BLDC code to XMC14?

Also why is XMC1400 not fully supported by infineon. In DAVE apps POSIF section is completely missing.
0 Likes
1 Reply
RiSa_4715426
Level 1
Level 1
5 sign-ins Welcome! First question asked

I recently ported the BLDC_SCALAR_HALL_XMC13 sample app to the XMC1400 Boot Kit, and it appears to work fine with the motor from the Motor Control Application Kit.

The only edits I had to do were the ones described above, and the symbols MOTOR0_BLDC_SCALAR_CPU_FREQ and MOTOR0_BLDC_SCALAR_CCU_FREQ.

0 Likes