S32K146 of SPI send by SDK failed ๐Ÿ˜ฅ

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

S32K146 of SPI send by SDK failed ๐Ÿ˜ฅ

930 Views
mrsong
Contributor II

i used spi through SDK to send data but failed if the txbuffer was set large(such as 600 bytes) and rxbuffer was set NULL.  and if the txbuffer was set smaller(such as 2 bytes) ans rxbuffer was set NULL ,it's valid . here's how i tired to send it

โ‘     . failed (Txbuffer set 600 bytes ,and rxbuffer set NULL)

 pastedImage_2.png

โ‘ก    . successed (Txbuffer set 2 bytes ,and rxbuffer set NULL)

pastedImage_3.png

โ‘ข    . successed (Txbuffer set 600 bytes ,and rxbuffer set 600 Bytes)

pastedImage_4.png

i saw the SDK said "receiveBuffer Pointer to the buffer where the received bytes are stored. If you pass NULL
* for this parameter, the received bytes are ignored" and i don't need the rxbuffer either ,if i use step3 (โ‘ข) to send ,this will take up a lot of memory .

pastedImage_5.png

hope to resolve this question soon . 

Best wishes .

Labels (1)
3 Replies

778 Views
nxf25521
NXP Employee
NXP Employee

Hi Mr Song ,
- Could you please provide me more detail about SDK release version which you used ?

0 Kudos

778 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

Thank you for the report.

This issue is investigated by the SDK team.

If I receive more details from them I will inform you.

Best regards,

Diana

0 Kudos

778 Views
347996379
Contributor III

Hi๏ผŒDiana

Has the problem been solved?What causes it?

0 Kudos