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.

Messages - steve

Pages: [1]
1
Hi,

We are using LibMPSSE V1.1. And I have selected the SPI MODE0 in code. But the issue is with same mode and 6MHz Clockrate SPI write and read works properly and with 30MHz clockrate its not. Do you have any idea?


Thank you.

2
Discussion - Software / Re: FT232H Configuration
« on: May 24, 2022, 11:27:15 AM »
Hi Kalesha,

I think you have to configured SetBitMode 0x02 from d2xx file. This command will set your device for MPSSE mode.

3
Hello,

Yes I am using SPI mode 0 and i have also captured data with previous code which we are using for data transfer, in that code everything is working fine.

In the image, i have set clockrate of 6MHz(which we are using previously) and
SPI Write: 0x3F6, AA
SPI Read: 0x3F6, AA


Thank you



4
Hello,

Here i have attached scope images of SPI Write and SPI Read operation with clockrate of 30MHz.

For SPI Write:
Address: 0x3F6, Data: AA

With SPI Read,
Address: 0x3F6, Data: 55

Please check the images and let me know.

5
Hello,

I have Checked all MPSSE initialization commands and they are properly initialized.

We are using clockrate of 6 MHz before that time Read and Write working properly. After changing clockrate to 30MHz as per your suggestion, we are facing problem in Write and Read operation.

for eg. with 30MHz Clockrate,
          in Write operation (Address 0x800 & Data = AA)
          During Read Operation (Address 0x800 & Data = 55)

Do you have any suggestion on that?


Thanks

6
Hello,

Thank you for suggestion.

we tried your configuration in our code, we achieve 30MHz Clockrate but SPI write and SPI read time is not synchronised with clock. we are missing some bits while we read data from slave.

Do you have any idea on that?


Thanks

7
Hello,

I am using FT2232H mini module with lib-MPSSE file for SPI.
We want 30MHz SPI Clock. we tried to change clockrate function from lib-MPSSE example code so we entered frequency which we want but not able to achieve 30MHz clockrate.

channelConf.ClockRate = 5000;
channelConf.LatencyTimer= 255;
channelConf.configOptions = \
SPI_CONFIG_OPTION_MODE0 | SPI_CONFIG_OPTION_CS_DBUS3;
channelConf.Pin = 0x00000000;/*FinalVal-FinalDir-InitVal-InitDir (for dir 0=in, 1=out)*/

We tried to change above example. so can anyone help me with this code and how to get 30MHz clock rate.

Pages: [1]