2021-09-16 07:48 AM
I am using the STM32411CC MCU for reading a signal from a GPIO IDR, process it, and write it to a GPIO ODR. An interrupt routine is a suitable method for signal processing on demand. Question: how can the host computer create an interrupt during runtime if no GPIO pins are available? Is it possible to create a software interrupt with the ST-Link V2 during runtime? Thank you for your feedback.
Solved! Go to Solution.
2021-09-16 08:17 AM
Doubtful but if you have a UART the STLink 14pin cable supports it, and the Host could send a UART char to trigger an interrupt, or a variety of characters to trigger different actions. Very useful for development.
Also some STM 32 support USB, and a simple USB-C cable can be connected as a VCP to allow diagnostics similar to UART.
Paul
2021-09-16 08:17 AM
Doubtful but if you have a UART the STLink 14pin cable supports it, and the Host could send a UART char to trigger an interrupt, or a variety of characters to trigger different actions. Very useful for development.
Also some STM 32 support USB, and a simple USB-C cable can be connected as a VCP to allow diagnostics similar to UART.
Paul
2021-09-17 06:31 AM
Thank you for your response, and for suggesting a UART/USB based interface. I found good resources and started coding...