You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the hardware, I use external high-speed crystal oscillator 50MHz, the program set pll1_q_ck 10MHz, SPI 1MHz, do not use hardware CS, CS use ordinary GPIO push-pull output. After initializing SPI, pull down the CS pin and use the write function to send data, the logic analyzer cannot catch the MOSI terminal and CLK waveform, and MOSI is always at a high level, and the program will get stuck when executed to the write function, but the code written by me in other languages can realize the read and write function, I think the problem lies in the SPI setting. Could you please help me see what the problem is
The text was updated successfully, but these errors were encountered:
On the hardware, I use external high-speed crystal oscillator 50MHz, the program set pll1_q_ck 10MHz, SPI 1MHz, do not use hardware CS, CS use ordinary GPIO push-pull output. After initializing SPI, pull down the CS pin and use the write function to send data, the logic analyzer cannot catch the MOSI terminal and CLK waveform, and MOSI is always at a high level, and the program will get stuck when executed to the write function, but the code written by me in other languages can realize the read and write function, I think the problem lies in the SPI setting. Could you please help me see what the problem is
The text was updated successfully, but these errors were encountered: