22.03.2013 Views

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

23.5 Host iChip Hardware Flow Control<br />

Flow Control<br />

As an alternative to the software flow control method, which requires some software<br />

attention on behalf of the host, iChip offers a hardware flow control mode.<br />

This mode is selected by setting iChip‘s FLW parameter Bit 0, using the <strong>AT+i</strong>FLW<br />

command. Note that to set FLW Bit 0, the ~CTSH signal needs to be LOW (enabled),<br />

otherwise iChip returns I/ERROR (063). This convention safeguards iChip from lockup,<br />

which may arise if FLW Bit 0 is set while the ~CTSH signal is constantly HIGH.<br />

For hardware flow control to operate properly, the ~CTS and ~RTS signals between the<br />

host and iChip UARTS must be interconnected.<br />

The iChip ~CTSH and ~RTSH signals can be shorted to circumvent hardware flow<br />

control.<br />

Under this mode, iChip assumes that the host transmission might be paused by deasserting<br />

the ~CTS signal. The host must adhere to this convention. Most UARTs support<br />

hardware flow control. However, if this is not the case, iChip‘s ~CTS signal must be<br />

monitored by the host software on a general purpose I/O.<br />

The host can also pause iChip by de-asserting its ~CTS signal.<br />

If a transmission error occurs during processing of a send command (EMB, SSND,<br />

TBSN, FSND), iChip accepts all remaining characters pertaining to the current command<br />

(as specified by the parameter) before returning the relevant I/ERROR response.<br />

HOST<br />

~CTS<br />

~RTS<br />

~Tx<br />

~Rx<br />

~CTSH<br />

~RTSH<br />

~Tx<br />

~Rx<br />

iChip<br />

Figure 23-3 Minimum Hardware Flow Control Connections

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!