S32k144 SPI Transfer and Receive.

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

S32k144 SPI Transfer and Receive.

Jump to solution
1,353 Views
akhilranga
Contributor IV

Hello there, I tried different examples like FlexIO SPI from RTM SDK and etc.

But that was not helpfull for my case. 

I am trying to send the following message frame as a master to the slave. 

uint8_t Inventory_cmd[5] = {0x03,0x2F,0x01,0x2D}

After the slave receives this message it makes its IRQ pin high then this Hight state of IRQ pin is acknowledged by the master and it will send the remaining dummy bytes to completly receive the responce frame. So, please help me to identify which SPI transfer function and recive function will help me to acheive this. Please help  

@JRoberto 

 

#S32k144#

#S32k144EVB#

#LPSPI#

 

0 Kudos
1 Solution
1,283 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @akhilranga 

Sorry for any inconvenience this may cause, but there is no example code with the functionality you are looking for, the available ones are found with the SDK or with RTD.

 

B.R.

VaneB

View solution in original post

0 Kudos
3 Replies
1,284 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @akhilranga 

Sorry for any inconvenience this may cause, but there is no example code with the functionality you are looking for, the available ones are found with the SDK or with RTD.

 

B.R.

VaneB

0 Kudos
1,311 Views
JRoberto
NXP TechSupport
NXP TechSupport

Hello @akhilranga 

On what platform are youu working? If I understand well, you are not able to send messages?

Best Regards!

0 Kudos
1,295 Views
akhilranga
Contributor IV

I am working on S32k144 EVB. And yes @JRoberto 

I need help in successfullyu send that command from Master to slave and receive a information string from slave as acknowledgement. What is the best example to use both send and receive in SPI. Please recomend me if there is any. 

Thank You

0 Kudos