2025-01-12 07:24 AM - last edited on 2025-01-12 07:30 AM by STOne-32
STM32G0B0 datasheet DS13565 Rev 3 in Chapter 3.6 Boot modes tells:
"• USB on pins PA11/PA12 (except for STM32G0B0KE)"
This reads like DFU system bootloader is not available. However AN2606 Rev 64 has no restrictions for DFU bootloader on STM32G0B0.
Is the datasheet wrong or at least missleading or does AN2606 miss a clause for STM32G0B0?
Solved! Go to Solution.
2025-01-13 06:23 AM
Hello,
The datasheet is correct.
On the STM32G0B0, the USB DFU bootloader requires an HSE crystal oscillator. However, on packages with 32 pins, it is not possible to have this oscillator. This is why there is an exception for STM32G0B0KE devices.
In the previous datasheet revision, the USB peripheral was completely removed from the 32-pin package. However, it is still possible to use it if it is clocked by a high-speed external user clock generated from an external source. This is why it has been updated.
If you want to have USB DFU on a 32-pin package, you can check the STM32G0B1, STM32G0C1, or STM32C071.
Best regards,
Simon
2025-01-12 08:00 AM - edited 2025-01-12 08:02 AM
If you have parts you can presumably determine the size of the System ROM/FLASH, and the content.
I'd probably look at the Vector Table, and those associated with USB usage.
2025-01-12 01:17 PM - edited 2025-01-12 03:31 PM
At end of pin table see in ds :
So STM32G0B0 has USB boot, but not in 32pin STM32G0B0K .
2025-01-13 01:50 AM
I do not find this sentence in DS13565 Rev 3.
2025-01-13 05:26 AM
Ok, but in DS13565 Rev2 .
DS13565 Rev3 has just in boot modes :
2025-01-13 06:01 AM
2025-01-13 06:23 AM
Hello,
The datasheet is correct.
On the STM32G0B0, the USB DFU bootloader requires an HSE crystal oscillator. However, on packages with 32 pins, it is not possible to have this oscillator. This is why there is an exception for STM32G0B0KE devices.
In the previous datasheet revision, the USB peripheral was completely removed from the 32-pin package. However, it is still possible to use it if it is clocked by a high-speed external user clock generated from an external source. This is why it has been updated.
If you want to have USB DFU on a 32-pin package, you can check the STM32G0B1, STM32G0C1, or STM32C071.
Best regards,
Simon
2025-01-13 06:35 AM
Ah, now I understand. But AN2606 should also carry this exception!
2025-01-13 08:00 AM
For the next document revision a note will be added. Thanks for your feedback