2025-01-30 2:25 AM - last edited on 2025-02-28 3:06 AM by Andrew Neil
Hi everyone,
I'm at the start to build up my transceiver based on the STM32WL33 with the Nucleo-board NUCLEO-WL33CC1 and the Mainboard MB1801. I want to use the IOC in the Cube IDE.
If you are trying to send the raw HF Data to a GPIO Pin:
Change
__HAL_MRSUBG_SET_RX_MODE(RX_NORMAL);
to
__HAL_MRSUBG_SET_RX_MODE(RX_DIRECT_GPIO);
add
/*Configure GPIO pin : PB1 */
GPIO_InitStruct.Pin = GPIO_PIN_1;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF4_SUBG;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
and measure at PB1
(it took me some time to get this solution, maybe it helps someone out there)
Further information
find PCKT_CTRL register (Page 878,879) and read RX_MODE
happy developing
Edited to apply proper code formatting; please see How to insert source code for future reference.
Solved! Go to Solution.
2025-02-28 2:35 AM
Hello @ChrisAtWork
We really appreciate your contribution. I wild just add that more helpful details are available on the chapter 29 of the RM0511. I will close this post just to give it more visibility in case others want to do the same.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-02-28 2:35 AM
Hello @ChrisAtWork
We really appreciate your contribution. I wild just add that more helpful details are available on the chapter 29 of the RM0511. I will close this post just to give it more visibility in case others want to do the same.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.