និមិត្តសញ្ញា FTDI

FTDI CHIP FT260 Test Utility

FTDI-CHIP-FT260-Test-Utility-product

ព័ត៌មានអំពីផលិតផល

លក្ខណៈបច្ចេកទេស

  • ឈ្មោះផលិតផល៖ FTDI FT260 Test Utility
  • កំណែ៖ 1.0
  • កាលបរិច្ឆេទចេញផ្សាយ៖ ៨៦៦-៤៤៧-២១៩៤
  • មុខងារ៖ User interface for controlling I2C/UART/GPIO with FT260

សេចក្តីផ្តើម

FT260_Test_Utility is a free test tool designed specifically for the FT260 device. It provides the ability to configure and control the I2C, UART and GPIO interfaces.
The executable version is hard-coded to work with the default VID and PID. The FT260 default VID/PID is 0403/6030. The application is built for Windows x64 platform and requires the Microsoft .NET Framework 4.6 or later to run.
For optimal use, we recommend using the UMFT260EV1A development module with this utility.

Features of the FT260_Test_Utility:

  • Automatic detection of the FT260 device.
  • Support three core functions: I2C Master, UART, GPIO
  • Include a logging feature for messages during I2C/UART transfers.
  • Supports loading UART/I2C commands form an external file.
  • GPIO state display: availability, function, direction, value.
  • All functions are controlled by the libft260.dll library.

The FT260_Test_Utility is available as a free download from the FTDI Utilities page of the FTDI webគេហទំព័រ។

FT260_Test_Utility Basics
After Extracting the FT260_Test_Utility archive, there are three files នៅក្នុងថតឯកសារ៖

  • FT260_Test_Utility.exe: The main application program (Windows x64).
  • LibFT260.dll: The dynamic link library for the FT260 (Windows x64).
  • Ft260_cmd_list.csv: A template file used to automatically fill command list.

ដំណើរការដែលអាចប្រតិបត្តិបាន។ file by double clicking on the .exe and the following screen appears:

FTDI-CHIP-FT260-Test-Utility- (1)Before initiating any test, the user must configure the operating mode of the FT260. The following table describes the operating mode of the FT260:

DCMF1 DCNF0 របៀប HID Interface I2C UART GPIO
0 0 0 2 គាំទ្រ គាំទ្រ គាំទ្រ
0 1 1 1 គាំទ្រ X គាំទ្រ
1 0 2 1 X គាំទ្រ គាំទ្រ
0 0 3 2 គាំទ្រ គាំទ្រ គាំទ្រ

តុ 2-1 FT260 Mode

  • FT260 DCNF0/DCNF1 pins need to be 00 or 11 to enable both UART and I2C functionality.
  • In Mode 0 or Mode 3, the HID Interface 0 is for I2C.
  • In Mode 0 or Mode 3, the HID Interface 1 is for UART.
  • In Mode 0 or Mode 3, either interface can be used for GPIO.

 ភ្ជាប់ឧបករណ៍
USB List will display all detected FT260 devices. Select one device from the list that you wish to test.

  • If the same FT260 device appears with two interfaces in the USB list, please select one of the interfaces.
  • If the expected FT260 is not detected, please re-insert the FT260 device and click the “Refresh” button.

Once the device is selected, choose the parameters for the functions you wish to use. You may uncheck I2C or UART, if they are not required for your test. However, the GPIO function is mandatory and cannot be unchecked.
Click the “Connect” button to establish the connection.

FTDI-CHIP-FT260-Test-Utility- (2)

After successfully connecting, the left-hand message box will display critical FT260 information. It is including the libft260.dll version, chip version and feature settings.

FTDI-CHIP-FT260-Test-Utility- (3)

If the FT260_Test_Utility is configured to enable I2C and UART, it will proceed to initialize the I2C, UART and GPIO interfaces.

The screen looks like the one given below:

FTDI-CHIP-FT260-Test-Utility- (4)

ចំណាំ the following automatic pin assignment behaviours:

  • If the I2C function is enabled, GPIO0 and GPIO1 will be disabled.
  • If the UART is enabled, GPIOB, GPIOC, GPIOD, GPIOE, GPIOH will be disabled.
  • If the UART is enabled and the DCD/RI options is checked, GPIO4 and GPIO5 will be disabled.

I2C Functions

The I2C control panel looks like the one given below:

FTDI-CHIP-FT260-Test-Utility- (5)

  • The address uses hexadecimal format ad represent 7-bit address without R/W select bit.
  • Write data use hexadecimal format, with data separated by spaces.
  • Data Read is decimal format.
  • If option “Read To File” is checked, the read data will be saved into two files: “FT260_READ_xxx.txt” and “FT260_READ_xxx.bin”.

