stm32h7 fmc lcd 8 bit setup
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-08-04 6:06 AM
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.
Click to maximize
Click to maximize
Labels:
- Labels:
-
FMC-FSMC
-
STM32H7 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-08-04 6:08 AM
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];
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);
