RS485 Modbus Application Issues

  • Hello,

    I have a working application using UiFlow but there are a couple issues.
    #1 Occasionally I get a CRC error on the returned data. If the M5Stack is running directly off the hardware it will freeze. If I run it from UiFlow it will display the error. Is there a way to trap the error and ignore it if it's a CRC error?

    #2 Even though the sending and receiving data portion is only about 30-40ms the program is only looping through one per second. Is there a way to increase it to 3-4X per second or is that a limitation of the hardware and Python?