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 ... 21
1
Discussion - Drivers / Re: First asynch FIFO read always takes 3 seconds
« on: September 19, 2019, 04:36:51 PM »
Hello Mike,

Which OS are you using?

Have you tested without the C# wrapper?

See TN_167 FTDI FIFO Basics for some useful information and basic test code.

Has your application set flow control for RTS_CTS?

Best Regards,
FTDI Community

2
Discussion - Hardware / Re: FT601 FT245 mode: small IN transfers
« on: September 18, 2019, 02:37:00 PM »
Hello,

Please can you contact email support (support1@ftdichip.com) with a screenshot of the settings of your chip as seen in the FT60x Chip Configuration Programmer.

Regards,
FTDI Community

3
Hello,

Either of these devices should be a good solution for reading sensors. Do you have any additional requirements such as do the sensors need clock stretching? Also, will you be polling the interrupt lines normally and doing a read over I2C to a sensor when it flags a result being ready?

You can address multiple slaves with either FT260 or FT232H.

As you mentioned, we have a few software examples for the FT232H and it uses our standard FTDI driver. The FT260 uses the Windows HID driver and you can either program with low-level HID request or can use our LibFT260 library in your application to allow the use of more user-friendly calls such as I2C_Write etc.    Which programming language would you be using?

For GPIO, the FT232H would allow the unused port pins to be GPIO (usually up to 12 although some will be output until configured and may need a buffer or series resistor if the sensor will drive a signal in). An I/O expander would be another option and would share the I2C bus.

Best Regards, FTDI Community



 

4
Discussion - Drivers / Re: Purpose of FT4222_SetClock()
« on: September 12, 2019, 04:33:10 PM »
Hello,

The FT4222H operates with a 12 MHz crystal (or oscillator) and generates a standard internal 480 MHz clock for the USB interface. The Clock Synthesizer takes the 480MHz clock from the embedded UTMI PHY and generates the 80MHz, 60MHz, 48MHz and 24MHz as reference clocks. The user can select one of these reference clocks via the API, FT4222_SetClock which is defined in LibFT4222, as the system operating clock. The system operating clock will be the base and used by the embedded functions to generate the required interface clock.

AN_329_User_Guide_for_LibFT4222 states the I2C master speed cat be between 60kbps and 3400kbps.

It ignores the calculation when i2c master frequency is not in this range.

Add 1K resistor on R18 and R19 for I2C external bus pull-up.

Best Regards,
FTDI Community

5
General Discussion / Re: FT813 Custome Font Text
« on: September 12, 2019, 12:19:49 PM »
Hello,

Sorry, must have pasted the link back in without the password after a couple minutes of fighting with the hyperlink.
This one should work now:
BRT_AN_042.zip

Best Regards,
FTDI Community

6
Discussion - Software / Re: FT813 (or BT815) few fonts at the same time.
« on: September 12, 2019, 11:49:47 AM »
Hi,

Yes here is an example of SetFont2 below.

Also, as Rudolph mentioned, the BT81x can use font .glyph flies directly from FLASH. But the .xfont file should be copied to RAM_G. This can either be stored on the MCU or can be stored on flash and then copied by your code to RAM_G.

Code: [Select]
void SAMAPP_ExtendedFormat_Font()
{
SAMAPP_API_Screen("Unicode Font");
#define UNICODE_HANDLE 30
Gpu_FontsExt_t font;
uint32_t fontAddr = RAM_G;
//Load glyph file into BT815's flash
//Load xfont file into graphics RAM

/* Switch Flash to FULL Mode */
Gpu_CoCmd_FlashHelper_SwitchFullMode(g_phost);
Gpu_Hal_LoadImageToMemory(g_phost, TEST_DIR "\\mssong_20.xfont", fontAddr, LOAD);
Gpu_Hal_WaitCmdfifo_empty(g_phost);

Gpu_CoCmd_Dlstart(g_phost);
App_WrCoCmd_Buffer(g_phost, CLEAR(1, 1, 1));
App_WrCoCmd_Buffer(g_phost, COLOR_RGB(255, 255, 255));

Gpu_CoCmd_SetFont2(g_phost, UNICODE_HANDLE, fontAddr, 0);
Gpu_CoCmd_Text(g_phost, 0, 0, UNICODE_HANDLE, 0, u8"BRT的EVE技术是一个革命性的概念,");
Gpu_CoCmd_Text(g_phost, 0, 30, UNICODE_HANDLE, 0, u8"利用面向对象的方法创建高质量的人机界面(HMI) 同时支持显示,");
Gpu_CoCmd_Text(g_phost, 0, 60, UNICODE_HANDLE, 0, u8"音频和触摸功能。");
App_WrCoCmd_Buffer(g_phost, DISPLAY());
Gpu_CoCmd_Swap(g_phost);
App_Flush_Co_Buffer(g_phost);
Gpu_Hal_WaitCmdfifo_empty(g_phost);
Gpu_Hal_Sleep(4000);
}

