S32K146 of SPI send by SDK failed 😥

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

S32K146 of SPI send by SDK failed 😥

1,636件の閲覧回数
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 .

ラベル(1)
3 返答(返信)

1,484件の閲覧回数
nxf25521
NXP Employee
NXP Employee

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

0 件の賞賛
返信

1,484件の閲覧回数
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 件の賞賛
返信

1,484件の閲覧回数
347996379
Contributor III

Hi,Diana

Has the problem been solved?What causes it?

0 件の賞賛
返信