Example for GPIO control using DMA and PWM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-16 8:42 AM - edited ‎2023-11-16 8:44 AM
I want to change the DMA memory according to the PWM signal and change the GPIO pin to turn on/off automatically based DMA memory information.
Are there any good examples of this?
Solved! Go to Solution.
- Labels:
-
STM32WB series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-16 10:59 AM
It was in the top-10 search results "GPIO DMA" on this board:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-16 8:48 AM
Hello @KKIM.6,
Could you provide more details maybe?
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
‎2023-11-16 9:00 AM
My microcontroller has 48 GPIO pins and I want to turn on and off each GPIO pin when 1 MHz PWM signal.
Only One GPIO pin should be turned on once and the other GPIO pin should be turned off.
The reason I need to use DMA is that, In the case of HAL code, the on/off function speed of GPIO is around 1 ms not 1 us (1 MHz).
So, I want to assign on/off of GPIO to a DMA and the PWM value change the DMA of GPIO pin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-16 10:59 AM
It was in the top-10 search results "GPIO DMA" on this board:
