STM32C011 (WeAct) - first step

Post here first, or if you can't find a relevant section!
Post Reply
STM32ardui
Posts: 2
Joined: Mon May 06, 2024 1:46 pm

STM32C011 (WeAct) - first step

Post by STM32ardui »

Today my STM32C011F6P6-boards from WeAct Studio arrived.

As you can see from this picture they don't USB connector, but the 4 pins GND, CLK, DIO, 3V3 for a ST-Link. At the moment I don't have one at home. So can I upload a program also with a USB to UART-adapter like I made it with a BlackPill-board?

So I look around the documentation ...

STM32C0x1 Reference Manual, chapter 2.5 Boot configuration, page 46:

Code: Select all

Embedded boot loader
The embedded boot loader is located in the System memory, programmed by ST during
production. It is used to reprogram the Flash memory using one of the following serial
interfaces:
• USART1
• I2C1
For further details, refer to the device data sheets and the application note AN2606.

AN2606, chapter 5.1 Bootloader configuration (page 49):

Code: Select all

USART1 Enabled Once initialized, the USART1 configuration is 8 bits, even parity, and one stop bit.
USART1_RX pin Input PA10 pin: USART1 in reception mode. Used in input pull-up mode.
USART1_TX pin Output PA9 pin: USART1 in transmission mode. Used in alternate push-pull, pull-up mod

STM32C011x4/x6 datasheet, chapter 4 Pinouts, pin description:
page 27 Fig. 5 shows pinout in TSSOP20 package:
- 17 PA12[PA10]
- 16 PA11[PA9]

Also table 12 on page 29 contains in column "function upon reset" for TSSOP20:
- 16 PA11 [PA9]
- 17 PA12[PA10]

I don't know the meaning of such double numbering, but I think, these pins are the serial interface?

Bye, Jürgen

Windows 10
ArduinoIDE 2.3.2 (as portable version)
with Platform STMicroelectronics:stm32@2.7.1
Post Reply

Return to “General discussion”