Function and Application of USB Interface Chip FT245BM

Publisher:bonbonoLatest update time:2012-04-18 Keywords:USB  FT245BM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Universal Serial Bus (USB) has become an increasingly popular computer communication interface due to its high data transfer rate, ease of use, and support for hot plugging. The FT245BM chip is a second-generation USB interface chip launched by FTDI (Future Technology Devices Intl. Ltd). Compared with other USB chips, the application of the FT245BM chip for USB peripheral development only requires familiarity with microcontroller (MCU) programming and simple VC or VB programming, without having to consider firmware design and driver programming, which can greatly shorten the development cycle of USB peripheral products. In addition, the FT245BM supports USB1.1 and USB2.0 specifications, and the data transmission speed can reach 1M byte/s. Therefore, the FT245BM is an excellent choice for the interface chip required for the development of USB peripherals.

Structure and function of FT245BM

The FT245BM chip is a 32-pin LQFP packaged chip with the following pin definitions:

D[0-7] (25, 24, 23, 22, 21, 20, 19, 18): bidirectional data signal line;

RD# (16): read signal;

WR (15): write signal;

TXE# (14): FIFO transmit buffer empty flag signal;

RXF# (12): FIFO receive buffer non-empty flag signal;

USBDP (7), USBDM (8): USB data signal positive terminal, USB data signal negative terminal;

EECS (32), EESK (1), EEDATA (2): EEPROM chip select line, clock line, data line;

PWREN (10): power enable signal;

SI/MU (11): Immediate send or wake-up signal;

RESET (4): reset signal;

RSTOUT (5): output signal of the internal reset generator; XTIN (27), XTOUT (28): clock input signal, output signal;

TEST (31): test signal;

3V3OUT (6): 3.3V output signal;

VCC (3, 26), VCCIO (13), AVCC (30): chip power, control pin power, internal analog power;

GND (9, 17), AGND (29): chip ground, internal analog ground.

The chip consists of a 3.3V regulator, USB transceiver, phase-locked loop, serial interface engine (SIE), FIFO controller, USB protocol engine, FIFO receive buffer, transmit buffer, 6M oscillator, 8x clock multiplier, etc.

The FT245BM chip can realize the bidirectional conversion of data between the USB interface and the parallel I/O interface. On the one hand, when the USB transceiver receives USB serial data from the host, the serial interface engine converts the data into parallel data and stores it in the FIFO receiving buffer. When the FIFO controller detects that the read signal RD is low, it sends the data in the receiving buffer to the parallel data lines D0-D7. On the other hand, when the FIFO controller detects that the write signal WR is high, it reads parallel data from the data lines D0-D7 and stores it in the FIFO sending buffer. The parallel data is converted into USB serial data by the serial interface engine and then transmitted to the host through the USB transceiver. It can be seen that the FT245BM chip itself can complete the data conversion without the designer considering the hardware design. Its internal structure and function are shown in Figure 1.



Figure 1 FT245BM chip functional block diagram

Hardware interface design

The schematic diagram of the interface circuit is shown in Figure 2.

The design is powered by the USB bus. In Figure 2, the FT245BM is connected to an MCU. An 8-bit port of the MCU is used to transmit data, and the other port is used to control and generate the four handshake signal lines required by the FT245BM, namely RXF#, TXE#, RD#, and WR. When TXE# is low, it means that the current FIFO send buffer is empty. At this time, the WR pulse changes from high to low to write the data on the data lines D0-D7 into the FIFO send buffer; when TXE# changes to high, it means that the current FIFO send buffer is full or is storing the previous byte, and writing data to the send buffer is prohibited. RXF# is low, indicating that there is data in the current FIFO receive buffer. At this time, the RD# pulse changes from low to high, and data will be read from the FIFO receive buffer; when the read signal RD# is low, the data is read to the data lines D0...D7; when RXF# is high, reading data from the FIFO receive buffer is prohibited

Keywords:USB  FT245BM Reference address:Function and Application of USB Interface Chip FT245BM

Previous article:Design of McBSP Interface between CPLD and TMS320VC55x
Next article:Advantages and potential dangers of using USB for measurement applications

Recommended ReadingLatest update time:2024-11-16 17:42

UT-S3C6410 Android system realizes USB WiFi wireless Internet access function
Hardware platform: UT-S3C6410 development board (UT-S3C6410 series development board) produced by UT-Hengtian Technology Software platform: ut6410-android2.1-v2.1 Introduction: The amount of Android kernel code is quite large and vast; for beginners and users who are committed to application developm
[Microcontroller]
UT-S3C6410 Android system realizes USB WiFi wireless Internet access function
TQ2440 Study Notes - 5. Linux Burning - USB
Burn Linux with USB download cable Software: TQBoardDNW Connect the USB download cable and serial port cable Format Nand Flash before burning, then burn the image file 1. Burn u-boo image 2. Burn the Linux kernel image 3. Burn the file system image 4. Burn the boot logo image After burning uboot, ker
[Microcontroller]
TQ2440 Study Notes - 5. Linux Burning - USB
ST's digital step-down converter brings simplicity and flexibility to USB power delivery designs
STMicroelectronics' digitally programmable synchronous step-down converter brings simplicity and flexibility to USB Power Delivery designs January 24, 2022 - Featuring an energy-efficient synchronous conversion topology, STMicroelectronics’ synchronous step-down DC/DC converter STPD01 has digital programming capa
[Power Management]
ST's digital step-down converter brings simplicity and flexibility to USB power delivery designs
STM32 USB DFU device firmware upgrade
Speaking of STM32 USB UDF, it is actually what we often call IAP (In Application Programming). There are many ways to use IAP. I have used serial port IAP and network IAP before. Here we use USB IAP, which is to update the code through USB. So it is necessary to understand IAP online. IAP is the abbreviation of In Ap
[Microcontroller]
STM32 USB DFU device firmware upgrade
A brief discussion on the connection between USB flash disk and PIC microcontroller system
  As a widely accepted mobile storage tool today, USB flash drives are also widely used in various embedded systems. This article introduces the implementation process of connecting a low-cost PIC controller to a flash drive through a USB2.0 full-speed interface, and focuses on the hardware design and program writing o
[Microcontroller]
Application of USB Communication Technology in Automatic Test System
1 Introduction Automatic Test System The ATS (Automatic Test System) integrates all the stimulus and measurement equipment required for testing. The computer efficiently completes the acquisition, storage and analysis of various modes of stimulus and response signals, and performs automatic st
[Test Measurement]
Mobile phone USB charging and overvoltage protection design solution
This article will focus on analyzing USB charging and overvoltage protection design strategies and corresponding solutions in combination with the requirements of the mobile phone side. Figure 1 The YD/T 1591-2006 standard covers two parts: the mobile phone side and the charger side Mobile phon
[Power Management]
Mobile phone USB charging and overvoltage protection design solution
Design and implementation of data acquisition system based on USB interface
System Introduction   Universal Serial Bus (USB) supports hot-swapping, which is truly plug-and-play. USB1.1 can reach a transmission rate of 12Mbps at full speed and 1.5Mbps at low speed. There are only four USB cables, two of which are power cables that transmit 5V power and can be used to power devices; the other
[Microcontroller]
Design and implementation of data acquisition system based on USB interface
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号