Best Regards, BRT Community

7
That's another good suggestion Rudolph,

You could either scale the image up for the main image or could even load a small version of the same high quality image currently displayed, scale it up and display it in place of the main image whilst replacing the data of the main image. That way the image would appear to remain on-screen whilst you change the high quality one un-seen by the user.

Alternatively, with fast SPI transfers, you can load the image very quickly and so the user won't notice the change (some of our examples where we play video are basically loading a series of images from an SD or camera in this way such as this one https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/MCU/BRT_AN_018-FT90x-Camera-to-EVE.pdf)

Best Regards, FTDI Community

8
Hello,

Please contact email support on support1@ftdichip.com and we will look into your issues further and where appropriate post the outcome here.

Regards,
FTDI Community

9
General Discussion / Re: FT813 Custome Font Text
« on: September 11, 2019, 10:52:11 AM »
Hello,

Copying the URL into your browser should work as noted in the last post.
It covers pulling the font widths from the data and printing the characters correctly with these widths.

I will pass this on to the development team to see if they can adjust the font convertor utility accordingly.

Best Regards,
FTDI Community

10
General Discussion / Re: FT813 Custome Font Text
« on: September 10, 2019, 04:09:11 PM »
Hello,

Rudolph may be able to advise you on his Library's operation, but it looks like maybe a font width issue.

You can find a draft of an upcoming application note which covers the use of special font characters at the following:
BRT_AN_042.zip

Please let me know if this helps.

Best Regards,
FTDI Community

EDIT: the hyperlink seems to be messing with the URL, if you copy it into your browser it should work fine.

11
Discussion - Software / Re: EVE image loading problem
« on: September 10, 2019, 01:46:43 PM »
Hello,

Yes would you be able to provide the converted images and code that you're using?

Best Regards,
FTDI Community

12
Discussion - Software / Re: cannot enter MPSSE mode
« on: September 10, 2019, 12:49:15 PM »
Hello,

We are dealing with your issue via email.

Please put the resolution here for other community user's benefit.

Best Regards,
FTDI Community

13
Hello,

Can you please test with known good hardware like our Development Modules?

You could also send your schematics to your local support team for review. See Contact Us.

Best Regards,
FTDI Community

14
Discussion - Software / Re: FT813 (or BT815) few fonts at the same time.
« on: September 06, 2019, 01:56:03 PM »
Hi,

Although in theory you can scale individual characters of text like an image, it is normally more feasible to load the font several times converted to different sizes. If you don't need all characters (e.g. maybe just numbers and maths symbols) you can save some space there too. Or in many cases you can try L2 or L4 format or even L1 which won't take up as much space. You can experiment a bit to see what looks good on the screen.

If you want just a few sizes, then loading each to a different bitmap handle should work well.

For BT81x, we have a beta sample app below which you can refer to for BT81x. See SampleApp folder in this file and in particular within sampleapp go to src -> Application -> Set_10.c -> ExtendedFormatFont() for an example.

BT81x Sample Apps

Note that the file is around 200MBytes.

Best Regards, FTDI Community

15
Discussion - Software / Re: EVE Screen Designer - color problem
« on: September 04, 2019, 09:47:47 AM »
Hello,

The alpha colour channel does not take effect for theses widgets.
But I've ran a test and the colours seems to be working fine on our end.

Can you provide your project files?

Best Regards,
FTDI Community

Pages: [1] 2 3 ... 21