Resolved! Strange SPI receive routine in Cube example code
Posted on March 13, 2017 at 00:37This is supposed to receive one byte in SPI bidirectional mode ([STM32Cube_FW_L4_V1.5.0]\Drivers\BSP\STM32L476G-Discovery\stm32l476g_discovery.c):&sharpif defined(__ICCARM__)&sharppragma optimize=none&sharpendif/** *...