User Activity

I have configured my stm32g031 mcu as an i2c slave. My PC terminal is my master device and is connected to mcu via FTDI cable. When I do a i2c write, I can see mcu receives the data. But when I do an i2c read, I can see it reads 255 on my pc terminal...
My stm32 mcu is a i2c slave device. When master sends the address on the bus, I want stm32 to respond with a known byte upon address match. How can I do that?I want to send different type of data with different size to the stm32 slave. How can I make...
On my stm32g0 mcu there is no eeprom. So, I am using internal flash to save one byte user data to retain it between power cycles.I am doing it the following way,Add Data section in memory in the linker scriptMEMORY { ......  DATA (xrw) : ORIGIN =...