Skip to main content
Bitschubse
Associate II
June 15, 2021
Solved

Error in Datasheet Rev.8 of STM32L412CB?

  • June 15, 2021
  • 4 replies
  • 967 views

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.

This topic has been closed for replies.
Best answer by Imen GH

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 

4 replies

Imen GH
ST Employee
June 16, 2021

Hello,

I will check and get back to you.

Thanks for reporting this confusion

Imen 

Imen GH
Imen GHBest answer
ST Employee
June 16, 2021

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 

Bitschubse
Associate II
June 16, 2021

Thanks Imen. You saved my day!!! 8)

Imen GH
ST Employee
June 16, 2021

You are welcome