cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h7 fmc lcd 8 bit setup

OguzhanBalci
Associate III

I've been trying to run the fmc and lcd over an 8-bit data line for a few days. Yesterday I managed to read the ids of the lcd correctly, but because I messed up the timing settings of the fmc (timing settings were working randomly), I can't get any results anymore, I would be very grateful if anyone can help me about this code. By the way, the processor I'm using is stm32h750vbt6 rev v and the chip I'm trying to drive is ili9486. I've included images below that you might want to see.

combine_images.jpg

ss4.png

Click to maximize

ss5.png

Click to maximize

   

1 REPLY 1
OguzhanBalci
Associate III
HAL_Delay(300);
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_1, 0);
HAL_Delay(1);
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_1, 1);
HAL_Delay(100);
volatile uint8_t buf[3];
*((uint8_t*) 0x60000000) = ILI9486_CMD_RDID4;
buf[0] = *((__IO uint8_t*) 0x60040000);
buf[0] = *((__IO uint8_t*) 0x60040000);
buf[1] = *((__IO uint8_t*) 0x60040000);
buf[2] = *((__IO uint8_t*) 0x60040000);
UNUSED(buf);