I've connected a 16X2 LCD to STM32F401 board and successfully printed characters on the display. However, is it possible to view the contents of the LCD registers (data and command registers) while in debug window? We can view all register contents of the inbuilt peripherals in the STM32F401 board, but does that feature work for external devices like LCD also?
Best thing to do is probably make shadow copies for yourself. There are lots of LCD emulators/simulators out there so there aren't really any unknowns about what is expected (for instance sending data to the DR versus cursor position read back). Probably the Busy Flag is the only thing that's actually unknown and even that has predictable timing.
Of course it's worth mentioning that you can read the LCD data back out of the actual hardware, but this will affect the cursor position.
This is what I am asking about. Can I view the LCD as a peripheral in this window?Is there some option/files when I load that will enable the LCD option in the peripheral list. I am totally new to this embedded programming, Keil software and STM32.
I understood the question, but perhaps did not answer well.
A. No
Unless there is an MCU that has the equivalent of a built-in HD44780 controller, or someone has made plug-in software(?), then I think the answer stands. Love to be proven wrong though.
Ok. thanks for the answer.