Skip to main content
Associate
April 29, 2024
Question

CRC reception error in FSK reception on nucleo WL55JC1 when payload length changes

  • April 29, 2024
  • 3 replies
  • 2374 views

Hello community,

I've developing a set of products based on MCU STM32WLE5.

The devices communicates using FSK modulation and a variable payload.

To test the system I've bought two NUCLEO WL55JC1 and modifying the PER examples I've prepared two project, one for the master and one for the slave. Each device transmit and reply.

What I've seen is that when I press the button and change the payload length, the transmission seems to be ok, but the reception fails with a CRC error, as it would expect a message with a length equals to the transmitted message. The next messages then are transmitted and received without any error.

I attach the screenshot of serial logs and the two projects:

  • Screenshot 2024-04-23 103703.png: screenshot of serial logs (master on the left, slave on the right);
  • SubGHz_Phy_Per_Master.7z: compressed project of master device;
  • SubGHz_Phy_Per_Slave.7z: compressed project of slave device.

I cannot understand what is wrong in my projects.

Any help would be appreciated.

Thanks

Roberto

3 replies

Associate
April 29, 2024

I attached two more screenshots:

  • Screenshot 2024-04-23 103647.png: full screenshot of serial logs when error occurs (master on the left, slave on the right);
  • Screenshot 2024-04-23 103425.png: full screenshot of serial logs when communication is ok (master on the left, slave on the right).
STTwo-32
Technical Moderator
May 30, 2024

Hello @roberto-chiarini 

I've reported this internally to the Concerned team for deeper analyze of this behavior (under internal ticket number 182942).

Best Regards.

STTwo-32 

Associate II
August 23, 2024

Was this issue ever resolved? I have the same problem.  Some resources would be helpful. Thanks.

STTwo-32
Technical Moderator
November 15, 2024

Hello @roberto-chiarini 

when switching from Rx to Tx or viceversa, a SetTxConfig() or SetRxConfig() is needed in order to have the right registers configuration. So, run the Radio.RadioSetTxGenericConfig() before the Radio.Send() and the Radio.RadioSetRxGenericConfig() before the Radio.Rx() if the radio was in RX or TX state respectively. 

Best Regards.

STTwo-32