Skip to main content
Charlie CHEN
Associate III
Apr 25, 2019 9:28 AM UTC
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
Apr 25, 2019 12:27 PM UTC

Check if you have an Interrupt signal on the pin?

Charlie CHEN
Associate III
Apr 26, 2019 12:47 AM UTC

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

Slh
Senior
Apr 26, 2019 8:15 AM UTC

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

Charlie CHEN
Associate III
May 17, 2019 12:53 AM UTC

Yes,but it did not work.

Or is there any suggestion?

Martin KJELDSEN
Principal III
May 16, 2019 12:15 PM UTC

Hi @Charlie CHEN​,

Did you manage to get anywhere on this issue?

/Martin

Charlie CHEN
Associate III
May 17, 2019 12:52 AM UTC

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 !