changed the RTS guard time.
This commit is contained in:
@@ -92,7 +92,7 @@ void RS485_Initialize(void)
|
|||||||
AT91C_US_NBSTOP_1_BIT; /* 1 Stop Bit */
|
AT91C_US_NBSTOP_1_BIT; /* 1 Stop Bit */
|
||||||
|
|
||||||
/* set the Time Guard to release RTS after x bit times */
|
/* set the Time Guard to release RTS after x bit times */
|
||||||
RS485_Interface->US_TTGR = 4;
|
RS485_Interface->US_TTGR = 1;
|
||||||
|
|
||||||
/* Receiver Time-out disabled */
|
/* Receiver Time-out disabled */
|
||||||
RS485_Interface->US_RTOR = 0;
|
RS485_Interface->US_RTOR = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user