Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

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



PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process
Moderator:
ANCY

Post Reply
Follow this topic



PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

Hui Xin posted on 14 Mar 2013 2:54 AM PST
Member
9 Forum Posts

Hi All,

Have you ever encountered similar problem? The PSoC chip resets itself during a test?

I encounter this problem recently. I put PSoC chip and some relays in a same PCB. One of the relays connected to a high voltage (400VDC) and multimeter. PSoC will control the relay to turn on, then multimeter will measure the voltage. But after PSoC send command to turn on the relay, the chip automatically reset itself.

My PSoC is using USB control from desktop.

Is it because the high voltage cause some surge, so PSoC reset itself? Is there any way to solve this problom?

Please help me. I spend a long time but cannot solve it. Thank you very much!




Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

Bob Marlowe posted on 14 Mar 2013 03:01 AM PST
Top Contributor
1768 Forum Posts

The usual way would be to proof your suspicion or to exclude it.

Standard is using an oscilloscope, connect to PSoC GND and VCC, measuring AC and looking for spices when the relay triggers. Probably (Test that, too) there are spikes even when the relay switches no load. If switching the load is the cause a very elegant solution could be to perform switching when the voltage is (near) zero.

 

Bob



Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

danaaknight posted on 14 Mar 2013 04:48 AM PST
Top Contributor
1773 Forum Posts

Two potential problem areas -

 

1) If load generated switching noise you have to split grounds to make

sure load current does not generate IR drop logic signals back into PSOC

by raising a GPIO pin. As well large currents imply large magnetic fields,

so single turn loops created by layout practices create transformer coupling

back into GPIO. Additionally you can have e field coupling via parasitic C be-

tween load current traces and a GPIO pin. Where you can afford to burn power

terminate GPIO inputs in low Z to reduce coupling.

 

2) If relay actuator coil transients, generally speaking its relay coil turn off that produce

large transients. Make sure you have a reasonably fast diode across coil to handle

back emf. Diode must be rated for max coil I. DSO can be used to confirm diode

speed is clamping.

 

Some useful info on layout practices -

 

www.cypress.com/

 

Regards, Dana.



Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

hli posted on 14 Mar 2013 06:40 AM PST
Top Contributor
675 Forum Posts

Another thing to look for are drops in the supply voltage - maybe the relais just need too much current so the PSoC loses power. This can be resolved by using proper decoupling capacitors on the PSoC power lines.



Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

danaaknight posted on 14 Mar 2013 08:54 AM PST
Top Contributor
1773 Forum Posts

The best bulk caps to use these days are polymer tantalums, they

have a f vs esr curve much better than regular tantalums, and much

less C degradation with applied V.

 

And as always a good ceramic .1 uF (some cases also a .01 uF as well) in

parallel with bulk cap. MLC cermamics pretty good for this.

 

Regards, Dana.



Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

Hui Xin posted on 21 Mar 2013 06:31 PM PST
Member
9 Forum Posts

Hi All,

 

Thank you very much for your help!

I did add diode with the relay.

I think it is possible due to the chip power drop. i use regulator to regulate 12VDC to 5VDC. The V5.0 is connected to PSoC chip VDDD, and also it is power supply of the relay. While in USB communication connector, there is a Schottky diode also connect to V5.0. I am not sure whether this cause the problem. Now i have removed the schottky diode.



Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

danaaknight posted on 21 Mar 2013 07:06 PM PST
Top Contributor
1773 Forum Posts

I do not think the Schottky diode was at issue, and it is used to isolate the Vbuss

from other power sources, eg. from back feeding Vbuss and forcing Vbuss out

of regulation.

 

I would advise leave that diode in place.

 

Regards, Dana.



Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

Hui Xin posted on 22 Mar 2013 12:05 AM PST
Member
9 Forum Posts

Hi dana,

Thank you for your reply :)

Sorry, just to confirm, the Vbuss you mention, is USB gnd?

I removed the diode connected to V5.0, since i thought it is used to supply power to the chip. is this understanding correct?



Re: PSoC Chip Suddenly Reset by Itself in the Middle of Testing Process

danaaknight posted on 22 Mar 2013 03:51 AM PST
Top Contributor
1773 Forum Posts

Vbus is USB self powered supply buss, 5V.

 

www.cypress.com/

 

 

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