GithubHelp home page GithubHelp logo

Can 1 STM32F drive 2 mosfet Driver? about bldc HOT 4 OPEN

Knockoi avatar Knockoi commented on August 16, 2024
Can 1 STM32F drive 2 mosfet Driver?

from bldc.

Comments (4)

Knockoi avatar Knockoi commented on August 16, 2024

DRV8301:
MOSI: GPIOC 12
MISO: GPIOC 11
SCK: GPIOC 10
CS: GPIOC 9

DRV8305:
MOSI: GPIOC 12
MISO: GPIOC 11
SCK: GPIOC 10
CS: GPIOB 5

from bldc.

Knockoi avatar Knockoi commented on August 16, 2024

I want to drive two mosfet drivers with one stm32f like foCbox unity. I'm going to use two DRV8301's. I don't know if VESC allows 1 STM32F to receive SPI from two Mosfet Drivers.
Is there anyone who can help me with the PROJECT?

from bldc.

ilbeylia avatar ilbeylia commented on August 16, 2024

This project allows you to control two DRV8301 MOSFET drivers using a single STM32F4 microcontroller through SPI. The STM32F4 series typically has two or more SPI interfaces. Here are the SPI pin connections:

You can use two SPI units, for example, SPI1 and SPI2.
Example pin connections for SPI1:

SCK: PA5
MISO: PA6
MOSI: PA7
NSS: PA4
Example pin connections for SPI2:
SCK: PB13
MISO: PB14
MOSI: PB15
NSS: PB12
You can configure these connections using the STM32CubeIDE and write the necessary code to complete your project. If you need assistance, feel free to reach out to me.

from bldc.

Knockoi avatar Knockoi commented on August 16, 2024

from bldc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.