![]() | ![]() | ![]() |
| | |||||||
| 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? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| 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 | |
| |
| | (permalink) |
| Could just be a failed part, I've used and abused scads of ST232s and they all just keep on ticking. | |
| |
| | (permalink) |
| 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 | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| 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 |