How to init SPI properly
Hi,
I am trying to init SPI1 (to just receive data qwith MISO) on nucleo G474RE without using HAL libraries.
Can you help me to assess why my code does not work ?
I can't see the clock eventhough SPI1 is enabled

void SPI1_init(){
RCC-> APB2ENR|=(1 AHB2ENR |= (1MODER &= ~(1 AFR[0] |= (1 AFR[0] |= (1 AFR[0] |= (1 CR1 |= (1 CR1 |= (1 CR1 |= (1 CR2 |=(1CR2 |= (1CR1|= (1CR1|= (1CR1&= ~(1 