2024-07-16 08:40 AM
I have a problem with receiving long packets (above 255 bytes) in radio FSK. Document 'an5687-longpacket-operation-with-stm32cubewl-stmicroelectronics.pdf' describes how to send and receive long packets (greater than 255 bytes). I've implemented example project 'SubGHz_Phy_Per'. I receive only errors 'OnRxError', in attachment files.I use MCU STM32WLE5CCU6 (revison Y). Is STM32WLE5CCU6 can support handling long frames (> 255 bytes)? Document wrote on page 13 "In subghz_phy_app.c, define APP_LONG_PACKET to 1 and make sure the die version is revision Y." In example project is wrote "Tx Long packet enable(payload can be greater than 255bytes. Available on stm32wl revision Y)". My MCU STM32WLE5CCU6 is from series STM32WLE.
Solved! Go to Solution.
2024-07-19 11:12 AM
Now it working but I can send long frames up to 400 bytes. Above 400 bytes i have OnRxError.
It is problem with receive more than 2 chunks of packet.
Logs:
27s625:offset= 151, size=0, remaining=97,
27s646:RxTxPldLen=0x96,
27s647:RxAddrPtr=0x97,
27s648:offset= 151, size=0, remaining=97,
27s669:RxTxPldLen=0x96,
27s670:RxAddrPtr=0x97,
27s671:offset= 151, size=0, remaining=97,
27s693:RxTxPldLen=0x96,
27s694:RxAddrPtr=0x97,
27s695:offset= 151, size=0, remaining=97,
27s716:RxTxPldLen=0x96,
27s717:RxAddrPtr=0x97,
27s718:offset= 151, size=0, remaining=97,
27s740:RxTxPldLen=0x96,
27s741:RxAddrPtr=0x97,
27s742:offset= 151, size=0, remaining=97,
27s750:SYNC OK
27s752:PayloadLength=32580,
27s754:OnRxError
2024-07-19 11:12 AM
Now it working but I can send long frames up to 400 bytes. Above 400 bytes i have OnRxError.
It is problem with receive more than 2 chunks of packet.
Logs:
27s625:offset= 151, size=0, remaining=97,
27s646:RxTxPldLen=0x96,
27s647:RxAddrPtr=0x97,
27s648:offset= 151, size=0, remaining=97,
27s669:RxTxPldLen=0x96,
27s670:RxAddrPtr=0x97,
27s671:offset= 151, size=0, remaining=97,
27s693:RxTxPldLen=0x96,
27s694:RxAddrPtr=0x97,
27s695:offset= 151, size=0, remaining=97,
27s716:RxTxPldLen=0x96,
27s717:RxAddrPtr=0x97,
27s718:offset= 151, size=0, remaining=97,
27s740:RxTxPldLen=0x96,
27s741:RxAddrPtr=0x97,
27s742:offset= 151, size=0, remaining=97,
27s750:SYNC OK
27s752:PayloadLength=32580,
27s754:OnRxError
2024-07-20 03:25 AM
The issue is invalid. This problem has been resolved.