cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible the create an interrupt with the ST-Link V2 during runtime?

Kmax18
Senior

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Paul1
Lead

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

View solution in original post

2 REPLIES 2
Paul1
Lead

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

Thank you for your response, and for suggesting a UART/USB based interface. I found good resources and started coding...