ESP32 如何实现ns级延时

weiluo66
Posts: 5
Joined: Mon Jan 04, 2021 7:26 am

ESP32 如何实现ns级延时

Postby weiluo66 » Fri Apr 16, 2021 10:02 am

如图所示
Attachments
1.png
1.png (219.76 KiB) Viewed 6292 times

zliudr
Posts: 360
Joined: Thu Oct 03, 2019 5:15 am

Re: ESP32 如何实现ns级延时

Postby zliudr » Mon Apr 19, 2021 4:11 am

我已有点感兴趣。也许可以只在一个核上运行RTOS,另一个核来做这些纳秒级的延时?

jiangteng
Posts: 25
Joined: Wed Jan 30, 2019 7:08 am

Re: ESP32 如何实现ns级延时

Postby jiangteng » Mon Apr 19, 2021 5:40 am

esp32底层可实现us级延时。对于ns级别的时序控制,请使用RMT外设来实现,它非常灵活,非常适合用于各种自定义编码。

Ray.Wang
Posts: 1
Joined: Thu Apr 22, 2021 12:56 pm

Re: ESP32 如何实现ns级延时

Postby Ray.Wang » Thu Apr 22, 2021 12:58 pm

2812建议用PWM/SPI+DMA驱动

Who is online

Users browsing this forum: No registered users and 58 guests