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

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Topics - LennonNM

Pages: [1]
1
According to the documentation, if I understand correctly, these are the values I should send for slave selection SS0 -> 0b0001, SS1 -> 0b0010, SS2 -> 0b0100, SS3 -> 0b1000, but, only the option for SS0 is working, the others return an FT4222_INVALID_PARAMETER error, however, sending any combination with the lsb in 1 (0b0011, 0b0101, …) does not return any error, however, only SS0 works in those cases.
Following is my spiMaster_Init configuration:

ioLine : SPI_IO_SINGLE
clock_div : CLK_DIV_4
cpol : CLK_IDLE_LOW
cpha : CLK_LEADING
ssoMap : 2 (0b0010)

Can't see if I'm doing something wrong or what I'm missing.

2
Discussion - Drivers / FT4222 more than 8 bit data frame / python drivers
« on: January 15, 2021, 02:15:34 PM »
Hi, I'm trying to make an interface in python, first of all, if someone knows of a package (other than python-ft4222) or an alternative library to Libft4222 from FTDI (they already answered me that this library does not have the functionality I require), please tell me.

For the frame data, I require to communicate with a ADS1118 temperature sensor, which requires minimum 16 bit data frame, as told by FTDI reps, Libft4222 (therefore, also python-ft4222) only operates at 8 bit data frame, so I'm getting a "gap" in between each byte. Does someone know a workaround to get at least 16 continuous bits?

Thanks in advance.

Pages: [1]