[STM32H743 - Bug in cube] after setting I2S (SPI) from 'master' transmit to 'slave' : no more data coming...
on H743 board (DevEboard) I2S1 (master 16b 44k1) -> ES9038 DAC (I2S slave) :
DAC playing music fine, ok.
now switching DAC to I2S master , H743 to slave transmitter mode : no data / silence.
test with DSO : pin PA7 (SDO) is tri state now! thats WRONG !!!!
looking in ds/manual , see, maybe change SDi/SDO pins, when change master -> slave mode....
so i try: set in cubeIDE pin PA6 (i2S SDI ) manual to SDI ("no mode" , "yellow" ( pin in cube) = warning);
compile...run : DAC playing, so data coming from "inactive" and "no mode" pin, but from ("green": pin in cube) SDO nothing coming.
i think, this is obvious error in cube; missing the IOSWAP in SPI_CFG2 to set or wrong setting preset.
to proof , i add pinswap in HAL_I2S.c driver / init slave mode:
now sound is ok again; so data coming from SDO now (again).
@Imen DAHMEN or @Julien D_OEHAUDT ... STM
so please rectify, if i am right.
