Skip to main content
Associate III
Nov 4, 2026 10:46 PM UTC
Solved

g_m_crit of a crystal for the LSE oscillator

The app note AN2867 has a table of recommended crystals for the LSE oscillator (Table 7). There’s a line for Abracon ABS07 32.768kHz crystal (datasheet), and it’s recommended for the G4 family. The gmcrit = 2.1631 μA/V in the table.

Section 3.4 in the app note AN2867 asks for a gain margin gm / gmcrit greater than 5. The gm for STM32G474 is 0.5 μA/V for low drive capability and 2.7 μA/V for high drive capability (table 42 in the STM32G474 datasheet).

The 2.7 / 2.1631 is noticeably less than 5.  At the same time, this crystal is recommended for STM32G4. How does the ABS07 32.768kHz crystal meet the gain margin recommendation?  I’m asking because I’d like to understand the gain margin requirement.

 

Best regards,
Nick

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Nov 12, 2026 11:48 AM UTC

Hello,

Please refer to this knowledge base article: 

The parameter provided in the datasheet table 42 is Gm_crit_max 

The condition is gm_min / gm_crit

Where gm_min = 5 * Gm_crit_max 

From the article given above:

AN2867 Table 5 provides gm_min and Gm_crit_max for each product with the corresponding drive level. And for G4, the gm_min for low drive is 2.5.

Look at the values of gm_min and Gm_crit_max in this table. There is a multiple of 5.

So in your operation 2.7 / 2.1631, a multiplication of 5 is missing. It should be 2.7 * 5 / 2.1631 = 6.241 > 5.

Does it answer your question?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

5 replies

Associate II
Nov 5, 2026 12:33 AM UTC

 

According to STM32G474, the Gm value can be checked. Gmcrit can be got from the equation while ESR is from crystal datasheet. F is freq setting while C0 and CL can be got from Schematics. Gain margin need to calculated with value larger than 5

Associate III
Nov 12, 2026 3:46 PM UTC

1.5 mA/V is the transconductance for the high speed oscillator (HSE).  I’m asking about the low speed oscillator (LSE).

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Nov 12, 2026 11:48 AM UTC

Hello,

Please refer to this knowledge base article: 

The parameter provided in the datasheet table 42 is Gm_crit_max 

The condition is gm_min / gm_crit

Where gm_min = 5 * Gm_crit_max 

From the article given above:

AN2867 Table 5 provides gm_min and Gm_crit_max for each product with the corresponding drive level. And for G4, the gm_min for low drive is 2.5.

Look at the values of gm_min and Gm_crit_max in this table. There is a multiple of 5.

So in your operation 2.7 / 2.1631, a multiplication of 5 is missing. It should be 2.7 * 5 / 2.1631 = 6.241 > 5.

Does it answer your question?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate III
Nov 12, 2026 3:42 PM UTC

Thank you!  I missed the Table 5 on first reading of the app note.  g_m(crit) = 13.5 is the parameter of the drive in the STM32.  (It’s in the app note, but not in the STM32G474 datasheet, which contributed to confusion.)  g_m_crit_max = 2.7 is the max for the crystal, so it should be compared against the parameter in the crystal datasheet.  13.5 / 2.7 = 5, wand that was the factor of 5 which I was missing.

mƎALLEm
ST Technical Moderator
Nov 12, 2026 3:44 PM UTC

If your question has been answered, please mark as Best Answer my previous post.

Thank you.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.