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 sends multiple single-byte intervals too long (IDFGH-12773) #13752

Open
3 tasks done
shuiyihang opened this issue May 6, 2024 · 2 comments
Open
3 tasks done

spi sends multiple single-byte intervals too long (IDFGH-12773) #13752

shuiyihang opened this issue May 6, 2024 · 2 comments
Labels
Status: Opened Issue is new

Comments

@shuiyihang
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I need to send multiple bytes cyclically using esp32 s3 spi, I found that even if I don't add a delay, the data interval between each sent byte is very long (15us), I've tried to set the cpu frequency to 240M, is there any way I can regulate this interval, please give me a little guidance, thanks!
我需要使用esp32 s3的spi循环发送多个字节,我发现即使我没有添加延时,每个发送字节之间的数据间隔也很长(15us),我已经尝试把cpu频率设置为240M,有什么办法可以调节这个时间间隔吗,请给我一点指导,谢谢。

image

image

@espressif-bot espressif-bot added the Status: Opened Issue is new label May 6, 2024
@github-actions github-actions bot changed the title spi sends multiple single-byte intervals too long spi sends multiple single-byte intervals too long (IDFGH-12773) May 6, 2024
@KaeLL
Copy link
Contributor

KaeLL commented May 6, 2024

Queue the bytes before committing the transaction. Change .length = 8 to .length = 32 and see what happens.

@shuiyihang
Copy link
Author

Queue the bytes before committing the transaction. Change .length = 8 to .length = 32 and see what happens.

thanks for your reply,things don't seem to be better.
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

3 participants