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 - elpic76

Pages: [1]
1
Dear Sirs,
thanks to your suggestions I was able to solve my issue.
Now I'll continue the development on a ME813A-WH50C and on a ME812A-WH50R using an external microcontroller NXP LPC2364 in single SPI.
Best Regards.
Mosè

2
Discussion - Software / Sample App on ME813AU-WH50C and ME812AU-WH50C
« on: July 19, 2018, 10:48:20 AM »
Good morning,
I'm trying to interface both the ME813AU-WH50C and ME812AU-WH50C using visual studio 2015 and the SampleApp but I've problem with the ft4222 configuration as SPI master.
Debugging the code the device firstly is CLOSED then it opens using FTOpenEx but I can communicate with the device and I can't test the display.
Below you find the log of the sample app output:

Number of D2xx devices connected = 2
Dev 0:
 Flags= 0x2, (DEVICE_CLOSED) (High-speed USB)
 Type= 0xa
 ID= 0x403601c
 LocId= 0x2121
 SerialNumber= A
 Description= FT4222 A
 ftHandle= 00000000
[1]th of total connected devices is FT4222 A (SPI) : host->hal_hanlde = 01126FB0
Dev 1:
 Flags= 0x0, (DEVICE_CLOSED) (Full-speed USB)
 Type= 0xa
 ID= 0x403601c
 LocId= 0x2122
 SerialNumber= B
 Description= FT4222 B
 ftHandle= 00000000
[2]th of total connected devices is FT4222 B (GPIO) : host->hal_hanlde = 01126FB0
SPI:chipversion = 0x42220300     dllversion = 0x1020133
User Selected SPI clk : 20000 KHz
Configured clk :  Ft4222 sys clk enum = 3 , divisor enum = 2
FT4222 clk = 3
Init FT4222 as SPI master device failed!
FT4222_SPI_SetDrivingStrength failed!
Init FT4222 as GPIO interface failed!
FT4222_GPIO_Write error = 3
FT4222_GPIO_Write error = 3
2157 FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Wr failed
FT4222_SPIMaster_SetLines failed with status 3
SPI write failed = 3
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Rd failed
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Rd failed
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Rd failed
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Rd failed
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Rd failed
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Rd failed
FT4222_SPIMaster_SingleWrite failed, SizeTransfered is 0 with status 3
Gpu_Hal_FT4222_Rd failed
....

What can I do to solve the problem?
Best Regards.
Mosè

3
New Member Introductions / Hello from Italy
« on: July 19, 2018, 10:42:01 AM »
Hello,

I'm new here and I used mainly USB to UART converter from many years.
Now I'm struggling with FT4222 installed on ME812AU-WH50 and ME813AU-WH50.

Best Regards,
Mosè

Pages: [1]