there is nothing on github.
there is initialization by SPI before the LTDC works
is there a sequence like you initialize it first over SPI then
MX_LTDC_Init() or it does not matter
I do have the initialization code but I am missing something
void ...
what does exactly happen here ?
static void WriteCommand(uint8_t cmd)
{
HAL_SPI_Transmit(&hspi2, &cmd, sizeof(cmd), HAL_MAX_DELAY);
}
&cmd is address of the variable
I wonder if HAL is actually transferring data at that address ?
I have not seen displays with 1 data Lane MIPI but they are always 2 data Lane MIPIbut some STM chips have only one 1 data Lane MIPICan it be somehow connected like grounding the remaining line.
I have this code it transfers to 0x90000000 (OSPI) data__IO uint8_t *mem_addr; /* USER CODE BEGIN 2 */HAL_OSPI_MemoryMapped(&hospi1, &sMemMappedCfg) mem_addr = (uint8_t *)(OCTOSPI1_BASE + address);for (index = 0; index < BUFFERSIZE; index++){*mem_ad...
This is not the first time I am having problem to send data over SPI, that was the problem again.You would have to see on logic analyzer to compare the waves.So I disabled SPI and assigned PINs as output. And I made my own SPI interface using pins as...
if he is talking LTDC then we would have something like RGB323 format.You would use pins R7, R6, R5, G7, G6, B7, B6, B5. Nobody is using something like this.There is no such a thing.RGB565 is the most popular.a have a few projects connected to 8 bit ...
You can always use this code to write then enable memory mapped mode later and read from 0x90000000You write to address = 0This code is working on me on H7 chip and same MX25LM5124I had some problems too to write in mapped mode. /* Configure the memo...