2021-09-24 05: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.
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.
2023-06-09 05: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:
2023-06-09 05:23 AM
The instruction has no parameters. All pins configured as EVENTOUT shall be triggered, but I haven't made extensive tests.
hth
KnarfB