2023-09-19 08:59 AM
Hello.
I have made a custom project with STM32H735IGT. I use Touchgfx.
I am using external flash and external RAM. The problem is when I place the framebuffer in external RAM. Some green pixels appear as in image 1. When I place the framebuffer in internal RAM, the image is painted well.
I am using IS66WVH16M8DBLL-100B1LI RAM. I attached hardware configuration, the RAM is OCTOSPI2.
Where is the problem?
Solved! Go to Solution.
2023-09-20 05:08 AM
mmm if you put the bitmap in the internal flash and you have the same effect, then it's useless to search on the octospi... without the external RAM everything is perfect, then it's the RAM. Very strange over some colors. I think only can be hardware line frequency problem or DMA data corruption.
2023-09-20 05:11 AM
please check if in cubemx every ram gpio pin is set to
GPIO_SPEED_FREQ_VERY_HIGH
2023-09-20 05:16 AM - edited 2023-09-20 05:18 AM
You have PB8 LTDC_B6 and PB9 LTDC_B7 in fast mode disable in LTDC, why? this is blue region of color, exactly your problem
2023-09-20 05:32 AM
2023-09-20 07:15 AM
I think for hardware problem friend, everyting seems to be ok, try to change RAM chip.
2023-09-21 02:01 AM
Hi Fernando, do your RAM is on the same flash bus?
2023-09-21 04:29 AM
No.
I have the flash on the octospi1, and the RAM on the octospi2. They are independent.
¿Could it be some RAM configuration parameter?
The evaluation board (STM32H735G-DK) mounts S70KL1281DABHI020, I am mounting IS66WVH16M8DBLL-100B1LI. I am setting the same configuration parameters. In the ST UM2679 it indicates that it is an alternative to S70KL1281DABHI020.
2023-09-21 07:21 AM
I don't think they are the parameters, as the problem is not random. You would have a homogeneous distribution across the entire display, whereas the drawing has a distribution on the color in particular. It's really a complicated thing. Are the octospi lines resistor finished? Are they the same length? can you post just the basic project? the .ioc you posted doesn't even have the octospi1 setting. which flash do you use? it's difficult to follow such detailed problems from a forum, can you take screenshots of the CAD with the detail of the tracks on the RAM?
2023-09-21 09:42 AM
Hi fernando, you do not set MPU, the MPU is very important for RAM settings.
2023-09-21 09:47 AM