EVE2 QSPI not responding

FTDI/Bridgetek EVE2 & EVE3 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 » Thu Jul 18, 2019 3:18 pm

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 21 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 » Thu Jul 18, 2019 4:22 pm

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 » Mon Jul 22, 2019 2:41 pm

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 » Mon Jul 22, 2019 3:17 pm

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 » Tue Jul 23, 2019 1:50 pm

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
EVE2_sch.png
Shows no external xtal/clock so we set to internal(contradictory to the programmers's guide)
EVE2_sch.png (335.66 KiB) Viewed 353 times
init_1.png
1) Set Host to Internal Clock: (schematic shows no external clock)
init_1.png (177.25 KiB) Viewed 353 times
init_2.png
2) Set Host to ACTIVE mode:
init_2.png (192.21 KiB) Viewed 353 times
init_3-4.png
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 353 times
init_5.png
5) Read Chip ID from memory. We don’t see the 0x08, 0x12, 0x01 as expected.
init_5.png (320.58 KiB) Viewed 353 times

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

Re: EVE2 QSPI not responding

Post by broth1969 » Tue Jul 23, 2019 2:22 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest