Post Go back to editing

How to remove received garbage data after sending a packet command.

Category: Hardware
Product Number: MAX13488E

i use MAX13488E for connection RS485 temperature sensor.

After sending the data packet, but before receiving the data from the temperature sensor, garbage data is received.

In the circuit, as shown in the attached figure, the MCU and MAX13448E chip are signal-separated.

Is there a circuit problem? Or, I would like to know if there is a way to solve this with software.

Thanks.

  • Hello,

    I would be happy to help with this.  I have a few questions:

    (1) What is the data rate for communication?

    (2) You mentioned that junk is received before the reply from the sensor - roughly how much junk data do you read and how long before the sensor reply is received?  If you could, a scope shot of the A, B, ISO_RO and RX2 signals would be really helpful.

    (3) I don't see a differential termination in your schematic - is there one?  If so, what is the value?

    Overall, your circuit looks OK, but I do have some suggestions: while the pull-up/-down resistor values for this part are not specified, higher value impedances will take longer to pull the lines high or low.  If it is possible in your circuit, I would recommend reducing these values to something like 1kohm or less.  Additionally, there is a condition where the RO output on the MAX13488E can go high impedance during switching (see the Function Tables on page 11 of the datasheet).  I don't see a pull-up on the RO output on your schematic, but here I would recommend a weak pull-up (something like 10k) to ensure the RO state for conditions where the part could take an extended time switching between a driver enable and receive enable state.

    Thanks,

    Shasta