STM32F0 Discovery - how to connect LCD display
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-09-19 7:52 AM
Posted on September 19, 2013 at 16:52
Hello everyone,
I have a problem with connecting STM32F0 Discovery board with Hantronix HDM16416H LCD display. I don't know which STM32 pins should be chosen to connecting STM and Hantronix LCD 4x20 display properly.I have it set, as below:LCD pin -> STM pin:E pin -> PC10 pinR/W pin -> PC11 pin RS pin -> PC12 pinVDD pin -> 5V pinD0 pin -> PA3 pinD1 pin -> PA2 pinD2 pin -> PB12D3 pin -> PB11D4 pin -> PA7D5 pin -> PB9D6 pin -> PB8D7 pin -> PA6Is it correct?There is a description of LCD from the manual.
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-09-19 9:13 AM
Posted on September 19, 2013 at 18:13
I don't know which STM32 pins should be chosen to connecting STM
Pretty much what ever available GPIOs you have available. I'd generally recommend wiring a 4 or 8-bit data bus using consecutive pins from a GPIO Bank so the software implementation doesn't become a train wreck. Does it really need 8-bits? Most of these displays can use 4-bits, and it makes no difference to the inherent slowness of them. Go look at some other 16x2 display implementation on other STM32 processors, and how the software abstracts the pin utilization.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
