LPSPI3 chip-select need to assign to another pin in sln-local2-iot

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

LPSPI3 chip-select need to assign to another pin in sln-local2-iot

跳至解决方案
2,518 次查看
jinu_mohan
Contributor I

I'm using LSPI3 on the SLN-Local-IOT2 board. we are able to read all data from SPI using PCS0 pin(LPSPI3_PCS0 CSI_D05 - GPIO_AD_B1_12) for chipselec 1 PCS1 i need to use GPIO_EMC_29 i tried to change in MCUxpresso ide but tool is not allowing to change it. Is there any method to change it?

 

LSPI3.png

@kerryzhou 

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

Hi @jinu_mohan 

  You mean SLN-LOCAL2-IOT, the chip is RT106S, right?

  Please check the LPSPI3, your mentioned GPIO_EMC_29 is not the SPI3 PCS chips.

kerryzhou_1-1639552718292.png

 

That's why you meet issues.

Best Regards,

Kerry

 

在原帖中查看解决方案

0 项奖励
回复
9 回复数
2,437 次查看
hanalannister
Contributor I

hi nice and appreciate your information. Thanks

Milestone

 

0 项奖励
回复
2,472 次查看
jinu_mohan
Contributor I

Hi kerry,

The pins are working now thanks for your support.

@kerryzhou 

0 项奖励
回复
2,462 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jinu_mohan 

   Thanks for your information.  

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

   Any new issues in the future, welcome to create the new question post.

 

Best Regards,

Kerry

0 项奖励
回复
2,502 次查看
jinu_mohan
Contributor I

hi kerry thanks for the update.

but due to some hardware constrains in sln-local-iot i couldn't use the  default LPSPI3 PCS1 - GPIO-AD-B0-04 PCS2 - GPIO-AD-B0-05 PCS2 - GPIO-AD-B0-06 i need to use multiple chipselect option is there any alternative method can we use.

@kerryzhou 

0 项奖励
回复
2,500 次查看
jinu_mohan
Contributor I

LPSPI3 PCS1 - GPIO-AD-B0-04 PCS2 - GPIO-AD-B0-05 PCS2 - GPIO-AD-B0-06  these pins are used as boot pins and jtag can i use these pins for chipselect?

 

0 项奖励
回复
2,496 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jinu_mohan ,

   I mean, the LPSPI3 IP related CS is the above list. 

  You are right, it also multiple with other IP, but it can be used, to the boot, it is using during POR boot and reset boot, but after boot, you can use it.

   If you can't use the LPSPI3 IP hardware CS pin, I think you can use the other pin, use the GPIO function as the CS pin, but you need to add the GPIO control code. Eg, before you send the SPI data, CS GPOI pull low, after finished, pull high, this is also the normal used case, then you can use any other pin, just configure it as the GPIO is enough.

 

Wish it helps you!

Best Regards,

Kerry

0 项奖励
回复
2,492 次查看
jinu_mohan
Contributor I

ok thanks for the update i will check that alternative methods 

0 项奖励
回复
2,479 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jinu_mohan 

You are welcome!

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

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

Any new issues, welcome to create the new case.

Best Regards,

Kerry

0 项奖励
回复
2,510 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jinu_mohan 

  You mean SLN-LOCAL2-IOT, the chip is RT106S, right?

  Please check the LPSPI3, your mentioned GPIO_EMC_29 is not the SPI3 PCS chips.

kerryzhou_1-1639552718292.png

 

That's why you meet issues.

Best Regards,

Kerry

 

0 项奖励
回复