Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need solution on soft button

Status
Not open for further replies.

vishu489

Advanced Member level 4
Joined
Aug 28, 2011
Messages
116
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,120
Hello friends,

my device has programmable button which is controlled by controller atmega8 and i'm also having usbasp programmer on board. Now my problem is that when i connect usb plug to program device my controller get reset to enter in boot-loader mode but by that time it also looses the control over the software button and my device gets turn-off. So my device remains unprogrammed. I don't want to provide supply from external source. Here is my circuit of switch button
image.png

When TPS_EN pin will get high my supply section gets on and controller pull the LATCH_TPS line high which makes supply permanently high till i press button next time.

To solve the problem i'm thinking to sense controller reset pin by using PNP transistor or P channel mosfet. So whenever my controller reset pin will be pull low my Transistor or mosfet will take control of soft button and it will make supply enable till the controller is in booting mode as follow

image1.png

Is this logic will work? also can you suggest me which diode and transistor/FET will be suitable for high speed switching?

My power supply section contains TI' TPS61200.
 

Could you not use a delay on the power supply? Only adding One capacitor could do the trick

Adding a capacitor on the TPS_EN pin to ground, after the 2 diodes should do the trick.
Depending on the internal resistance of the TPS_EN pin, you could also want to add an discharge resistor parrallell to the capacitor.

The capacitor would be charged true the diodes, and keep the PSU on for a while if the LATCH_TPS-signal goes down for a while.
Then just modify the software and bootloader code to turn on the LATCH_TPS as quickely as possible after reset.

Kind regards,
Hans
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top