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,387件の閲覧回数
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,378件の閲覧回数
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,306件の閲覧回数
hanalannister
Contributor I

hi nice and appreciate your information. Thanks

Milestone

 

0 件の賞賛
返信
2,341件の閲覧回数
jinu_mohan
Contributor I

Hi kerry,

The pins are working now thanks for your support.

@kerryzhou 

0 件の賞賛
返信
2,331件の閲覧回数
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,371件の閲覧回数
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,369件の閲覧回数
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,365件の閲覧回数
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,361件の閲覧回数
jinu_mohan
Contributor I

ok thanks for the update i will check that alternative methods 

0 件の賞賛
返信
2,348件の閲覧回数
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,379件の閲覧回数
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 件の賞賛
返信