Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 20th July 2007, 04:00 AM   (permalink)
Default ST232A damaged by shutting off power?

a project i'm working on uses a high side switch to turn a radio connected to the uart on and off.

since I don't have the radio yet, I was testing it using small st232a level shifter board I tossed together some time ago.

the test involves powering up the connected device, turning on the serial port in the pic, transmitting some data, and then shutting the serial port and connected device down. the device is "shutdown" by disconnecting Vdd (+5v) with a p channel mosfet, driven by the pic.

the detailed procedure goes like this:

1) turn on the pfet, powering up the device
2) wait 5 ms for device to power up
3) (re) set RX pin to input and TX pin to output, both are set to input at power off
4) set bit SPEN, turning the uart on
5) send some data
6) turn off the pfet, powering down the device
7) wait 5 ms
8) clear SPEN, turning uart off
9) set RX and TX pins to high-z inputs

wait one minute, and repeat

this ran for a few minutes, then I started getting garbage during the shutdown. now the RX side (pc -> pic) of the max232 is fried, the pic can still transmit data pic -> pc, but can't receive anything

I confirmed it was the st232 that failed by using a max232 built onto a protoboard, everything works as expected. the second board was powered continuously in case it was the power on/off that damaged the first one.

I don't see anything in the datasheet that would indicate the max232 could be damaged by disconnecting Vdd while still connected to an rs232 interface.

Any thoughts on what happened?
__________________
If you don't have a planet, what good are gold bars?

want to contact me directly? gmail gordonthree
check out my project website: http://projects.dimension-x.net
Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
justDIY is offline  
Old 20th July 2007, 04:21 AM   (permalink)
Default

Could just be a failed part, I've used and abused scads of ST232s and they all just keep on ticking.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 20th July 2007, 04:26 AM   (permalink)
Default

well I cut the chip off the board, cleaned up the pads, soldered in a socket this time and replaced the chip.

used a MAX232N this time... a bit older than the 232a, but it's working. I'll start abusing it tomorrow and see what happens.
__________________
If you don't have a planet, what good are gold bars?

want to contact me directly? gmail gordonthree
check out my project website: http://projects.dimension-x.net
Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
justDIY is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
ATX power supply and Power Dremel jimmyboy General Electronics Chat 1 1st July 2007 03:10 PM
computer controlled power switch Michael Daly Electronic Projects Design/Ideas/Reviews 2 25th June 2007 07:14 PM
Power Supply for a project to be powered within an Auto? hexibot43 General Electronics Chat 16 8th September 2005 03:36 PM
how long we have 2 wait to power up PIC aft shutting down it janetsmith2000@yahoo.com Electronic Projects Design/Ideas/Reviews 5 2nd August 2005 08:20 PM
Power supply: Fusing to protect circuit Johnson777717 Electronic Projects Design/Ideas/Reviews 4 10th April 2004 03:19 AM



All times are GMT. The time now is 07:42 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker