2021-06-15 06:27 AM
I am developing an application for a STM32L412CB and use the comparator COMP1. I designed my pinout with CubeMX and put the output of the comparator on PB0. I also checked table 14 in the Datasheet Rev.8 on page 58, if it is correct. Now I wanted to configure the comparator by myself, not with HAL. I was very surprised, that table 16 on page 67 says, the alternate function of the comparator output is on PB1 instead of PB0. What is the correct pin? And what is the correct number of alternate function here?
I assume, that there is a mistake in the AF table and it should be PB0 with AF12. Correct? If not, we have to make a new layout :face_screaming_in_fear:
The same problem is also for PB10/11in the same table.
Solved! Go to Solution.
2021-06-16 02:56 AM
Hello @Bitschubse
The table 14 is the correct one.
Table 16 should be corrected.
I will raise the errors along to our team for correction in next release.
Thanks again
Imen
2021-06-16 02:35 AM
Hello,
I will check and get back to you.
Thanks for reporting this confusion
Imen
2021-06-16 02:56 AM
Hello @Bitschubse
The table 14 is the correct one.
Table 16 should be corrected.
I will raise the errors along to our team for correction in next release.
Thanks again
Imen
2021-06-16 03:12 AM
Thanks Imen. You saved my day!!! 8)
2021-06-16 03:16 AM
You are welcome