STM32L431V LQFP100 problem with SPI2 - MISO
STM32L431V LQFP100
SN : 54FF6B067266535348440967
Firmware : V2J27S6
I use the periphery SPI2 ( CLK enabled ), the periphery is connected PIN:
PD_1 (CLK) - config is AF_5, LowSpeed, MODE_AF_PP, NOPULL
PD_4 (MOSI) - config is AF_5, LowSpeed, MODE_AF_PP, NOPULL
PD_3 (MISO) - config is AF_5, LowSpeed, MODE_AF_PP, NOPULL
periphery config:
SPI_CR1 = 0x33D
SPI_CR2 = 0x300
and Enabled periphery
Send Messaging is OK, but receiving messages is BAD.
the correct date is PD_3 (MISO), but incorrect data is SPI_DR ( SPI_DR is always 0x0FF0 )
the same problem is wiht PIN PC_2
BUT the same setting registr and the same SW works on SPI3 correctly (PC10, PC11 and PC12).
Where is the problem on SPI2 ??