ផ្ញើពាក្យបញ្ជា
Click the “I2C Send” button to send I2C command data. After I2C data is transferred, a Data Table Form will appear to record the transaction details.
Exampលេ ១៖

I2C Write: 0xAB, 0xCD, 0xEF I2C Read: 0

FTDI-CHIP-FT260-Test-Utility- (6)

Exampលេ ១៖

  • I2C Write: 0
  • I2C read: 256

FTDI-CHIP-FT260-Test-Utility- (7)ទទួលបានស្ថានភាព
Click the “Get Status” button to get the current I2C status. If the I2C bus is operating normally, the status will be reported as idle. If the I2C transfer fails, the status will indicate the error condition.

FTDI-CHIP-FT260-Test-Utility- (7)

 កំណត់ឡើងវិញ
Click the “Reset” button to reset the I2C bus. After reset is complete, the I2C status will return to idle.

FTDI-CHIP-FT260-Test-Utility- (10)Scan Bus
Click the “Scan Bus” button to execute an address scan. This function sends a read command to all possible 7-bit addresses ranging from 0x01 to 0x7F. If an ACK response is received, it means and I2C slave device has been successfully found at that address on the I2C bus.

FTDI-CHIP-FT260-Test-Utility- (9)

EEPROM Dump
Click the “EEPROM Dump” button to read all data from the EEPROM located on the UMFT260EV1A. The retrieved data will be saved to a file.

FTDI-CHIP-FT260-Test-Utility- (11)

មុខងារ UART

The UART control panel looks like the one given below:

FTDI-CHIP-FT260-Test-Utility- (12)

  • Support three data formats for UART transmission: HEX, CHAR, CHAR+CRLF
  • Write commands must adhere to the selected data format setting.
  • After UART is initialled, the utility starts an automatic UART data read operation every 1000 ms.
  • If any UART data is received, a Data Table Form will be displayed to record the transaction details.

ផ្ញើពាក្យបញ្ជា
Select the data format first and then input the write data. Click the “UART Send” button to transmit the write data. After the UART data is sent, a Data Table Form will appear to record the transaction detail.

Example 1:
Data Format is HEX. Write data use hexadecimal format, with individual data bytes separated by spaces.

FTDI-CHIP-FT260-Test-Utility- (13)

Example 2:
Data Format is CHAR. Write data use character format.

FTDI-CHIP-FT260-Test-Utility- (14)

Exampលេ ១៖
Data Format is CHAR+CRLF. Write data use character format. The utility will automatically append 0x0d<CR> and 0x0A<LF> after the write data.

FTDI-CHIP-FT260-Test-Utility- (15)

សម្រាក
Click the “Break” button to send a UART break condition on the TX line. The duration of this break signal is determined by the time value set by the user in the control panel.

 DCD/RI
Check the “DCD/RI” option to enable the UART DCD(GPIO4) and UART RI(GPIO5).

  • If DCD/RI is checked: the GPIO4 and GPIO5 are disabled. The utility will update the DCD and RI statuses every 1000ms. When the RI is enabled, the GPIO5 serves as the wakeup pin in USB suspend mode.FTDI-CHIP-FT260-Test-Utility- (16)
  • If DCD/RI is unchecked: the GPIO4 and the GPIO5 are enabled.FTDI-CHIP-FT260-Test-Utility- (17)

GPIO Function
The FT260 has 3 pins which have more than 2 functions. They are GPIO 2, GPIOA, and GPIOG. After GPIO initial, these 3 pins will be configured to GPIO via USB commands.
For detailed information of GPIO, please refence to Chapter 3.3 Pin Description of the FT260 HID class USB to UART/I2C Master.
If the user selects the GPIO function only, the user will have full control over all FT260 GPIO pins.

FTDI-CHIP-FT260-Test-Utility- (18)

ការដំឡើង GPIO
Click the “GPIO SetUp” button, the utility will set direction for all GPIOs and set the driving mode for GPIO0~GPIO5.

GPIO Update
Click the “GPIO Update” button, the utility will write value to any GPIO pins set as output and then read the current value of all GPIO pins.

GPIO0~GPIO5 driving strength
The GPIO0~GPIO5 support configurable driving strength setting, offering options of 4mA, 8mA, 12mA, 16mA.

GPIO Function Assignment

