Skip to main content
Charlie CHEN
Associate III
Question

Touch Interrupt Problem

Hi professors,

I am using STM32H743 with my development board,and I am trying to build a Interrupt for the touch function,codes are down below.

By the way, the code is generated by TouchGFX and Board STM32H743I_EVAL.

Pin defined

0690X000008AtMKQA0.png

Interrupt function in C++ file

0690X000008AtMyQAK.png

This is the detecting pin function0690X000008AtNNQA0.png

Last is my test interrupt is break in or not.0690X000008AtNSQA0.png

I tried a lot but it didn`t work.

Is there any one can help?

Thank you!

This topic has been closed for replies.

11 replies

Slh
Senior

Check if you have an Interrupt signal on the pin?

Charlie CHEN
Associate III

Thanks for your reply,but I have no Oscilloscope beside, is there any method can figure it out?

Slh
Senior

Maybe with a LED and Resistor can you see the signal.

Charlie CHEN
Associate III

Yes,but it did not work.

Or is there any suggestion?

Martin KJELDSEN
Principal III

Hi @Charlie CHEN​,

Did you manage to get anywhere on this issue?

/Martin

Charlie CHEN
Associate III

Hi @Martin KJELDSEN​ ,

Thanks for your reply!

Yes,I am trying to build it with interrupt function,but I face the problem is that in Debug Mode didn`t detect where I touch then run into my Interrupt function.

Is it make the wrong way about build the function?

I have search many method,but was`t solved.

Hope you can help me!

Appreciate that !