MIMXRT1060-EVK: Peripherals setting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MIMXRT1060-EVK: Peripherals setting

跳至解决方案
1,442 次查看
kenji
Contributor IV

Hi All.

I want to drive BLDC motor using TI's motor driver.
And TI's motor driver needs to setup via SPI.

But MIMXRT1060-EVK's Arduino interface, SPI and PWM use the same pin. So I can't drive the motor driver as default board connection.

kenji_0-1624867526540.png

Therefore, I would like to remove the resistance of the boot mode setting and output the PWM2 signal. Someone knows if there is any problem?

I’m using "evkmimxrt1060_mc_pmsm" sample demo code, and on it,  it looks not read the boot mode pins.

I want to know the effect in case remove the resistance of the boot mode pin.

kenji_0-1624867747356.pngkenji_1-1624867762383.png

 

0 项奖励
回复
1 解答
1,433 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kenji 

You are welcome!

If your question is solved, please help me to mark the correct answer, just to close this case.

Any new questions, welcome to create the new case.

Best Regards,

Kerry

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,437 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kenji 

    BOOT_MODE pin will determine your boot mode during the reset, so I don't recommend to remove the BOOT_MODE pin pull up or pull down, it will influence the boot mode after you do the reset.

    About the J24 SPI and the PWM conflict, please check the RT1060 reference manual, you can find:

kerryzhou_0-1624874262758.png

kerryzhou_1-1624874301975.png

LPSPI and FLEXPWM has a lot of pins, you can select other pins which is not conflict, not just use J24 pins.

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

kerry

 

 

1,435 次查看
kenji
Contributor IV

Hi kerryzohou-san

 

Thank you for the information!

I will use another pins.

0 项奖励
回复
1,434 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kenji 

You are welcome!

If your question is solved, please help me to mark the correct answer, just to close this case.

Any new questions, welcome to create the new case.

Best Regards,

Kerry

0 项奖励
回复