FreeMaster can't detect the board after connecting the 12 V and the motor

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

FreeMaster can't detect the board after connecting the 12 V and the motor

589 Views
Ahmed_Abd_El-Hafez
Contributor III

Hello NXP team,

The FreeMaster can detect the board before connecting the 12V and the motor and runs fine. But when connecting the 12V and the motor, freemaster couldn't detect the board and gives this error. Does any one have an explanation for this?ce.PNG

 

  I am using board DEVKIT-MPC5744P and DEVKIT-MOTORGD  and BLDC motor.

0 Kudos
6 Replies

535 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have asked motor team for feedback here.

But do you have Freemaster SW loaded in your microcontroller?

Are you using default demo code, or your own?

Best regards,

Peter

0 Kudos

529 Views
Ahmed_Abd_El-Hafez
Contributor III

Hello peter,

Yes, and the board is detected by FreeMaster before connecting 12V and works fine.

The problem was solved when I removed these two blocks but I don't know why ISR causes this problem? Also the board is detected and runs but the motor doesn't spin. Any explanation ?

Thanks in advance.  

WhatsApp Image 2023-11-11 at 3.56.57 PM.jpegWhatsApp Image 2023-11-11 at 3.59.45 PM.jpeg

0 Kudos

503 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Best would be to check if in the code is function " frmstrpool"

Looks like first code was running as it is bare metal code. Second code is not running most probably because there is not freemaster interrupt or variable reading function.

Best regards,

Peter

0 Kudos

483 Views
Ahmed_Abd_El-Hafez
Contributor III

Hello Peter,

I didn't find function "frmstrpool" in the code. But I didn't understand the rest of your reply. Can you elaborate it more please.

Thank you in advance,

0 Kudos

449 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

In short, looks like you code is missing Freemaster part.

So connection with Freemaster is not possible while you do not have its code in micro.

Freemaster has its own Forum, where its author directly answers:

https://community.nxp.com/t5/FreeMASTER/bd-p/freemaster

best regards,

Peter

0 Kudos

524 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Hmm, I have no knowledge on the IST from GD3000, but I expect it is routine where the sensing is read out by SW as the motor does not spin.

Lets see if motor team can comment on it.

Best regards,

Peter

0 Kudos