GPIO2 function
GPIO2 support GPIO, SUSPOUT_N, PWREN_N, TX_LED functions.

  • If set to GPIO, the GPIO2 will be enabled. Otherwise, the GPIO2 will be disabled.

GPIO3 function
GPIO3 support GPIO, WAKEUP, INTERIN functions.

  • If set to GPIO, the GPIO3 will be enabled. Otherwise, the GPIO3 will be disabled.
  • If set to WAKEUP, the utility will set wakeup type to rising edge detection.
  • If set to INTERIN, the utility will set interrupt type to rising edge detection. Note that the UART function must be enabled first.

GPIOA function
GPIOA support GPIO, TX_ACTIVE, TX_LED functions.

  • If set to GPIO, the GPIOA will be enabled. Otherwise, the GPIOA will be disabled.

GPIOG function
GPIOG support GPIO, BCD_DET, RX_LED, PWREN_N functions.

  • If set to GPIO, the GPIOG will be enabled. Otherwise, the GPIOG will be disabled.

GPIO Feature Configuration

ទិសដៅ GPIO
The GPIO direction can be selected as either output or input.

  • If a GPIO set to output, the write value field will be enabled to allow the user to set the pin state to 0 or 1. Otherwise, the write value field will be disable.

GPIO Driving Mode
GPIO0~GPIO5 support pull-up/pull-down/open-drain mode.

Automatically Fill Command
The FT260_Test_Utility supports an automatically fill command function for both the I2C and UART functions. The utility reads the file “ft260_cmd_list.csv” and parses the valid entries to display them in the command list for easy selection. Users are free to modify this file to create custom commands for specific testing.

FTDI-CHIP-FT260-Test-Utility- (19)

  • Lines beginning with “//” or “#” will be treated as comments and skipped.
  • If a command contains “//”, the text following it will be ignored.

I2C Fill Command
I2C command format include five parts (command_name, device_name, addr, write, read).

ឈ្មោះវាល ការពិពណ៌នា ឧបសគ្គ
command_name A descriptive name. Must be unique within the file.
device_name Specifies the interface type. Must be either I2C or I2CM.
អាសយដ្ឋាន The slave address. The 7-bit slave address for the I2C transaction.
សរសេរ The data to be written. If it is a read-only command, leave this field empty or type a space.
អាន The length of data to be read. If it is a write-only command, enter 0 or type a space.

តុ 6-1 I2C Fill Command Format

command_name device_name បន្ថែម សរសេរ អាន
EEPROMAddrRead256 I2C 50 0 256
EEPROMRandomRead I2CM 50 64
EEPROMBtyeWrite I2CM 50 ៦៧ ៨ 0

តុ 6-2 I2C Fill Command Example

Example 1:
Select command “EEPROMAddrRead256”

FTDI-CHIP-FT260-Test-Utility- (20)

Exampឡេ ១៖
Select command “EEPROMRandomRead”

FTDI-CHIP-FT260-Test-Utility- (21)

Exampឡេ ១
Select command “EEPROMByteWrite”

FTDI-CHIP-FT260-Test-Utility- (22)

UART Fill Command
The UART command format include four parts (command_name, device_name, data_format, write).

ឈ្មោះវាល ការពិពណ៌នា ឧបសគ្គ
command_name A descriptive name. Must be unique within the file.
device_name Specifies the interface type. Must be UART.
data_format The format of the write data. Supports HEX, CHAR, or CHAR+CRLF.
សរសេរ The data to be written. The content of this field must be formatted according to the selected data format.

តុ 6-3 I2C Control Panel – EEPROMAddrRead256

command_name device_name data_format សរសេរ
UartSendCharCRLR UART CHAR+CRLF send char CR LF ftdi+-*/123
UartSendChar UART CHAR send char ftdi+-*/987
UartSendHex UART HEX ៣៤ ៣៥ ២៣ ៨៦ ៧ ៤

តុ 6-4 UART Fill Command Example

Exampលេ ១៖
Select command “UartSendCharCRLR”

FTDI-CHIP-FT260-Test-Utility- (23)

Exampលេ ១៖
Select command “UartSendChar”

FTDI-CHIP-FT260-Test-Utility- (24)

Exampលេ ១៖
Select command “UartSendHex”

FTDI-CHIP-FT260-Test-Utility- (25)

Definition of Error Messages

ភ្ជាប់
Please refresh and connect again.

FTDI-CHIP-FT260-Test-Utility- (26)

ផ្តាច់៖
After connecting, the utility will detect FT260 is connected or not.

FTDI-CHIP-FT260-Test-Utility- (27)

I2C៖
Please check I2C bus or I2C slave.

