Good day, everyone.I'm trying to launch SPI1 under Arduino IDE. The transmission didn't work and I switched to direct control of the registers. The code used is below: #include <Arduino.h>
#include <SPI.h>
void setup()
{
SPI.begin();
Serial1.beg...
The problem is solved. By default, stm32duino sets the system clocking from PLL1P. And SPI1 cannot use this signal as a source. I switched SPI1 to clocking from PER_CK and everything worked.