STM32CubeIDE Version 1.5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 11:14 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 6:55 AM
That looks like simple PWM - use PWM mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 2:27 PM
Your question is not clear. What I/O? What do you mean by preview?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 1:04 AM
I am working on STM32F746G-DISCO. STM32F746NGH6 processor. I am using STM32CubeIDE version 1.5.0. I am using debug. For example, I set the input D2. Where in the STM32CubeIDE program I can observe the state 0 or 1. The same for the output signals. I / O are input or output pins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 2:14 AM
Look into GPIOx->IDR register in debug SFRs weiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 3:35 AM
Well.
1. I give a name to the pin, eg INTPUT1. Where can I find the corresponding register in SFRs?
2. I set TIM3 to generate pulses. Can it be set so that the first impulse appears after a set period?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 4:01 AM
- You have to look which pin is yours INPUT1 (like PB12) and look into coresponding register (there GPIOB->IDR) at corresponding bit (there 12).
- Sorry, i am not sure that i understand what waveform do you want to generate. If you can, plot as simple sketch :) (but whatever it is, probably yes, bacause timers are versatile)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 5:24 AM
ad.1 OK
ad.2 sketch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 6:55 AM
That looks like simple PWM - use PWM mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 6:58 AM
That looks like simple PWM - use PWM mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 7:00 AM
I will check.
