cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

Hi,

Can you please point me to or share some code for using the Global Signal Reference - Central Time Wheel without the sleep block. I need the regular interrupt it gives.

I want my code to read an ADC value once (or twice) every second (average it) and store it on to a SD card. For this I want a repeated interrupt every 500ms or 1s to work the ADC. I know I can use a Timer for this but I want to save the timers for other applications.

I believe it is possible to do that but I can't get any code reference for PSOC5.

Thanks,

Sujoy

0 Likes
1 Solution
JoMe_264151
Expert II

The PSoC5 has got UDB-based timers, so no need to save them for other purposes. Use 2 UDBs (of 24) for a 16 bit timer.

Bob

View solution in original post

0 Likes
1 Reply
JoMe_264151
Expert II

The PSoC5 has got UDB-based timers, so no need to save them for other purposes. Use 2 UDBs (of 24) for a 16 bit timer.

Bob

View solution in original post

0 Likes