dsPic33E : RS485 Communication issue
问题 I am facing issue while communicating serially over RS485 port. I am using dsPic33E microcontroller with Max485. using breakpoint i analyzed that Whenever I send "0x00" to controller, "0xFF" is received. Then I sent "0x01" , "0xFD" is received on controller.and so on. Also i tried to use loop-back logic, means sending back the received character, but every time I receive "0x00" for any value sent. I am unable to get the issue. below is the snapshot of the code I am using : // RS485 TRISBbits