STM32F030CC Pin output Reaction time
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-09-09 1:40 PM
Hi!
A PWM signal with a frequency of 100 kHz comes to the input of the microcontroller. Then, when the pulse falls, an interruption is triggered, which should change the state of one of the output PINs. And now I am observing a situation where the signal has arrived, but the reaction to the change in state takes about 3 µs, which is quite a lot for a frequency of 100 kHz.
There is nothing else in the code itself, only a response to interruptions, which takes about 3 µs from the moment of the interruption itself.
Labels:
- Labels:
-
GPIO-EXTI
-
Interrupt
-
STM32F0 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-09-10 1:11 AM
Enable compiler optimization.
Don't use Cube/HAL.
Run the ISR from RAM.
JW
