2021-08-09 08:26 AM
2021-08-09 09:00 AM
When you use CubeIDE wizard for create projects can select examples from SDK or you can locate it in folder ...
And I2C you need check with scope ...
2021-08-09 10:00 AM
Try to keep the summary/title consise, and put the bulk of the question and contextual detail into the body of the question.
Edit the post if the formatting/content doesn't meet your expectations after submission.
What I2C display?
Connected How (to what pins)?
Compilers only care about syntactical details, they can't determine logic or implementation issues, you'll need to debug, and scope pins, etc to come to a better understand of why the display doesn't respond.
2021-08-09 03:43 PM
Thanks! I an about to get out a analyzer now!
2021-08-09 03:48 PM
Tesla-
Thanks for the info on posting.
I first wanted to use a 2 line by 16 character as is shown in the tutorial. Once that works, try to figure out myself how to get a 4 line by 20 character to work as well.
I cannot get the 2x16 to work however. It flashes its backlight and then - nothing.
This is the link for the tutorial:
STM32 HAL with CubeMX: Tutorial 42 - I2C LCD16x2 driver - YouTube
I am using the 1st I2C port: HAL_I2C_Init(&hi2c1
I am about to get the analyzer out to see what is going on with the CLK and the DATA lines.