FTDI-CHIP-FT260-Test-Utility- (28)

ព័ត៌មានទំនាក់ទំនង

អឺរ៉ុបមជ្ឈឹមបូព៌ាអាហ្វ្រិក

  • Future Technology Devices International Limited (0K)
  • Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 IHH, United Kingdom
  • Tel: +44 (O) 141 429 2777
  • អ៊ីមែល (ផ្នែកលក់)៖ salesl@ftdichip.com
  • Email (Technical Support): supportl@ftdichip.com

អាមេរិក

  • Future Technology Devices International Limited (USA)
  • 7130 SW Fir Loop, Tigard, OR 97223-8160, USA
  • ទូរស័ព្ទ៖ +1 (503) 547 0988
  • អ៊ីមែល (ផ្នែកលក់)៖ us.sales@ftdichip.com
  • Email (Technical Support): us.support@ftdichip.com

ចិន

  • Future Technology Devices International Limited (ចិន)
  • Room 1103, No. 666 West Huaihai Road, 200052, Shanghai, P.R., China
  • ទូរស័ព្ទ៖ +86 (21) 62351596
  • អ៊ីមែល (ផ្នែកលក់)៖ cn.sales@ftdichip.com
  • Email (Technical Support): cn.support@ftdichip.com

អាស៊ីប៉ាស៊ីហ្វិក

  • Future Technology Devices International Limited (Singapore)
  • 1 Tai Seng Avenue, Tower A #03-06, Singapore 536464
  • ទូរស័ព្ទ៖ (+65) 6841 1174
  • Tel (Technical Support): +886 (0) 2 8797 1330
  • អ៊ីមែល (ផ្នែកលក់)៖ tw.salesl@ftdichip.com
  • Email (Technical Support): tw.supportl@ftdichip.com

Webគេហទំព័រ៖ http://ftdichip.com

តំណាងចែកចាយ និងលក់
សូមចូលទៅកាន់ទំព័របណ្តាញលក់របស់ FTDI Web គេហទំព័រសម្រាប់ព័ត៌មានលម្អិតទំនាក់ទំនងរបស់អ្នកចែកចាយ និងអ្នកតំណាងផ្នែកលក់របស់យើងនៅក្នុងប្រទេសរបស់អ្នក។
System and equipment manufacturers and designers are responsible to ensure that their systems, and any Future Technology Devices International Ltd (FTDI) devices incorporated in their systems, meet all applicable safety, regulatory and system-level performance requirements. All application-related information in this document (including application descriptions, suggested FTDI devices and other materials) is provided for reference only. While FTDI has taken care to assure it is accurate, this information is subject to customer confirmation, and FTDI disclaims all liability for system designs and for any applications assistance provided by FTDI.

Use of FTDI devices in life support and/or safety applications is entirely at the user’s risk, and the user agrees to defend, indemnify and hold harmless FTDI from any and all damages, claims, suits or expense resulting from such use. This document is subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Neither the whole nor any part of the information contained in, or the product described in this document, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH, United Kingdom. Scotland Registered Company Number: SC136640

ឧបសម្ព័ន្ធ A - ឯកសារយោង

ឯកសារយោង
FT260 HID class USB to UART/I2C Master UMFT260EV1A Development Module

ឧបសម្ព័ន្ធ C - ប្រវត្តិកែប្រែ

  • Document Title : AN_565 User Guide for FTDI FT260 Test Utility
  • Document Reference No. : FT_001646
  • Clearance No. : FTDI# 618
  • ទំព័រផលិតផល៖ https://ftdichip.com/product-category/products/
  • មតិកែលម្អឯកសារ៖ ផ្ញើមតិកែលម្អ
ការពិនិត្យឡើងវិញ ការផ្លាស់ប្តូរ កាលបរិច្ឆេទ
1.0 ការចេញផ្សាយដំបូង ៨៦៦-៤៤៧-២១៩៤

សំណួរដែលសួរញឹកញាប់

Can I use FTDI devices in life support or safety applications?

It is not recommended to use FTDI devices in life support or safety applications as it is entirely at the user's risk.

ឯកសារ/ធនធាន

FTDI FT260 Test Utility [pdf] ការណែនាំអ្នកប្រើប្រាស់
FT260, FT260 Test Utility, FT260, Test Utility, Utility

ឯកសារយោង

ទុកមតិយោបល់

អាសយដ្ឋានអ៊ីមែលរបស់អ្នកនឹងមិនត្រូវបានផ្សព្វផ្សាយទេ។ វាលដែលត្រូវការត្រូវបានសម្គាល់ *