LoginSignup
2
3

More than 5 years have passed since last update.

ESP8266 / Arduino > GPIOのHigh/Low速度の限界 > 5.172kHzなど

Last updated at Posted at 2016-02-06

RPiのGPIOで1Mhzのクロックをだそうとして失敗。
http://qiita.com/7of9/items/d4c2ec34c368569e0882

関連して、ESP8266ではどうなのかと疑問に思った。
以下を見つけた。

The fastest I was able to get it going on GPIO output was 5.172 KHz.. for a 80 Mhz device, that's a huge order of magnitude of terrible.

...

In pure C tight loop in AVR maybe 1Mhz
using Arduino calls to their API maybe 250khz
on 80Mhz 32 bit platform... maybe 10-20Mhz
...

Arudino IDEを使うと5kHz程度が限界ということだろうか。

PWMを使う?

PWMを使って31kHzを出している例がある。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3