Thanks a great Deal for this video. It helped me alot after several manhours of failed debugging. Turns out for the Nucleo F410RB, STM32CubeMX initializes the wrong pins (PB6 and 7) instead of PB8/9 as i discovered by help of your video.
Hi..I want to communicate between two stm32 of different cores via I2C, lets say between F0 and F7.F0 would be slave and F7 master.The idea is when user button on F7 board is pressed ,the control will shift to F0..but i don't know how to give a slave address to my F0 and which registers to use for address..So how can i do that and how to make sure that address is not already in use.
Hey, great video .. I was wondering how to connect your code from the video with the LCD via I2C on the stm32 discovery with this board.. i am trying without success, can you please help me?
I did this for the STM32F446RE board, the LED2 didn't turn on, the address is the same so its a bit weird, I think maybe my board is defective. any suggestions?
If anyone else is stuck on the 1101000 to D0 conversion like I was (or I'm just stupid hehe). 1101 Binary is "D" in hex and 0000 is "0" in hex. Gotta split it into pairs of 4 :o
The HAL documentation says that you need to shift the device address by 1 to the left before calling the interface. Is there a reason you've not done that? Also wouldn't the device address be 0xD1 when you are reading from it since the RW bit is now 1.
HPB1980 Hi, The reason datasheet suggests shift to the left by 1 is because HAL library includes Rd/Wr bit with the address. In my case, I included that directly; Address with the Rd/Wr bit is 0xD0 = 1101 0000 Without Rd/Wr bit is 01101000 = 0x68 Hope this helps
tnx for Video. I want to sense data from SHT31 and send to one TRX modul(CC1101) and then from that to another TRX modul. I have write 2 Projekt seperatly. but when i add one to another , my sensor dont send data. I think , There ist Problem here: HAL_I2C_Master_Receive(&hi2c3, 0x44
Hi, i using 2x16 LCD with PCF8574 chip I2C, i tried all address in data scheet, i am using your same board F401RE but the device is not ready and led2 on board never switch on. I make your same connection on nucleo board SCL and SDA pin on PB8/PB9 respectly. The strange thing is that on arduino i have no issue and i can send some word on LCD like "hello word" ect. How is possible.
already understand and get working, but something fishy happened, when it calculates the second, until 9 should be 10. but it becomes 16. the seconds count is correct until 60. just the numbering is wrong, i got until 90. Do you know about this?
Yes, that's BCD count.. so there are 4 bits for seconds and other 3 bits for 10s of seconds. 000 1001 = 9 decimal = 9 sec 001 0000 = 16 decimal = 10 sec