Weird characters on I2C 16x2 LCD
- January 2, 2021
- 2 replies
- 2887 views
Greetings to all.
I'm Following some online courses to learn to program STM32. I have a very weird behavior of my board that gives me not few headaches. After reviewing, changing, testing my codes for 2 days i found a way to get my program running correctly, but i don't know why.
I was not able to make my i2c display work correctly. Allways weird characters as in Picture1. No way to make it run correctly.
So i finally decided to upload my first working project for learning displays and it worked correctly (Picture2)
Then i returned to upload again the program with weird chars and without modifying anything, and now it works! (Picture3)
If i disconnect (turn off) the usb of the nucleo, when i recconnect it, it "boots" as in Picture 4 and i have to redo all from start to make it works correctly.
So i thought it does not depend on code. but to something else.
Configuration:
Windows 7 (i will try with linux tomorrow)
TrueSTUDIO 9.3.0
CubeMX 6.1.0
Nucleo64 F401RE with still attached the STLink
USB 2.0 via a 10 port hub
Thank you
