EVENTOUT alternate function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-24 5:52 AM
Hello,
What alternative function EVENTOUT is on STM32G030?
It is being mentioned only on pin assignment table without any explanation. At least I could not find any.
- Labels:
-
GPIO-EXTI
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-26 12:58 PM
There is an ARM instruction SEV that will pulse a pin configured as EVENTOUT. For gcc you may use
__asm__ volatile ("sev": : :"memory");
to generate that pulse. Besides its original purpose for multi-core environments, SEV comes handy when you want to real-time monitor the execution of some source code line by a scope/LA. It is implemented like a NOP and the pulse takes exactly 1 clock cycle and no delay, so its faster then GPIO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-09 5:16 AM
I know this is an ancient thread, but it still seems that ST have not documented it anywhere. :unamused_face:
@KnarfB​ "There is an ARM instruction SEV that will pulse a pin configured as EVENTOUT"
Is there a way to specify which pin?
Or does it just pulse every pin configured as EVENTOUT?
ARM docs no help:
https://developer.arm.com/documentation/dui0497/a/CHDJIEAG
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-09 5:23 AM
The instruction has no parameters. All pins configured as EVENTOUT shall be triggered, but I haven't made extensive tests.
hth
KnarfB
