Serial Handshaking
Posted: Wed Oct 24, 2012 3:10 pm
> FTDI's handshake to Armmite
While the BASIC program is running there is no handshaking between the
2103 and the FTDI232 part.
On the 2103 inbound side, there is a 16 byte hardware FIFO and an
interupt serviced 128 byte buffer. So there should not be an overun
on receiving data, unless the BASIC program never reads it.
Internal to the 2103 there is an outbound 16 byte FIFO, which will
accept a character from the BASIC program until that FIFO is full, at
which point the BASIC program sending bytes out UART0 (via PRINT or
the like) will wait until the bytes can be accepted.
The DTR and RTS lines asserted by the FTDI232 are used for controls.
DTR low will reset the ARMmite, and RTS is used for download control
by the GCC downloader.
PS we have posted a very preliminary version of the GCC for the
ARMmite/ARMexpress. The MakeItC program and compiler are working, but
the documentation is still being revised. If you do switch to C it
will overwrite the BASIC support on the ARMmite/ARMexpress
While the BASIC program is running there is no handshaking between the
2103 and the FTDI232 part.
On the 2103 inbound side, there is a 16 byte hardware FIFO and an
interupt serviced 128 byte buffer. So there should not be an overun
on receiving data, unless the BASIC program never reads it.
Internal to the 2103 there is an outbound 16 byte FIFO, which will
accept a character from the BASIC program until that FIFO is full, at
which point the BASIC program sending bytes out UART0 (via PRINT or
the like) will wait until the bytes can be accepted.
The DTR and RTS lines asserted by the FTDI232 are used for controls.
DTR low will reset the ARMmite, and RTS is used for download control
by the GCC downloader.
PS we have posted a very preliminary version of the GCC for the
ARMmite/ARMexpress. The MakeItC program and compiler are working, but
the documentation is still being revised. If you do switch to C it
will overwrite the BASIC support on the ARMmite/ARMexpress