STM32F303 ; SPI Clock polarity; and interrupt not work
in code : // Bit1 CPOL: Clock polarity // 1: CK to 1 when idle SPI2->CR1 |= 1<<1;in fact clock is Zero when idle .interrupt not work, src: // Bit 7 TXEIE: Tx buffer empty interrupt enable // 0: TXE interrupt masked // 1: TXE int...