Utilization of official STM resources for initializing the address of an STM32 in code
Hello, I am a fairly new user of STM32. I recently came across the concept that in order to transmit over I2C from one STM32 to another, I must put the address of the slave STM32 as a parameter in the transmit function. In order to do this, I must set the address of the slave STM32 in CubeIDE. But when generating code in CubeMX, there is no code that generates the address of the slave in the slave’s program even when its 7-bit address is set, so I must manually do for example #define I2C_SLAVE_ADDRESS 0x33 in the slave’s program in CubeIDE. I discovered this from an unofficial tutorial, but I was wondering where specifically I could get official confirmation of this in STM’s official resources? (By specifically I mean for example say it’s in the reference manual, which chapter / sub chapter)?
Any insights would be greatly appreciated - thanks!
