Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 1 > ADC14 & interrupts in CY8C29466

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



ADC14 & interrupts in CY8C29466
Moderator:
ARVI

Post Reply
Follow this topic



ADC14 & interrupts in CY8C29466

micsjc posted on 11 Sep 2010 7:42 AM PST
Member
2 Forum Posts

Hello community,

 

I´m using a CY8C29466 to read some analog signals, communicate via UART and SPI and make a timer.

I´m using interrupt for the Uart´s, SPI and timer. Everithing work fine, until I enable the AD. If it execute the commands:
    AD_14bits_Start(AD_14bits_HIGHPOWER);
    AD_14bits_StartAD();

none of the interrupts work. Has someone experienced something like this? Could it be some configuration?

I would appreciate some help.

 

Regards,

Michel




Re: ADC14 & interrupts in CY8C29466

Terrence posted on 13 Sep 2010 07:42 AM PST
Top Contributor
43 Forum Posts

Hi Michel,

This may shed some light on your problem.

www.planetpsoc.com/component/content/article/57-psoc-1-adcs--the-five-golden-rules.html



Re: ADC14 & interrupts in CY8C29466

micsjc posted on 14 Sep 2010 01:04 PM PST
Member
2 Forum Posts

Hello all,

 

Thanks for the link Terrence.

I´ve found the problem, but it seems a little strange to me. I´ve made a mistake and called a ISR from the delta_sigmaINT.asm.

The ISR is of another module, and when I enabled the AD, everything stopped working. I suppose the interrupt calling was breaking my program. I hadn´t enable the AD interrupt, so I found this behavior strange. Is it coherent?

 

Thanks,

 

Michel






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20