전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

FT232RL 데이터시트(PDF) 8 Page - Future Technology Devices International Ltd.

부품명 FT232RL
상세설명  Bit Bang Modes for the FT232R and FT245R
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  FTDI [Future Technology Devices International Ltd.]
홈페이지  http://www.ftdichip.com
Logo FTDI - Future Technology Devices International Ltd.

FT232RL 데이터시트(HTML) 8 Page - Future Technology Devices International Ltd.

Back Button FT232RL Datasheet HTML 4Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 5Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 6Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 7Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 8Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 9Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 10Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 11Page - Future Technology Devices International Ltd. FT232RL Datasheet HTML 12Page - Future Technology Devices International Ltd. Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 13 page
background image
8
AN232R-01 Bit Bang Modes for the FT232R and FT245R
Copyright © 2006 Future Technology Devices International Ltd.
1.4
CBUS Bit Bang Mode
The FT232R supports a new type of Bit Bang mode on the CBUS pins. The CBUS Bit Bang mode
must be configured in the FT232R EEPROM and then enabled with a FT_SetBitMode command to
function. It is not available on the FT245R.
When CBUS Bit Bang mode is enabled the CBUS pins are configured as follows:
FT232RL
Pin
Number
FT232RQ
Pin
Number
Signal
Type
Description
23
22
C0
Input/Output
CBUS Bit Bang Bit 0
22
21
C1
Input/Output
CBUS Bit Bang Bit 1
13
10
C2
Input/Output
CBUS Bit Bang Bit 2
14
11
C3
Input/Output
CBUS Bit Bang Bit 3
The FT_SetBitMode and FT_GetBitMode D2XX commands are required to communicate with
CBUS Bit Bang. Since these functions allow only a single byte to be sent or received, this version
of Bit Bang is much slower than the Asynchronous and Synchronous Bit Bang types when used to
transfer large buffers of data with FT_Write and FT_Read, but it does provide an additional 4 IO
pins for the FT232R. The data transfer rate is limited by USB frames.
The D2XX commands required to use CBUS Bit Bang mode are listed below:
D2XX Function
Description
FT_SetBitMode
CBUS Bit Bang mode is enabled using the FT_SetBitMode command. A
value of 0x20 will enable it and a value of 0x00 will reset the device mode.
Note that the CBUS pins must also be configured for CBUS Bit Bang in the
FT232R EEPROM.
FT_SetBitMode also provides the means to write data to the CBUS pins.
The upper nibble of the Mask parameter controls which pins are inputs or
outputs, while the lower nibble controls which of the outputs are high or low.
FT_GetBitMode
FT_GetBitMode returns the instantaneous value of the pins. A single byte
will be returned where the lower nibble contains the current values of the
pins, both those which are inputs and those which are outputs.
For example:
Set all pins to output with bit 0 high:
FT_SetBitMode(Handle, 0xF1, 0x20)
Set bits 0 and 1 to input, bits 2 and 3 to output and make bits 2 and 3
high:
FT_SetBitMode(Handle, 0xCC, 0x20)
Read pins:
FT_GetBitMode(Handle, Data) where the lower nibble is given by (Data AND
0x0F)
Full descriptions of these functions are available in the D2XX Programmer's Guide.
Code examples can be downloaded from http://www.ftdichip.com/Projects/CodeExamples.htm.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com