EVE2 QSPI not responding

FTDI/Bridgetek EVE2 & EVE3 & EVE4 SPI TFT Series by Matrix Orbital

Moderator: Mods

Post Reply
broth1969
LCD?
Posts: 4
Joined: Thu Jul 18, 2019 3:01 pm

EVE2 QSPI not responding

Post by broth1969 »

I have a EVE2-43A-BLM-TPN connected to our FPGA platform with Ambiq Micros MSPI quad master controller. Attached is the schematic connection through a 1.8V to 3.3V level shifter to the 20 pin FPC connector on J5. We cannot get any response from the FT812 on the EVE2 module when we try to read the electronic ID at 0xC0000-0xC0003. The MISO pin just stays low like nobody is home. RESET_n is high and Power is good. Any ideas?


-Blake Roth
Attachments
FTDI_x4SPI_Display- FMC Connector_v4.pdf
(55.8 KiB) Downloaded 238 times

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: EVE2 QSPI not responding

Post by Daniel Divino »

Hey there Broth!

Welcome to the forums!

Could you provide the initialization code that you are using for your setup?

In all of our demos we send the following to the display:

Code: Select all

Gpu_Hal_SetSPI(host, GPU_SPI_SINGLE_CHANNEL, GPU_SPI_ONEDUMMY);

		/* Access address 0 to wake up the chip */
		Gpu_HostCommand(host, GPU_ACTIVE_M);
		Gpu_Hal_Sleep(300);

		/* Read REG_CHIPID to confirm 0x7C is returned */
		{
			uint8_t chipid;
			//Read Register ID to check if chip ID series is correct.
			chipid = Gpu_Hal_Rd8(host, REG_ID);
			while (chipid != 0x7C)
			{
				chipid = Gpu_Hal_Rd8(host, REG_ID);
				delay(100);
			}

			printf("VC1 register ID after wake up %x\n", chipid);

		}
Are you sending something similar?

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

broth1969
LCD?
Posts: 4
Joined: Thu Jul 18, 2019 3:01 pm

Re: EVE2 QSPI not responding

Post by broth1969 »

From software:

"According to the programmers guide, you need to send CLKEXT and ACTIVE commands before trying to read any registers. I’ve added this code now, but I’m still getting 0’s back for both the REG_ID and for the DeviceID reads."


We have the trace in a Saleae logic analyzer file. Can you look at that file format if I email it or something?


Does the backlight or analog voltages need to be connected? This seems fairly basic and we have 2 brand new displays we are trying.


Thanks
-Blake

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: EVE2 QSPI not responding

Post by Daniel Divino »

Hi Blake,

Could you specify which demo you are referencing?

It is recommended that the ACTIVE command is sent to wake up the Graphics controller.

We could try taking a look at the file here, though we don't actually use a Saleae logic analyzer.

While the backlight doesn't need to be connected, 3V3 power should be supplied through pin 1 on the EVE2 board.

Were you able to test the display's communication using one of our USB2SPI bridges, or an Arduino Scoodo Shields?

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

broth1969
LCD?
Posts: 4
Joined: Thu Jul 18, 2019 3:01 pm

Re: EVE2 QSPI not responding

Post by broth1969 »

I don't have any of the USB2SPI bridges, or an Arduino Scoodo Shields....yet. I'd hope to not have to go that route but if I do need to can you suggest part numbers and the best place to order these host examples?

Here are some screen shots of the initialization sequence from our logic analyzer traces. The display does seem to be responding now that the command sequence is correct but, the values it is returning do not jive with the datasheet.

-Blake
Attachments
Shows no external xtal/clock so we set to internal(contradictory to the programmers's guide)
Shows no external xtal/clock so we set to internal(contradictory to the programmers's guide)
EVE2_sch.png (335.66 KiB) Viewed 4781 times
1)	Set Host to Internal Clock: (schematic shows no external clock)
1) Set Host to Internal Clock: (schematic shows no external clock)
init_1.png (177.25 KiB) Viewed 4781 times
2)	Set Host to ACTIVE mode:
2) Set Host to ACTIVE mode:
init_2.png (192.21 KiB) Viewed 4781 times
3)	Wait 600msec<br />4)	Read REG_ID (returns 00 instead of 7C).  We do this 4x with 200msec wait between and always returns 00.
3) Wait 600msec
4) Read REG_ID (returns 00 instead of 7C). We do this 4x with 200msec wait between and always returns 00.
init_3-4.png (244.18 KiB) Viewed 4781 times
5)	Read Chip ID from memory. We don’t see the 0x08, 0x12, 0x01 as expected.
5) Read Chip ID from memory. We don’t see the 0x08, 0x12, 0x01 as expected.
init_5.png (320.58 KiB) Viewed 4781 times

broth1969
LCD?
Posts: 4
Joined: Thu Jul 18, 2019 3:01 pm

Re: EVE2 QSPI not responding

Post by broth1969 »

After slowing the SPI clock down below 11Mhz for initialization we have a backlight and are reading the DEV_ID correctly!

Post Reply