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 - FTDI Community

Pages: 1 2 [3] 4 5 ... 44
31
Discussion - Software / Re: FT4232H I2C Library recommendations
« on: August 02, 2021, 03:41:20 PM »
Hello,

The LibMPPSE library is essentially a wrapper library for standard D2XX API calls, the source is available is required, and it appears you already have access to this.
Please fell free to modify the LibMPSSE source code as required for your given application and produce a custom DLL.

Best Regards,
FTDI Community

32
Discussion - Software / Re: FT4232H I2C Library recommendations
« on: August 02, 2021, 11:47:16 AM »
Hello,

The FTCI2C.dll is no longer supported so we would recommend using the LibMPSSE.dll for new projects. however unfortunately the LibMPSSE helper library only supports GPIO functionality on the GPIOH pins.

There are two options for programming the MPSSE on the device to act as a SPI/I2C bridge, the first being to utilise LibMPSSE
The second option is to use raw D2XX commands to issue opcodes and data to the device, please see the following for a list of MPSSE opcodes:
https://www.ftdichip.com/Support/Documents/AppNotes/AN_108_Command_Processor_for_MPSSE_and_MCU_Host_Bus_Emulation_Modes.pdf

You will need to utilise a D2XX approach if you wish to utilise the GPIOL pins in your application.

Please see the following for an example of using raw D2XX commands in an I2C MPSSE application:
https://ftdichip.com/wp-content/uploads/2020/08/AN_113_FTDI_Hi_Speed_USB_To_I2C_Example.pdf

The MPSSE Basics application note may also be useful to you:
https://www.ftdichip.com/Support/Documents/AppNotes/AN_135_MPSSE_Basics.pdf

Best Regards,
FTDI Community

33
General Discussion / Re: FT813_Riverdi display 7 inch
« on: July 29, 2021, 02:43:54 PM »
Hello,

Thank you for the update.

I have had a quick look at the pinout for the module you are using and the pin out on the LCD connector on the click board, it appears that these do not match. For example the CS# signal is pin 3 on the LCD, but it is pin 6 on the Click board. Riverdi should be able to confirm this for you, but I suspect a mismatch in signal assignments is the root cause of the issue currently.

As for your second question, no toggling the PD pin is optional during the boot sequence, however we would recommend implementing this functionality via a GPIO pin if possible.

Best Regards,
BRT Community

34
General Discussion / Re: FT813_Riverdi display 7 inch
« on: July 26, 2021, 03:49:07 PM »
Hello,

Thank you for your question.

Unfortunately we do not have any specific examples for the NXPS32K148, but if you intend on implementing your solution with a low power MCU I would suggest looking at the following application notes which concern building an EVE library. The first application note covers how the low level transfers are structured between and MCU (in this example a PIC) and the EVE IC. The second covers how to create an EVE Library to interface to the MCU. And finally the last one covers some EVE examples for PIC MCUs, :
FT81X Simple PIC Example
FT81X Creating a Simple Library For PIC MCU
FT81X Simple PIC Library Examples

These application notes cover how to configure a display, but please take note of the specific display settings your module utilises.

The principals described in these Applications Notes can be used to implement solutions for a wide variety of MCUs, and give a better understating of how EVE functions on a low level.

We are currently finalising another application note based upon BRT_AN_014 above which expands this to a variety of other MCU platforms, I would advise utilising this library for porting to the NXPS32K148. I have uploaded the draft versions of this application note to WeTansfer (we are currently migrating our FTP site), please see the following link:
https://we.tl/t-75ILJqCMMc

As for HMI creation with these libraries you can use the EVE Screen Editor (ESE) to lay out static screens and create Display Lists but this does not create code for the logic of moving between screens. EVE Asset Builder (EAB) is also available to convert any graphics assets (fonts, images, etc) your require into an EVE readable format. These can be found at the following:
https://brtchip.com/eve-toolchains/

Best Regards,
FTDI Community

35
Discussion - Software / Re: Delay Between CLK and MOSI Operation
« on: July 23, 2021, 04:39:24 PM »
Hello,

SPI Mode 1 is not supported with the MPSSE engine.

Please consider FT4222H which supports all SPI modes.

Best Regards,
FTDI Community

36
Discussion - Software / Re: Delay Between CLK and MOSI Operation
« on: July 23, 2021, 11:05:30 AM »
Hello,

This is not possible. Is there a reason why you need it?
You should use the instructions (e.g. clock data on x edge) so that you change data on the edge which is not the valid one and in this case would normally not be an issue.   

