You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is very much work in progress. Draft created, so that we can
discuss the approach.
Terms:
Data Terminal Equipment (DTE), AKA. host.
Data Communication Equipment (DCE), AKA. SLM.
Data Terminal Ready (DTR)
Ring Indicate (RI)
DTR operation:
When DTE is ready to communicate with DCE, it resumes it's UART,
enables RX, sets DTR low and waits for DTC to activate before
sending possibly pending TX data.
When DCE notices DTR down, it resumes UART, enables RX and sends
any possibly pending TX data.
When DTE wants to stop communicating with DCE, it sets DTR UP,
aborts possible TX, disables RX and suspends UART.
When DCE notices DTR up, it aborts possible TX, disables RX and
suspends UART.
RI operation:
When DCE observes DTR up and it needs to send data, it sets RI
up to notify DTE.
When DTE notices RI up, it initializes communication with DCE.
Application integration:
uart_rx_enable is used as indicator that application is ready.
It can also be used by DTE, together with uart_rx_disable, to
manage the state of the UART's.
UART_RX_BUF_REQUEST is sent by virtual UART to application to
request a buffer. This means that we want to communicate, so
DCE received DTR down or DTE received RI.
uart_tx causes DCE to send RI. For DTE, it starts communication
with DCE.
0 commit comments