User Activity

I used this function to initialize and setup STM32H743IIT6 uC to work with SPI in master mode:void InitSPI(void) { RCC->APB2ENR=0x00102000; //Enabling SPI45 clock (default: rcc_pclk2=25MHz) SPI4->CFG1=0x30070007; //Baud rate = SPI clock / 16 = 1....
These bits are always 0 and I can't change the voltage scaling of MCU (The code is stuck at both "while"s). The MCU P/N is STM32H743IIT6. The starting part of the code is:int main(void) { PWR->D3CR=0x0000C000; //changing voltage scaling to VOS1 ...