FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

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 1362 times)

rpshah

  • 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?
Logged

FTDI Community

  • Administrator
  • Sr. Member
  • *****
  • Posts: 341
    • View Profile
Re: API for setting clock divider
« Reply #1 on: May 01, 2018, 12:04:35 PM »

Hello,

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
Logged