#4. STM32F4 I2C Using Registers || Master mode || NO HAL ||

preview_player
Показать описание
________________________________________________________________________________________


The Final code have all the functions from this video + from the I2C Receive video also. I have merged them both.

________________________________________________________________________________________

******* SUPPORT US BY DONATING******

*******Join the Membership*******

Рекомендации по теме
Комментарии
Автор

This video is a lifesaver. I have to program an I2C master driver for an MC (a lpcxpresso 804) for university but struggled to understand all the steps in the provided example program. Though this shows a different MC, the steps are similar enough to help me understand what is going on. Have a drink on me. Thanks again!

TheScythe
Автор

Thank u for the video! Loving the register series!!

sumedhburbure
Автор

Im glad to be Excellent and waiting for upcoming videos on registers using multitasking using up mechanisms

malleswaritippireddy
Автор

thank yo bro, I am going to make an example with MPU6050 by using your guide video.

ucontrolchannel
Автор

Nucleo 64 f446RE is best board, I bought it buy watching your videos.

Pushpam
Автор

You are a legend. Thanks for this. I did notice that website code is a little different in that you enable ACK in the I2C_Start() but I guess this does not matter having this or not in your example.

joecandoit
Автор

Great tutorial again. Thank you so much. Can you show us how to use STM32 to control (vary) the duty cycles of the 16 output channels of PCA9685?. I want to be able to set the duty cycle of each channel in a complex heater design.

huangsy
Автор

Thank you for great tutorial sir.I have question.in which part of reference manuel or datasheet it says we have to configure I2C pins as Open -Drain?Thank you.

ilkeraykut
Автор

Hi so i was working on g474re series which has no ccr registers for i2ç instead it has timing register bit confusion with what formula to use here could you please provide some insights,

Shet_does
Автор

Thank you, so much. Your tutorial help me everytime I need help :)

ludekspacek
Автор

sir my start bit is set but my SB bit is not set it goes in a loop can you please give me a solution

laughandlearnkck
Автор

hello your course is very clear and useful I am really enjoying it. Can you please provide us a tutorial on the LIBJPEG plz

bochraakrout
Автор

I'm trying the code, following from the very beginning as you showed us in the first video. In the debugging phase I follow the code and it stops at the function I2C_Address, "while (!(I2C1->SR1 & (1<<1)))". The address bit in the status register 1 is never set and the code stops here. Is this a reason that I can't read anything, in my case, from the MPU6050? Thanks again for the amazing work here!

MirusWoozy
Автор

For some reason this didn't work. I have the same I2C module as well. I've been following along using an STM32FR01RE, and the other three tutorials were fine, but this one did not work whatsoever. The address is incorrect despite having the same I2C module and verifying the address in the data sheet of the pcj.

EDIT: My jumper wires were bad. I bought a bunch of new ones and came back to this to try those and it worked perfectly.

High_Rate
Автор

This is exactly what I have been looking for. Decoding HAL functions to get this info is grueling. Some devices (like STM32G474) cannot be done with uVision5 alone but require CubeMX which adds huge files/dependencies to the project. Would love to see that sorted out.

kenwallace
Автор

Hello, there are some differences in registers with stm32g031k8 and stm32f4, How can I change my codes?

omercebeci
Автор

Many thanks again, on the net these simple and great tutorial are missing... thank goodness you are there!
Can I ask you ... what's you name? who is the good boy of 'Controllers Tech' ? 😉👍

berrywhite
Автор

So setting i2c is just a sending binary code via pins

vlad_kach_
Автор

hi.
you doing nice job. thank you very much.
please made video about CCD & stm32f103. example tsd1304.
best regards.

sergfert
Автор

Thank you so much. I have seen the I2C read also. So, how to read this module through I2C. Please, help.

sharana.p