Skip to content

Commit ab2cfe5

Browse files
committed
Document FTDI_PINOUT and FTDI_INTERFACE options
1 parent 7f8fc0e commit ab2cfe5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ while CSR chips require 3.3V or 1.8V I/O level. You may supply appropriate
8484
VCCIO to FTDI chip or use logic level converter if levels don't match. See
8585
description of VCCIO pin in FTDI chip datasheet for details.
8686

87+
This is a default pinout:
88+
8789
| Signal | FT232RL pin | FTDI pin name | FTDI GPIO bit | CSR pin |
8890
|--------|-------------|---------------|---------------|----------|
8991
| CS# | 2 | DTR# | D4 | SPI_CS# |
@@ -105,6 +107,8 @@ LED connections are optional. Wire LED cathodes through the current limiting
105107
resistors (330 Ohm works fine) to the appropriate FTDI
106108
pins. Wire LED anodes to FTDI 3V3 pin.
107109

110+
Other pinouts can be specified with `FTDI_PINOUT` [Option](#options).
111+
108112
Don't power BlueCore chip from FT232R internal 3.3V regulator! It's current
109113
draw may exceed FT232R 50mA limit, which may cause communication errors.
110114

@@ -228,6 +232,22 @@ variables or using the -TRANS option to most CSR commandline apps.
228232
* `FTDI_LOG_FILE` - specify log file name. Can be set to `stdout` to log to
229233
standard output, or to `stderr` to log to standard error stream. Default:
230234
`stderr`.
235+
* `FTDI_INTERFACE` (since version 0.5.1) - specify interface on multi-interface
236+
chips (FT2232, FT4232). Default: `A`.
237+
* `FTDI_PINOUT` (since version 0.5.1) - specify a pinout. Available pinouts:
238+
* `default` - default pinout as described in
239+
[Using FT232RL breakout board as a programmer]
240+
(#using-ft232rl-breakout-board-as-a-programmer).
241+
* `noleds` - this is the same as `default` but without LEDs.
242+
* `hwspi` - pinout for use with MPSSE chips (FT2232, FT4232, FT232H), uses
243+
the same pins as hardware SPI. Note that hardware SPI capability is not
244+
used, just the same pinout is used for convenience. This pinout can be used
245+
with adapters like [TIAO TUMPA]
246+
(http://www.tiaowiki.com/w/TIAO_USB_Multi_Protocol_Adapter_User's_Manual).
247+
The pinout is as follows: `CS` - `DBUS3`, `CLK` - `DBUS0`, `MOSI` -
248+
`DBUS1`, `MISO` - `DBUS2`.
249+
* `hwspi+leds` - this is the same as `hwspi` but adds read and write LEDs on
250+
`DBUS4` and `DBUS5` pins respectively.
231251

232252
For other options see [misc/transport-options.md](misc/transport-options.md).
233253

0 commit comments

Comments
 (0)