thanks everyone for the tips...
I was curious as one of the pins (Txd) in a 18F4620-SPDIP mcu got damaged after working for some time. The Txd pin was connected to a SN75LBC184 RS485 transceiver. The RS485 line was long at least 10m, and the system was installed in an industrial environment (lots of heavy duty motors around), moreover there was a stepper motor near the mcu.
Do you think the unused pins could have damaged the Txd pin of the mcu ?? Curiously only the Txd pin was damaged, while other pins where all working...
Just for your information, the mcu alongwith the PCB was sealed in an aluminium box using Araldite...(the entire mcu with PCB was immersed in araldite).
Could this also be responsible for the damage ?? I know some passive components are sealed in this way, but is this method advisable for micro-controllers ???
The current consumption of the mcu was less than 30mA, so I don't think heat could have damaged the pin...
Interestingly a similar unit (having another 18F4620 mcu, and sealed in similar manner) was connected to the defective unit via RS 485 cable, and also shared same power supply unit did not get damaged, and continues to work without any problem...
Just wanted to know your opinion...
thanks
a