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

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

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

611件の閲覧回数
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 件の賞賛
6 返答(返信)

557件の閲覧回数
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 件の賞賛

551件の閲覧回数
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 件の賞賛

525件の閲覧回数
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 件の賞賛

505件の閲覧回数
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 件の賞賛

471件の閲覧回数
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 件の賞賛

546件の閲覧回数
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 件の賞賛