esp32的io口怎么做的ns的延时控制?

Maple_Leaf
Posts: 19
Joined: Mon Aug 24, 2020 8:38 am

esp32的io口怎么做的ns的延时控制?

Postby Maple_Leaf » Wed Aug 11, 2021 1:08 am

之前用stm32都是自己用NOP();语句拼凑出来的ns级延时,esp32是freertos任务会切换,想做到ns延时要怎么做?请大佬指点一下,谢谢!
24e625fb4f78f3f15412ef460d13a7b.png
24e625fb4f78f3f15412ef460d13a7b.png (120.25 KiB) Viewed 3648 times

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: esp32的io口怎么做的ns的延时控制?

Postby ESP_Gargamel » Wed Aug 11, 2021 1:38 am

可以试试用 RMT 模块自定义编码来做。

Who is online

Users browsing this forum: No registered users and 34 guests