Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

Anonymous
Not applicable

 Hi everyone
I want to ask if I am able to trigger an interrupt when the output of ADC is greater than specific Value.

Thanks all,

0 Likes
2 Replies
Bob_Marlowe
Expert II

Not in the PSoC5 world, but with a PSoC4 you can trigger an interrupt when ADC is out of given limits.

   

Alternatively you may use a comparator fed by a DAC to trigger an interrupt in PSoC5.

   

 

   

Bob

0 Likes
ETRO_SSN583
Esteemed Contributor

Depends on the resolution / accuracy of the trip point you need.

   

VDAC is limited to 8 bits.

   

 

   

The following methods only limited by A/D resolution and signal path

   

errors like Vref accuracy and A/D offsets, non linearities....

   

 

   

One approach would be DMA the A/D result to a register and use either

   

LUTs or digital comparator to generate ISR. 

   

 

   

Or use a timer / counter, dma to the count register, and use compare output and

   

register to initiate an ISR.

   

 

   

Or create a custom component.

   

 

   

Regards, Dana.

0 Likes