FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  


Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support

New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: API for setting clock divider  (Read 19537 times)


  • Newbie
  • *
  • Posts: 2
    • View Profile
API for setting clock divider
« on: April 24, 2018, 11:41:21 am »

I am using LibFT4222.h and ftd2xx.h library for communicating with FT4222H device.
As per the LibFt4222 programming guide user can set the clock by FT_SetClock function once the FTDI device is opened in SPI_MASTER_INIT mode.
Similarly if user wants to set clock divider also then is there any API for setting clock divider for FTDI device once it is opened in SPI_MASTER_INIT mode?

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 906
    • View Profile
Re: API for setting clock divider
« Reply #1 on: May 01, 2018, 12:04:35 pm »


This has been answered via email and is pasted here for the benefit of the community:

If you wish to change the Clock Divider for the SPI master you would need to recall the FT4222_SPIMaster_Init() function.

Best Regards,
FTDI Community