Hello,
The scope captured the EN, RS485 A ,B when I made sample code for Tx of 6 bytes of data . I use Polled Tx and a Rx ISR to receive at 115200 bps.
Since Autoenable circuit frees the SW Designer of making disable/enable transmit , Now I dont use Enable/Disable Transmit pair in my Tx part of driver code. Besides this, I add to disable Rx before to Tx in the code.
My question is whether I need to take care of any special thing in my driver?
In actual scenario, the ATMega master sends request on the 485 at 115200 bps to get data from STR9 slave that is now also configured to match 115200 and on the STR9 HW , we have the AutoEnable circuit . But on the ATMega side, the Enable is controlled in SW by a delay mechanism.
Can we really have such a scenario where in one Rs485 node, Enable is controlled in HW and in another node is controlled in SW?
Any pitfalls in exchanging data between these nodes and design consideration for this kind of situation please?
Regards,
Prasad Ram Shrisha