2019-04-25 02:28 AM
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
Interrupt function in C++ file
This is the detecting pin function
Last is my test interrupt is break in or not.
I tried a lot but it didn`t work.
Is there any one can help?
Thank you!
2019-04-25 05:27 AM
Check if you have an Interrupt signal on the pin?
2019-04-25 05:47 PM
Thanks for your reply,but I have no Oscilloscope beside, is there any method can figure it out?
2019-04-26 01:15 AM
Maybe with a LED and Resistor can you see the signal.
2019-05-16 05:15 AM
Hi @Charlie CHEN,
Did you manage to get anywhere on this issue?
/Martin
2019-05-16 05:52 PM
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 !
2019-05-16 05:53 PM
Yes,but it did not work.
Or is there any suggestion?
2019-05-20 02:16 AM
Hi Hans,
Just to be sure: You have no oscilloscope, right? You're still not receiving an interrupt as expected?
/Martin
2019-05-20 02:28 AM
Yes I have no oscilloscope beside.
The interrupt function should be set the breakpoint in Debug Mode then run the code ,and it can go in to interrupt Subprogram.
If I do not set breakpointm, it will not go in there.
2019-05-20 03:32 AM
And if you do set one, it does - I suppose.