STM32G4 TCXO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 1:58 AM
I'm running CubeIDE 1.16.0.
while (1)
{
HAL_GPIO_TogglePin(GPIOC, LED_G_Pin);
HAL_Delay(100);
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
Solved! Go to Solution.
- Labels:
-
RCC
-
STM32G4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 9:06 AM
Show that code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 9:07 AM
@CrazyChel wrote:whether such a board layout can affect the operation of the generator
It seems that the oscillator is operating as specified - it's just the wrong part for this application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 9:11 AM
@CrazyChel wrote:I use FT2MN at 40 MHz. Its output was connected through a 10 pF capacitor and a 220 Ohm resistor, in series
Please show the actual schematic - far better than trying to describe connections in words.
But it doesn't sound at all like what the datasheet recommends:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 9:52 AM
I am already in contact with Abrakon, as soon as it becomes clear I will share.
It seems to me that the problem is the low amplitude of the signal at the output of the generator. Even if I disconnect the generator from the controller, the amplitude remains low.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-20 11:01 AM
0.8 Vpp isn't sufficient for the incoming clock signal to the STM32F4.
Should be able to find a different part that outputs a clock with 3.3V logic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-24 2:54 AM
Thanks to everyone who responded.
In this case, it was my mistake with the choice of the generator. I mistakenly perceived 0.8 Vp-p as 0.8 V from the supply voltage of the generator. But it is not so. This is exactly 0.8 Vpp (peak to peak). Abrakon recommended using generators with HСМОS output.
They have a slightly lower accuracy and more consumption, but the output voltage meets the requirements of the STM32 datasheet.
Below is an excerpt from two datasheets of the CSW generator and the HCMOS. I hope this will help you not to repeat my mistakes.

- « Previous
- Next »