How to receive data of SPI slave mode

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

How to receive data of SPI slave mode

675件の閲覧回数
longtengqiufeng1
Contributor III

Hi,

I want to use two S32G-VNP-GLDBOX for SPI master/slave communication,but I have the problem of SPI slave mode .

I created SPI master demo and changed the master to slave in the configuration , and I use the pin PTA7  to notify the Slave device like below picture show:

longtengqiufeng1_0-1670918116291.png

 

But I still can't recieve the data from RxBuffer , so What did I get wrong ? And how to modify it demo ,thank you!

 

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

657件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Could you please tell us which RTD version and S32DS version are you using? For us to verify compatibilities.

In the meanwhile, we will take a look into the modifications needed for the example to work in slave mode.

Please, let us know.

0 件の賞賛
返信

631件の閲覧回数
longtengqiufeng1
Contributor III

Thank you for your reply!

I use  SW32G_RTD_4.4_3.0.2_HF01_DS and S32DS v3.4 , now I can send and recieve data from SPI MASTER by SPI SLAVE demo. But I still don't kown how to update the content of send data ....

If I want to change the data to master device during tranmiting , what should  I do?

0 件の賞賛
返信

625件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

It seems this thread is similar to the one shown below.

Re: How to change varaibles in array when sending ... - NXP Community

If so, please keep an eye for an update on this specific topic.

Please, let us know.

0 件の賞賛
返信