Replies: 3 comments 10 replies
-
STM32WL contains SX126x which does support AFSK transmissions. I don't know what exactly you want to do with it, but it should work. On a side note, is there a specific piece of documentation that gave you the impression that this is not possible? If so, let us know and we will fix it. |
Beta Was this translation helpful? Give feedback.
-
Here is my new question regarding the documentation of accessing DIO2 on the STM32WLE5, and their response this morning: Hello, Looking through the documentation, it sounds like this solution is meant for the reading of DIO2, but it’s not clear if I can use it to write to DIO2, which is what I am trying to do. Can I write to DIO2 using these methods? Thank you, Walter Case#: 00229668 Hi Walter, to read a DIO, you must first be able to set the DIO. If you are using a built in driver then, much of the DIO write and read is done via the radio_driver.c or radio.c files. In the documentation that I provided, slides 16, 17, 18 show how to write the DIO in order that it can then be read or directed to a GPIO pin for detailed review. Slides 19 to 26 provide the order and procedure on how to write the DIO's, set the DIO function to a GPIO pin and at the same time read the status for project requirements. Also, a direct way, at the register level is as follows: CmdBuf[0] = 0x03; // clear all 10 irq bits : xxxxxx11 11111111 (MSB) HAL_NVIC_SetPriority(SUBGHZ_Radio_IRQn, 3, 0); // SUBGHZ Radio Interrupt CmdBuf[0] = (uint8_t)((IRQ_RADIO_NONE>>8) & 0x00FF); // MSB Global IRQ mask Please refer to the reference manual, RM0453 for further information. In my slides, I have summarized the details of the RM and also provided working functions on how to process the DIO's. I hope this helps. ST MCU Support Please visit ST Customer Support Portal for further information. Best regards, |
Beta Was this translation helpful? Give feedback.
-
And a recent follow up about Arduino: Case#: 00229668 Please visit ST Customer Support Portal for further information. Best regards, |
Beta Was this translation helpful? Give feedback.
-
I was wondering if the STM32WL supports AFSK. From what I can tell, it doesn't due to the lack of DIO pins. Is this correct?
Thanks, Adam
Beta Was this translation helpful? Give feedback.
All reactions