You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2025/11/17 12:01:40 UTC
(nuttx) 03/03: Documentation: Add GPT information to RA4M1 documentation
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 9e573371bbef266329273d020ef6a93d3f0191ad
Author: leocafonso <le...@gmail.com>
AuthorDate: Sun Nov 16 12:23:46 2025 -0800
Documentation: Add GPT information to RA4M1 documentation
- Updated information about the RA4M1 microcontroller capabilities, including the General Purpose Timer (GPT).
- Added information about the PWM driver support for the Arduino R4 Minima board using the GPT timer.
Signed-off-by: leocafonso <le...@gmail.com>
---
.../arm/ra4m1/boards/arduino-r4-minima/index.rst | 20 ++++++++++++++++++++
Documentation/platforms/arm/ra4m1/index.rst | 11 +++++++----
2 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/Documentation/platforms/arm/ra4m1/boards/arduino-r4-minima/index.rst b/Documentation/platforms/arm/ra4m1/boards/arduino-r4-minima/index.rst
index a200ab3b42b..3acbb58d9c9 100644
--- a/Documentation/platforms/arm/ra4m1/boards/arduino-r4-minima/index.rst
+++ b/Documentation/platforms/arm/ra4m1/boards/arduino-r4-minima/index.rst
@@ -83,6 +83,26 @@ easily changed by modifying the configuration.
SWD-8 TXD1
================== ============
+PWM Outputs
+===============
+
+The R7FA4M1ABxCFM has a GPT (General Purpose Timer) that can be used for PWM output.
+
+Any of the Arduino-r4-minima PWM outputs can be used. By default, it is disabled in all configurations.
+This can be easily changed by modifying the configuration.
+
+ ================== ============
+ Arduino R4 Minima R7FA4M1ABxCFM
+ Pin (Label) SCI Mapping
+ ================== ============
+ ~3 GTIOC1B_P104
+ ~5 GTIOC2B_P102
+ ~6 GTIOC0B_P106
+ ~9 GTIOC7B_P303
+ ~10 GTIOC3B_P112
+ ~11 GTIOC1A_P109
+ ================== ============
+
Loading Code
============
diff --git a/Documentation/platforms/arm/ra4m1/index.rst b/Documentation/platforms/arm/ra4m1/index.rst
index 6cddb7612ef..15b448bbfc2 100644
--- a/Documentation/platforms/arm/ra4m1/index.rst
+++ b/Documentation/platforms/arm/ra4m1/index.rst
@@ -35,12 +35,12 @@ KINT No
ELC No
DTC No
DMAC No
-GPT No
+GPT Yes Just PWM
AGT No
RTC No
WDT No
IWDT No
-SCI Yes Just UART
+SCI Yes Just UART
IIC No
SPI No
SSIE No
@@ -71,10 +71,13 @@ Nuttx driver support UART mode (No-FIFO).
GPIO
-----
-
-
Pins can be configured/operated using ``ra_gpio_*`` functions.
+GPT
+----
+General Purpose Timer (GPT) is a multi-function timer that can be used in various modes such as PWM output, input capture, output compare, and interval timer.
+Nuttx driver support PWM mode.
+
Supported Boards
================