Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > isr component directly detects rising edge. Is this idea going to be work?

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



isr component directly detects rising edge. Is this idea going to be work?
Moderator:
JFMD

Post Reply
Follow this topic



isr component directly detects rising edge. Is this idea going to be work?

qingshanshan posted on 18 Mar 2013 10:37 AM PST
Senior Member
16 Forum Posts

I would like to simplify my hardware design for raising 2 interrupts events with a single digital input pin to detect pulse edges.  So my idea is to use digital input hardware pin to detect pulse falling edge while a isr component to detect a rising edge by connecting to the digital input pin. This trys to raise 2 seperated interrupt events. Make clear that it is not to raise a single event with detecting rising and falling edge. The topdesign is shown as following diagram. Is this going to work? Has anyone have any this experience?

Qingshan




Re: isr component directly detects rising edge. Is this idea going to be work?

danaaknight posted on 18 Mar 2013 10:50 AM PST
Top Contributor
1773 Forum Posts

Answered here -

 

www.cypress.com/

 

Regards, Dana.



Re: isr component directly detects rising edge. Is this idea going to be work?

PSoC73 posted on 21 Mar 2013 10:36 PM PST
Top Contributor
176 Forum Posts
Hi qing-san, Pin-direct isr(isrLick0_rise) and Pins isr(isrLick0), Of course both are working. ISR property only can select a rise-edge but to through an invert logic can be select fall-edge. Besides, Pins isr(isrLick0) can reduce interruption resources, One ISR for multi pins. [input] tab of PIns property can select rise and fall. I recommand use Pins ISR and select [derived] in ISR property. That is neat I think. To use Pins-ISR, need one notice. Have to ensure clearing ISR in ISR routine. [uint8 Pin_ClearInterrupt(void);] That is my experience and the article is here http://www.cypress.com/?app=forum&id=2232&rID=75317 Please refer bundle design. Happy Interruption..




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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20