Can I use the Slave Selects more than 4 existing ones in SPI of Flexcomm?

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

Can I use the Slave Selects more than 4 existing ones in SPI of Flexcomm?

ソリューションへジャンプ
1,650件の閲覧回数
toipaz
Contributor III

We designed the circuit and connected eight SPI slaves to one SPI bus.
(Of course, each CS is connected by each GPIO respectively.)

I just checked, and Flexcomm supports up to four Slave select...
When I looked at the SDK code, there was no way to control CS using GPIO.

When using SPI of Flexcomm, can I use a separate GPIO to use Slave Select more than four existing ones?

タグ(1)
0 件の賞賛
返信
1 解決策
1,621件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @toipaz,

This should be possible, only you would need to be careful about the timing for the SSEL.

Best Regards,

Alexis Andalon

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,622件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @toipaz,

This should be possible, only you would need to be careful about the timing for the SSEL.

Best Regards,

Alexis Andalon

0 件の賞賛
返信
1,617件の閲覧回数
toipaz
Contributor III

thanks for your reply.

Yes. I'm trying it.

I'm asking the next question because there seems to be a timing issue.

https://community.nxp.com/t5/LPC-Microcontrollers/Using-SPI-of-Flexcomm-with-GPIO-CS-in-LPC54608-the...

 

0 件の賞賛
返信
1,647件の閲覧回数
toipaz
Contributor III

1. Set the pin mux to GPIO without SSEL0~SSEL3 func.
2. SPI driver code controls each CS using GPIO before and after communication.
Is it possible to use this method?

0 件の賞賛
返信