SPI2 migrate from STM32H743XiHX to sPi32H743ViHx PC to PC_2
I am trying to convert project file from STM32H743XiHX (265 pin package)to sPi32H743ViHx (100 pin package)
I use Spi (with DMA actice) 2 on original board and MISO and MOSI where connected to PC2 & PC3
on new Board MISO and MOSI of SPI2 are connected to PC2_C & PC3_C
My Spi IS not working.
I tried doing several tests:
1)I tried changing to regular GPIO and found that the output lines of the spi are active and i can touggle them.
2)I tried changing the analog switch as seen in datasheet and other example on the net like this :
HAL_SYSCFG_AnalogSwitchConfig(SYSCFG_SWITCH_PC2, SYSCFG_SWITCH_PC2_CLOSE);
HAL_SYSCFG_AnalogSwitchConfig(SYSCFG_SWITCH_PC3, SYSCFG_SWITCH_PC3_CLOSE);
Any suggestion why SPI is not working ?
