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è