Well, it is not quite clear what you actually want to achieve, so several questions already arise:
- Should your LCD work in multiplex or statically?
- Are you aware that the RM0031 mentions 1/8 duty, but the STM8L052 does not support 1/8 duty?
- Are you also aware that the RM0031 is an RM for a whole group of quite different STM8s and that the STM8L052 has no COM4...COM7?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.