This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28075 - Button input question

Hello,

i am programming on a project and have to include these functions:

- 2 buttons which increase a counter

- 1 input signal which stops a while loop

- 1 input signal which is needed to calculate the speed of a vehicle

All these functions i want to realise with interrupts.

So first question is wheter it's a good idea to do it with interrupts?

The two buttons make an interrupt when they make low signal on GPIO.
 It works, but one push on the button makes several interrupts and not only one, so the counter increases several times and not only one time.

Same problem with the input signal to calculate the speed. I want to get the time between two interrupts and calculate the speed.

Another problem is that the input signal creates interrupts randomly, because there is no pulldown, so when i touch the cable with my finger it creates an interrrupt.

Does the F28075 has pulldown resistors, or is there any other way to solve the problem?

Many thanks for your help

Marius