Forum: Analoge Elektronik und Schaltungstechnik Controlling DC DC converter with STM32


von Kranthi Kumar B. (kranthikumar_b)


Angehängte Dateien:

Lesenswert?

Hello,
I am using a Bidirectional buck boost dc dc converter for charging and 
discharging battery. I had MPQ4210 evaluation board, its ouput voltage 
is programmble through I2C.
Actually, what I want to do is connecting a battery at the output 
terminals of the converter board. There I need to control the dc dc 
converter using MCU, voltage and current sesnors and PWM.
Now I do not know how to use STM32 to control the board.
Can anyone help me to do this task.
I am using NUCLEOF070RB as a MCU.

von Stefan F. (Gast)


Lesenswert?

The document does not contain the needed information. Ask the 
manufacturer for help.

Are you familiar with programming the I²C interface of your 
microcontroller? If not, you should practise this first with a simple 
microchip, for example a PCF8574.

Maybe my homepage helps. I don't know how good google translates it: 
https://translate.google.com/translate?hl=en&sl=de&tl=en&u=http%3A%2F%2Fstefanfrings.de%2Fstm32%2Fstm32l0.html%23i2c&sandbox=1

von Kranthi Kumar B. (kranthikumar_b)


Angehängte Dateien:

Lesenswert?

Hello,
Thanks for your response. I did get some output voltage from the dc dc 
converter I used the I2C software given by the MPS i.e., Virtual bench.
So, I can measure the battery voltage using voltage divider and current 
using ACS712 sensor that can be given to the MCU.
But how can I control the converter module. I did not have much 
experience in the coding that to I2C is very hard for me in STM32.
I know how to generate the PWM signal using MCU. But how can I use this 
signal on the converter module. The gate drivers are already installed 
in the Converter board.
I am uploading another document of the converter board.

von Stefan F. (Gast)


Lesenswert?

Kranthi Kumar B. schrieb:
> I did not have much experience in the coding
> that to I2C is very hard for me in STM32.

The (second) attached dcoument contains the description of the I²C 
protocol which is pretty much standard. It contains alos the description 
of the registers, that's everything you need.

See also the I²C Bus specification UM10204 
(https://www.nxp.com/docs/en/user-guide/UM10204.pdf).

You habe to learn it starting with a asimple peripheral as I suggested 
above.

Or do you want to offer a development Job here? If yes, then write down 
all requirements and prepare to send a working hardware setup package, 
so one can make an offer.

We are talking about thousands of EUR, I hope that is clear.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.