HI I have a stm32f103c8t6. I connected data pin of LCD to portA.& RS,RW,EN to PB0...PB2 . but my lcd is really confused. everyTime i send "111" to LCD it shows "333". everyTime i send "qqq" to LCD it shows "sss". and ... i test my library on stm32f103zet.it worked!!! I even changed the resistor(91K ohm) on LCD to 75K ohm because of working voltage stm32f103c8t6(3.3V) but the problem didn't solve. can you Help me?
Sounds like a data line is not being controlled correctly. Possibly the d1 line.
What did your scoping and logic analyzer screens show? What about your debugging results?
Thanks alot. my problem solved. D1's wire was cut.