EasyManua.ls Logo

FTDI LibFT4222 - SPI Set Driving Strength

Default Icon
78 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Application Note
AN_329 User Guide For LibFT4222
Version 1.5
Document Reference No.: FT_001060 Clearance No.: FTDI#406
45
Product Page
Document Feedback Copyright © Future Technology Devices International Limited
Summary:
Reset the SPI master or slave device. If the SPI bus encounters errors or works abnormally, this
function will reset the SPI device. It is not necessary to call SPI init function again after calling this
reset function. It remains all original setting of SPI.
Parameters:
ftHandle
Handle of the device.
Return Value:
FT4222_OK if successful, otherwise the return value is an FT error code.
Error code:
FT4222_DEVICE_NOT_OPENED: The initialization API is not called.
Prerequisite:
FT4222_SPISlave_InitEx or FT4222_SPISlave_Init or FT4222_SPIMaster_Init
3.5.3 SPI Set Driving Strength
FT4222_STATUS FT4222_SPI_SetDrivingStrength(FT_HANDLE ftHandle,
SPI_DrivingStrength clkStrength,
SPI_DrivingStrength ioStrength,
SPI_DrivingStrength ssoStrength)
Supported Chip:
FT4222 chip version
Supported
FT4222 Rev A
YES
FT4222 Rev B
YES
FT4222 Rev C
YES
FT4222 Rev D
YES
Summary:
For the FT4222H SPI, set the driving strength of clk, io, and sso pins. Default driving strength of
all spi pins are 4MA. DS_4MA is adopted mostly. Unless there is some hardware wiring
requirement for device, set driving strength to 4MA is enough.
Parameters:
ftHandle
Handle of the device.
clkStrength
The driving strength of the clk pin (SPI master only):
DS_4MA
DS_8MA
DS_12MA
DS_16MA
ioStrength
The driving strength of the io pin:
DS_4MA
DS_8MA
DS_12MA
DS_16MA
ssoStrength
The driving strength of the sso pin (SPI master only):
DS_4MA
DS_8MA

Table of Contents