How to use the SPI module send an array in MBD?

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

How to use the SPI module send an array in MBD?

1,763件の閲覧回数
eautopower
Contributor IV

 I want to use SPI communications to drive peripherals, but I don't know how to send an array using the SPI model in MBD, which is designed to ensure that CS cannot be pulled high before the array element is sent end。

0 件の賞賛
返信
3 返答(返信)

1,470件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hello, 

Please check this lecture: https://community.nxp.com/thread/453727 

It is exactly about SPI communications and it includes an example as well.

Hope this helps!

Daniel

0 件の賞賛
返信

1,470件の閲覧回数
eautopower
Contributor IV

 popa:

   I saw the introduction of this video, this is every one byte, CS will pull up, but our peripherals are not allowed, and can only send all orders to pull up

0 件の賞賛
返信

1,470件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hi, 

I'm afraid i do not understand your concern.

Are you interested to know how to send more than 1 byte in a single shot over SPI ? or in how to send an entire vector - element by element over the SPI ?

Can you describe a little bit more about your application. Perhaps we can figure out a way to do that.

Thank you!

Daniel

0 件の賞賛
返信