You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/06/26 14:59:05 UTC
[incubator-nuttx] 03/03: Documentation/platforms/arm/imxrt: update
documentation with FlexPWM support
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit b88b5b14c89aefbd926d62899fc108d23a4a97df
Author: Michal Lenc <mi...@seznam.cz>
AuthorDate: Sat Jun 26 11:56:20 2021 +0200
Documentation/platforms/arm/imxrt: update documentation with FlexPWM support
Signed-off-by: Michal Lenc <mi...@seznam.cz>
---
Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst | 11 +++++++++++
Documentation/platforms/arm/imxrt/index.rst | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst b/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst
index ccb33c3..d3dcb1b 100644
--- a/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst
+++ b/Documentation/platforms/arm/imxrt/boards/teensy-4.x/index.rst
@@ -118,6 +118,17 @@ focused on network-related testing.
This configuration cannot be changed to Teensy 4.0 as this board does
not have Ethernet capability.
+pwm-4.1
+-------
+
+This configuration is similar to the nsh configuration with enabled
+FlexPWM driver. Submodules 1 (pin 4) and 2 (pin 5) of FlexPWM2 are turn
+on aswell as ultiple channel PWM output. Functionality can be tested
+with example application "pwm". Each channel runs different duty cycle.
+
+This configuration can be easily changed to work with Teensy 4.0 by
+selecting ``CONFIG_TEENSY_40=y``.
+
sd-4.1
------
diff --git a/Documentation/platforms/arm/imxrt/index.rst b/Documentation/platforms/arm/imxrt/index.rst
index f694e89..95381f5 100644
--- a/Documentation/platforms/arm/imxrt/index.rst
+++ b/Documentation/platforms/arm/imxrt/index.rst
@@ -52,7 +52,7 @@ ENET Yes
FlexIO No
GPIO Yes
I2S Yes
-PWM No
+PWM Yes
SAI No
SPDIF No
SPI Yes
@@ -150,7 +150,9 @@ as a slave. The lower-half of this driver is initialize by calling :c:func:`imxr
PWM
---
-Pulse width modulator supported in i.MX RT1010 and higher.
+Pulse width modulator supported in i.MX RT1010 and higher. Multiple channels option is evailable.
+Output on pin B is currently supported only as a complementary option to pin A.
+The lower-half of this driver is initialize by calling :c:func:`imxrt_pwminitialize`.
SAI
---