STM32WLE5 SubGhz Debug - Alternate functions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-09 6:07 AM
Hi ,
in the Datasheet there are few interfaces which are marked as "alternate functions" for DEBUG_RF or DEBUG_SUBGHZSPI. ( Table 20 in the Datasheet)
But , I didnt find any info regarding what can I use those function for ?
for example - Can i access this SPI from external pins ?
is there additional Info regarding those debug capabilities and what each signal is used for ?
Thanks
Viola
Solved! Go to Solution.
- Labels:
-
STM32WL series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-10 12:23 AM
Exactly.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-09 7:52 AM - edited ‎2024-10-09 7:53 AM
Hello @viola
The user does not interact with the sub-GHz radio through a set of memory mapped registers. Rather, a dedicated internal SPI interface (the SUBGHZSPI) is used to communicate with the RF subsystem. So, when issues arise during firmware development. The user will need to debug the system. So, ST mapped some internal signals to GPIOs to facilitate the debug by just configuring those GPIOs to the dedicated Alternate function. Like this, you will be able to view some signals in real time throw an oscilloscope for example. Like that, debug will be as easy as possible.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-09 11:02 PM
Hello STTwo-32
In order to debug the internal sub-GHz radio , the only option is to use the SUBGHZSPI ? or , for example I can access the internal sub-GHz radio through one of the UART interfaces I use ?
Thank you,
Viola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-10 12:06 AM
Hello @viola
On the STM32WL MCUs. The SUBGHZ module is controled using the SUBGHZSPI. Thats why the SUBGHZSPI signals are mapped to some GPIOs. So you can visualise the state of this signal (NSS, MOSI, MISO,...) in real time. So, it is not exactly a debug but is signal an trame visualisation that will help you to know what is exactly happening will debuging your code (what the MCU send to the SUBGHZ module and what it receive...).
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-10 12:22 AM
so I cannot issue SPI transaction when the SUBGHZSPI siganls are mapped to the GPIOs ?
I can only probe the SPI signals ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-10 12:23 AM
Exactly.
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.
