I2C master transmission with DMA not Working
Hi I'm trying to establish a communication using I2C with a MCP45HVX1 digital potentiometer device with the stm32g474-re discovery board, I'm using I2C2 module that has been configured with MX with interrupt enabled. I'm using PF0 as SDA and PC4 as SCL. The problem is that the function HAL_I2C_Master_Transmit_DMA(); returns HAL_ERROR firstly because the TXIS flag in the I2C->ISR register is never raised. In the internal registers, I see the BUSY flag being set and peripheral enable bit in the CR1 register raised. What am I doing wrong, it seems like the TXIS flag will never be set no matter what.
Thanks for your time
