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

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

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

Jump to solution
1,669 Views
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 Kudos
1 Solution
1,660 Views
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

 

View solution in original post

0 Kudos
9 Replies
1,588 Views
hanalannister
Contributor I

hi nice and appreciate your information. Thanks

Milestone

 

0 Kudos
1,623 Views
jinu_mohan
Contributor I

Hi kerry,

The pins are working now thanks for your support.

@kerryzhou 

0 Kudos
1,613 Views
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 Kudos
1,653 Views
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 Kudos
1,651 Views
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 Kudos
1,647 Views
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 Kudos
1,643 Views
jinu_mohan
Contributor I

ok thanks for the update i will check that alternative methods 

0 Kudos
1,630 Views
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 Kudos
1,661 Views
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 Kudos