working with ADC_SAR with no interrupts.

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

cross mob
scsc_2908381
Level 1
Level 1

Hello,

I would like to minimize any system interrupts and to disable the ADC_SAR_Seq_IRQ.

But I can't seem to find any Disable Interrupts checkbox in the PSOC component.

I am working with the component under the "Hardware trigger" mode.

Thanks.

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I tried with my CY8CKIT-044 (CY8C4247AZI-M485).

The schematic was

000-schematic.JPG

Then in the Workspace Explorer, ADC_SAR_Seq_1_IRQ folder was generated

along with the ADC_SAR_Seq_1 folder.

001-project-navigater.JPG

When I opened the ADC_SAR_Seq_1_IRQ.h

002-ADC_SAR_Seq_1_IRQ.JPG

There are functions

==============

/* Interrupt Controller API. */

void ADC_SAR_Seq_1_IRQ_Start(void);

void ADC_SAR_Seq_1_IRQ_StartEx(cyisraddress address);

void ADC_SAR_Seq_1_IRQ_Stop(void);

==============

So, I hope that you can use ADC_SAR_Seq_1_IRQ_Stop() to stop its interrupt.

Note: The name of function changes according to the name of your ADC component.

moto

View solution in original post

0 Likes
1 Reply
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I tried with my CY8CKIT-044 (CY8C4247AZI-M485).

The schematic was

000-schematic.JPG

Then in the Workspace Explorer, ADC_SAR_Seq_1_IRQ folder was generated

along with the ADC_SAR_Seq_1 folder.

001-project-navigater.JPG

When I opened the ADC_SAR_Seq_1_IRQ.h

002-ADC_SAR_Seq_1_IRQ.JPG

There are functions

==============

/* Interrupt Controller API. */

void ADC_SAR_Seq_1_IRQ_Start(void);

void ADC_SAR_Seq_1_IRQ_StartEx(cyisraddress address);

void ADC_SAR_Seq_1_IRQ_Stop(void);

==============

So, I hope that you can use ADC_SAR_Seq_1_IRQ_Stop() to stop its interrupt.

Note: The name of function changes according to the name of your ADC component.

moto

0 Likes