2022-02-13 06:56 PM
I saved font table in norflash and copy to sdram for used.
I want to show text “abcdefghijklmn�? but it actually shows is “a#c#e#g#i#j#m#�?, and the strange thing is that all the odd chars are correct and the even chars have this strange behavior.
The text show normal when font table is used in norflash by memory-map mode.
What's the problem?
Solved! Go to Solution.
2022-02-16 04:23 PM
After debug for some time, I found It is fault of my hardware board configuration. The font table access is not 4 byte aligned. It's ok after I enabled sdram's cache function.
2022-02-16 04:13 AM
Hello V.H,
For your typography, do you use 4bpp? Is the problem also there if you use 8bpp ?
Have you set the ByteAlign bit (previously known as A4) ? You can refer to this link if you're unsure.
I can suggest you to try a similar configuration as our TouchGFX Designer demo : "STM32G071 Unmapped font demo" for your project.
/Osman
2022-02-16 04:23 PM
After debug for some time, I found It is fault of my hardware board configuration. The font table access is not 4 byte aligned. It's ok after I enabled sdram's cache function.
2022-02-17 12:33 AM
Glad to hear that your problem is solved :)
I invite you to close this post if you have no more question about this issue.
/Osman