You need to clear the interrupt cause of the timer component. Depending on the timer base (UDB or TCPWM) there are different APIs.
There is a Timer_ClearInterrupt() or a Timer_ReadStatus(), check datasheet of your component.
Willam Here is an example of the timer program it is running some where close to once a sec however I have not scoped it. It is also using a CY8C4247LQI-BLE-483 . It has a great example of the interrupt and clearing of it.
Many thanks guys, I added Timer_ClearInterrupt but still didn't work, but the example worked perfectly. Looked at my code a bit longer and threw it away and used the example. Excellent!
I am interfacing an ble to one led , i want to set blink the led for 1sec,it's blinking.but after 1 minute led stops working and pwm also starts working...
Even if i make my code to blink led for 1 minute ,the led blinking for 1 sec only.
please help me to resolve the issue
find the attachment
Thanks in advance.
switch.cywrk.Archive01.zip 3.9 MB
ip cloclk timeperiod x prescaler x period =required delay
is this one is applicable in psoc4 ble
If I understand your question correctly, yes. You just change the device to PSoC 4 BLE for the project