Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI-W25Q128 use standard SPI #475

Open
userdai1 opened this issue Dec 19, 2023 · 1 comment
Open

SPI-W25Q128 use standard SPI #475

userdai1 opened this issue Dec 19, 2023 · 1 comment

Comments

@userdai1
Copy link

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
图片
图片
图片
图片

@HaoboGu
Copy link

HaoboGu commented Dec 22, 2023

check the example here, do you call spi.send?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants