testing writing some bytes over SPI2, mcu is master, so SPI is master mode:
below mi initialization.
spi->cr1 = CR1_MSTR | CR1_SPE | CR1_SSOE | CR1_CPHA;
spi->cr2 = CR2_MODFEN;
// 12Mhz SPI clock
spi->br = 0x00;
I see clearly by scope the clock generated on SCK by the mcu, but on MOSI i only see level to go fixed high.