Which SPI mode does your SPI peripheral use? Note that MPSSE only supports mode 0 and 2.
Mode 1 or 3 is not supported.

You can also try enabling 3-phase clocking.
This will give 3 phases so data is valid on both edges.

See AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes for more details.

AN_411_FTx232H MPSSE I2C Master Example in Csharp shows an illustration of 3-phase in section 6.2.2.

Best Regards,
FTDI Community

37
Hello,

We have a recovery procedure in this application note below (see section 3.2). Could you advise if this procedure helps to recover from the error?
AN_412_FT600_FT601 USB Bridge chips Integration
https://ftdichip.com/wp-content/uploads/2020/08/AN_412_FT600_FT601-USB-Bridge-chips-Integration.pdf

Best Regards, FTDI Community


38
Discussion - Drivers / Re: FT4222H linux driver's bug
« on: July 06, 2021, 03:05:51 PM »
Hello,

Thank you for your question, I will look into reproducing this behaviour.

Could you just clarify what hardware configuration for the FT4222 you are using? is it the UMFT4222EV-D?


Best Regards,
FTDI Community

39
Discussion - Software / Re: I2C with VinculumII
« on: June 28, 2021, 03:09:15 PM »
Hello,

Thanks for the update! I'm glad you have gotten up and running.

Yes, the slave address should be written on the I2C bus for every vos_dev_read() call issued so the data packet conforms to the I2C standard.

Best Regards,
FTDI Community

40
Discussion - Software / Re: FT4232 libmpsse SPI interface
« on: June 23, 2021, 11:25:48 AM »
Hello,

Could you advise what you see on the MOSI/MISO/CS/SCK lines when you run the code? If you have a logic analyser or a PC-based scope could you capture the lines to see if you are getting the expected waveforms.

Which SPI mode does your SPI peripheral use? Note that MPSSE only supports mode 0 and 2,

Note that you should also check the sizeTransfered value after a read or write to ensure your requested bytes were all transferred.

What was the error which you saw, did you get the expected number of bytes back but they were the wrong values?

One further thing to also check is that you have opened the right channel, depending which channel A or B your SPI device is connected to.

Best Regards, FTDI Community

41
Discussion - Software / Re: FT260 - UART communication
« on: June 22, 2021, 03:27:34 PM »
Hello,

Yes, you are correct, you can use LibFT260 or access the device using raw HID class commands but an application must be running on a PC to control the FT260.

If you want a device to act like a keyboard HID class device per say, then see FT90x or FT93x from our sister company Bridgetek which is a programmable MCU.

Take a look at AN 360 FT9xx Example Applications and the USBD Example HID example. This particular example sends fixed characters, but you could modify the code to bridge to the UART side.

We provide FT9xx Development Modules and a free FT9xx Toolchain for custom application development.


42
Discussion - Software / Re: FT260 usage question.
« on: June 21, 2021, 02:42:39 PM »
Hello,
 
AN_394 User Guide for FT260 and AN_395 User Guide for LibFT260 should answer your questions.
Code examples are provided with the LibFT260 library.


Regards
FTDI Community

43
Discussion - Software / Re: FT260 - UART communication
« on: June 18, 2021, 04:40:34 PM »
Hello,

FT260 must be used with either LibFT260 or by accessing raw HID class commands using an application running on a PC.

AN_394 User Guide for FT260 and AN_395 User Guide for LibFT260 cover both of those scenarios.
Code examples are provided with the LibFT260 library.
If you take a look at AN_395, FT260_UART_SetBaudRate API can be used to set the baud rate.

Best Regards,
FTDI Community

44
Discussion - Hardware / Re: FT232H SPI 30 MBaud wrong transmission
« on: June 18, 2021, 04:35:30 PM »
Hello,

Yes that is correct:

ModeCPOLCPHANotes
000Supported
101Not Supported
210Supported
311Not Supported

We are not aware of any issues at higher speeds like 30 MBaud and the device is widely used.

What hardware are you using?

Are you using the D2XX drivers direct or using LibMPSSE library?

Maybe other FTDI Community users will be able to help you further on this issue.

Best Regards,
FTDI Community

45
Discussion - Software / Re: I2C with VinculumII
« on: June 18, 2021, 04:32:43 PM »
Hello,

Please see AN_151 Vinculum II User Guide for all available information on the APIs.

You can also check the About --> Help in the Toolchain which has the same information but allows you to search.

The i2c.a library is obsolete so that’s why there is no documentation on it.

You are also in contact with our support team via email, feel free to post any information here to help other FTDI users.

Best Regards,
FTDI Community

Pages: 1 2 [3] 4 5 ... 44