Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 1 > psoc1 hanging

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



psoc1 hanging
Moderator:
ARVI

Post Reply
Follow this topic



psoc1 hanging

Gee posted on 22 Aug 2012 11:06 PM PST
Top Contributor
21 Forum Posts

I am using the cy8c20546-24pvxi for touch sensing on my keyboard. even after implementing a Watchdog my psoc is hanging at unpredictable times. Kindly leme know asap what the issue can be. Is thr any possibility that the watchdog timer also hangs if the internal ILO/IMO hangs? It is urgent. Expecting a reply asap.

Gee




Re: psoc1 hanging

arvi posted on 22 Aug 2012 11:39 PM PST
Cypress Employee
119 Forum Posts

 Gee,

 

I'm not sure how the ILO/IMO can "hang". Perhaps you can elaborate on the problem or if possible attach the project.

It will help us understand the issue better.

 

 

Regards,

Arvind



Re: psoc1 hanging

danaaknight posted on 22 Aug 2012 03:57 AM PST
Top Contributor
1773 Forum Posts

Unexpected behaviour can come from a number of sources -

 

1) Code based.

2) Transient voltages outside specification limits.

3) External clock hiccups.

4) System noise.

 

Tracking down -

 

1) For code based errors, disable specific modules of code, one at a time, and see if problem

disappears. Plant a heartbeat monitor in sections of code, a pulsing led, and look for any module

that stays active after the hang, knowing whats running can also be a clue.

 

2) Set a scope up, DC trigger, and look for pin violations interfaced to externals. Same with

Vdd. If you get a trigger, say set for 6V on Vdd, or - 1 V on a pin, find the source and cure.

 

3) Using a scope, if external clock, set scope trigger for runt pulse detection. Also use scope

on xtal pins (FET probe) and look for voltage violations as discussed earlier.

 

4) Use a scope on infinite persistence and look at external pins, Vdd, Vss, for excessive

noise.

 

Just some suggestions, regards, Dana.



Re: psoc1 hanging

danaaknight posted on 22 Aug 2012 04:01 AM PST
Top Contributor
1773 Forum Posts

Of course a keyboard is a classic static problem environment.

 

Scope again set to trigger on V or T violations a big help. Note scopes can also be triggered

on pattern violations for multi channel scopes.

 

Regards, Dana.






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