1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Usart Tx pin goes bad ! Need help

Discussion in 'ARM' started by EMitter, Aug 26, 2015.

  1. EMitter

    EMitter New Member

    Joined:
    Apr 1, 2015
    Messages:
    7
    Likes:
    0
    Hi All,

    I am having Stm32F030 controller where i am using half duplex communication in Usart using Tx pin. Half duplex communication works good. But sometimes Tx pin goes bad(getting short with ground). I am not aware of this problem , can anyone please suggest where i am wrong.

    Tests conducted::
    Cross checked the pcb track for any problem, it is okay.
    For successful communication, Tx pin is pulled up by 4.7K resistor.
     
  2. USER REDACTED

    USER REDACTED Banned

    Joined:
    Aug 12, 2012
    Messages:
    81
    Likes:
    2
    Based on experience with PICs and AVRs, floating input pins may cause disturbance in UART. If you bring your fingers near chip, they ca pic the electrical charge from the body. Or air.

    Try as well 10K as a pull up.
     
  3. atferrari

    atferrari Well-Known Member

    Joined:
    Oct 8, 2003
    Messages:
    2,816
    Likes:
    121
    Location:
    Buenos Aires - Argentina
    How do you know there is a short? Or it is just simply in a 0 logic state?
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. EMitter

    EMitter New Member

    Joined:
    Apr 1, 2015
    Messages:
    7
    Likes:
    0

    1.I have checked the Tx pin of the controller using multimeter to Ground , it gives dead short.
    2.In some other board TX pin does not have short to ground but Tx pin fails to perform half duplex communication.
    For confirming point 2 , did a simple TX pin toggling application(TX pin has a alternate function of GPIO) but even that also fails to perform.
    3. I am aware static energy so we are using controllers with care, I have a pull up resistor of 10K connected to TX pin of the micro controller to perform half duplex communication .

    Is there any other cause for this problem, please help.
     

Share This Page