# VBCore VB32G4

Последние версии всех 3D моделей, фото и схем продукции VBCores можно найти у нас на github: <https://github.com/VBCores/VBCores_files>

{% columns %}
{% column %}

<figure><img src="https://github.com/VBCores/VBCores_files/blob/main/01-VB-Core32G4/vbcore32g4-v1_3-1.jpg?raw=true" alt="" width="188"><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="https://github.com/VBCores/VBCores_files/raw/main/01-VB-Core32G4/vbcore32g4-v1_3-2.jpg" alt="" width="188"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% embed url="<https://github.com/VBCores/VBCores_files/raw/main/01-VB-Core32G4/vbcore32g4-v1_3-pinout.png>" %}
Pinout модуля
{% endembed %}

[📥 Скачать PDF (Pinout модуля)](https://raw.githubusercontent.com/VBCores/VBCores_files/main/01-VB-Core32G4/vbcore32g4-v1_3-pinout.pdf)

Основной модуль VBCore на базе микроконтроллера STM32G447RE.  Предназначен для встраивания в различные устройства в качестве интегрированного решения, имеет односторонний монтаж.  Ниже дана документация к микроконтроллеру.

Модуль можно программировать как традиционными средствами от производителя микроконтроллера (STM32 CUBEIDE и другие), так и через среду Arduino IDE (STM32duino), пользуясь всем многообразием готовых библиотек.

{% hint style="info" %}
В Arduino (stm32duino) каждый пин STM32 может иметь несколько альтернативных функций. В файле `PeripheralPins.c` перечислены все их варианты. По умолчанию ядро выбирает первый подходящий вариант (например, для PB7 это I2C1\_SDA), но если вам нужно использовать другую функцию того же пина (например, I2C4\_SDA), придётся указать альтернативное определение — `PB_7_ALT1`.

Ссылка на файл: <https://github.com/stm32duino/Arduino_Core_STM32/blob/main/variants/STM32G4xx/G473R(B-C)T_G473RETx(Z)_G474R(B-C-E)T_G483RET_G484RET/PeripheralPins.c>
{% endhint %}

#### What's On Board

1. **STM32G474RE:** the high performance STM32 MCU which features:
   * **Core:** Cortex-M4 32-bit RISC
   * **Operating Frequency:** 170MHz, 213 DMIPS
   * **Package:** LQFP64
   * **Memories:** 512kB Flash, 96kB SRAM, 32kB CCM SRAM
   * **MCU communication Interfaces:**
     * 4 x SPI, 3 x USART, 2 x UART, 2 x I2S, 4 x I2C, 3 x FDCAN
     * 1 x USB 2.0 full-speed interface with LPM and BCD support
   * **AD & DA converters:** 5 x AD (12-bit); 1 x DA (12-bit)
2. **TPS54160:** 5V DC-DC converter
3. **AP2112K-3.3:** 3.3V voltage regulator
4. **MCP2542FD:** FDCAN transceiver, PB8-PB9
5. **SWD+UART:** JST-GH 1.25 (6 pin)
6. **User LEDs:** PA5, PD2
7. **User Button:** PC13
8. **Power indicator LED**
9. **MCU Reset button**

#### Features

* **Power Input**: 6-60V, reverse polarity protection, TVS protection
* **Power Output**: 5V 1.5A, 3.3V 0.6A
* **FDCAN**: up to 8MBit/s data bitrate, TVS protection
* **HSE**: 8MHz crystall
* **LSE**: 32.768KHz crystall

#### Dimensions

* 30.48mm x 38.1 x 6mm

### SWD Interface

JST GH1.25, 6pin

<table><thead><tr><th width="94">Pin</th><th width="121.39996337890625">Is</th></tr></thead><tbody><tr><td>1</td><td>GND</td></tr><tr><td>2</td><td>5V</td></tr><tr><td>3</td><td>SWCLK</td></tr><tr><td>4</td><td>SWDIO</td></tr><tr><td>5</td><td>TX USART2</td></tr><tr><td>6</td><td>RX USART2</td></tr></tbody></table>

Схема электрическая принципиальная:

{% embed url="<https://github.com/VBCores/VBCores_files/blob/main/01-VB-Core32G4/vbcore32g4-v1_3-schematic.png?raw=true>" %}
Принципиальная электрическая схема
{% endembed %}

[📥 Скачать PDF (Принципиальная электрическая схема модуля)](https://raw.githubusercontent.com/VBCores/VBCores_files/main/01-VB-Core32G4/vbcore32g4-v1_3-schematic.pdf)

Документация к микроконтроллеру:

{% file src="<https://3551773033-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjLyfPc4FcQUfXFi5fQr%2Fuploads%2FzEkQBG0rktAfa8q3Bf49%2Fstm32g474cb.pdf?alt=media&token=a112a635-8e05-439a-8304-da55373d01b2>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://voltbro.gitbook.io/vbcores/vbcores-hardware/vbcore-vb32g4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
