Central Time Wheel sample code for PSOC5LP

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
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

1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes