Skip to main content
Charlie CHEN
Associate III
April 25, 2019
Question

Touch Interrupt Problem

  • April 25, 2019
  • 3 replies
  • 3297 views

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.

3 replies

Slh
Senior
April 25, 2019

Check if you have an Interrupt signal on the pin?

Charlie CHEN
Associate III
April 26, 2019

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

Slh
Senior
April 26, 2019

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

Charlie CHEN
Associate III
May 17, 2019

Yes,but it did not work.

Or is there any suggestion?

Martin KJELDSEN
Principal III
May 16, 2019

Hi @Charlie CHEN​,

Did you manage to get anywhere on this issue?

/Martin

Charlie CHEN
Associate III
May 17, 2019

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 !