# stm32_tle5012b_foc **Repository Path**: vinson-001/stm32_tle5012b_foc ## Basic Information - **Project Name**: stm32_tle5012b_foc - **Description**: 基于STM32G431CBUx + TLE5012B 编码器FoC 电机控制程序。 - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2024-11-21 - **Last Updated**: 2025-09-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # stm32_tle5012b_foc #### 介绍 基于STM32G431CBUx + TLE5012B 编码器FoC 电机控制程序。 #### 硬件接口 hspi1 --> TLE5012B - tle5012b.c:spi 轮询读 - tle5012b_dma.c:dma 读取 hspi3 --> TI drv832x htmier --> ch1-ch3 UVW pwm 输出 ADC1 --> PA0(ch1)、PA1(ch2)、PA2(ch3)、PA3(ch4) - ch1:注入通道,测ia - ch2: - ch3: - ch4:规则通道,测温度 ADC2: -->PA0(ch1)、PA2(ch2)、PC4(ch5) - ch1: - ch2:注入通道,测ib - ch5:规则通道,测电压 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request