summaryrefslogtreecommitdiff
path: root/docs/esp8266/tutorial/nextsteps.rst
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2021-06-09 10:47:18 +0200
committerDamien George <damien@micropython.org>2021-06-26 22:14:47 +1000
commitf45412793e78cd5013b83b8de5219183eb53eca5 (patch)
tree170d0f20bffbe8c6979d0c936fa266c374b50e35 /docs/esp8266/tutorial/nextsteps.rst
parentf3e4ed82a11243dfed0e0370ab0d77e947ff6d34 (diff)
mimxrt/machine_spi: Add the SPI class to the machine module.
This class supports SPI bus controller mode, with blocking transfers. SPI device numbers start at 0, to comply with the pinout of the Teensy boards. With the configured clock frequency the fastest baud rate is 33MHz. For messages longer 16 bytes DMA is used. The class uses the existing framework with extmod/machine_spi.c. Extended driver options: - drive=n with n being between 1 and 6 or PIN.POWER_1 to PIN.POWER_6. Since the pins used by the SPI are fixed, no Pin settings can be made. Thus the drive option is added allowing to control ringing and crosstalk on the connection. - gap_ns=nnnnn is the time between sent data items in a frame given in ns. Default is 2 clock cycles.
Diffstat (limited to 'docs/esp8266/tutorial/nextsteps.rst')
0 files changed, 0 insertions, 0 deletions