Hello,
I got problem with nRF24l01 modul. The SPI communications works, but when I send payload (I only use transmmiter)I check the STATUS register and the value should be 0x10 for max retransmit payload, but it always set on 0x0E. What can be the problem ? Iam using KL25Z
Thanks
Code is below
解決済! 解決策の投稿を見る。
Hi customer,
When you send payload, whether the SPI bus wave received data is the same as the KL25 code?
If yes, it means the slave feedback is wrong, please check the SPI bus wave.
If the SPI bus wave data is correct, then it should be the KL25 code's problem, your master need to select same SPI mode, CHPA and CPOL as your slave.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi customer,
When you send payload, whether the SPI bus wave received data is the same as the KL25 code?
If yes, it means the slave feedback is wrong, please check the SPI bus wave.
If the SPI bus wave data is correct, then it should be the KL25 code's problem, your master need to select same SPI mode, CHPA and CPOL as your slave.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, Kerry
Yes i change CPHA and CPOL and it works :smileyhappy:
Thank you so much
Hi h h,
That's very good!
If your problem is solved, please help me mark the correct answer, just to close this case, thank you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------