This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

THVD1400V: Pull-up and pull-down resistors for logic lines

Part Number: THVD1400V

I want to minimize the components, so I wanted to ask if I can pull-up or pull-down the logic pins directly with the microcontroller or if I can avoid these completely:
R (pin 2): pull-up (VCC = VIO = 3.3 V)
DE and ntRE (pins 3 and 4; half duplex): pull-down
D (pin 5): pull-down
Also wanting to limit the speed to 500 kbps:
SLR (pin 7): pull-up.
I currently use 10 kOhm resistors.

Thank you.

  • Hi Matteo,

    So all the logic inputs have integrated bias resistors to set a default state - that means on DE, /RE, D, and SLR you only need to apply an external bias resistor (pull-up or pull-down) if the default state of the device is opposite of what you want.  10k is generally fine for bias resistors. 

    DE is pulled down internally and by default will keep the driver off unless DE sees a high level signal on its pin. 

    /RE is pulled up internally and by default will keep the receiver off unless /RE is pulled to ground - if you wish receiver to be on in a default state than a external pull-down is needed

    D is pulled up internally and by default will output a high between A and B if driver is active (DE = Logic High) - so unless you can't have a default "high" on the bus when "D" is floating and DE is held high I wouldn't imagine you'd need an external bias resistor here. 

    SLR - it is pulled down internally and will have slew rate limiting off by default - if you want to enable slew rate limiting you need to pull it up externally (which you are) - so if you want this device to be slew rate limited keep your pull-up on this pin. 

    For the logic output R - the device itself does not need a pull-up or pull-down on "R" as "R" is a push-pull output. However, protocols like UART will require a pull-up on the "R" pin - as without it an interrupt is usually send causing communication failure - so in many applications this is pulled up. 

    Currently you have the device set to the following default conditions:

    Slew rate limit: on (pulled up)

    Receiver: on (pulled down)

    Driver: off (pulled down)

    Driver input: Low (pulled down)

    Receiver output bias: High (pulled up - this is needed for some protocols like UART)

    This will take 4-5 resistors (if /RE and DE are shorted than only 4 resistors) - if this is the default setting you want. I'd honestly remove the pull-down from the driver input "D" as it does have a default state (high) and unless you need the default to be low it most likely isn't necessary to add a bias resistor here. 

    Please let me know if you have any other questions - but essentially this device requires 0 to 1 bias resistors if the enables are separate where the only required one is on "R" to VCC if the protocol demands a default value of "HIGH"  on the "R" output. Other external resistors can be added if the default state doesn't match intended goals. This does change slightly when /RE and DE are shorted together as in that case an external resistor is needed to set a default state. 

    Best,

    Parker Dodson

  • Hi Parker,

    Thank you for your answer.

    Yes in my case DE and /RE (ntRE) are shorted.
    I currently use 4 resistors, now I can remove the one on D so there remains only:
    1. SLR pulled-up (500 kbps)
    2. R pulled-up
    3. DE, /RE (shorted) pulled-down.

    Do you recommend placing the resistors near the microcontroller or near the transceiver?

    Thank you for your support.

  • Hi Matteo,

    I am glad to help!

    So your setup sounds okay - and for the question on where you should put these resistors - it doesn't really matter because we assume that the length between controller and transceiver isn't super long and its a DC bias, but I'd place them closer to transceiver as that is where the voltage is "read". 

    Please let me know if you have any other questions!

    Best,

    Parker Dodson

  • Hi Parker,

    Thank you for your support.

    Best regards,
    Matteo