Skip to content

Commit 9e57337

Browse files
leocafonsoacassis
authored andcommitted
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 <leocafonso@gmail.com>
1 parent 80b9fc3 commit 9e57337

2 files changed

Lines changed: 27 additions & 4 deletions

File tree

Documentation/platforms/arm/ra4m1/boards/arduino-r4-minima/index.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,26 @@ easily changed by modifying the configuration.
8383
SWD-8 TXD1
8484
================== ============
8585

86+
PWM Outputs
87+
===============
88+
89+
The R7FA4M1ABxCFM has a GPT (General Purpose Timer) that can be used for PWM output.
90+
91+
Any of the Arduino-r4-minima PWM outputs can be used. By default, it is disabled in all configurations.
92+
This can be easily changed by modifying the configuration.
93+
94+
================== ============
95+
Arduino R4 Minima R7FA4M1ABxCFM
96+
Pin (Label) SCI Mapping
97+
================== ============
98+
~3 GTIOC1B_P104
99+
~5 GTIOC2B_P102
100+
~6 GTIOC0B_P106
101+
~9 GTIOC7B_P303
102+
~10 GTIOC3B_P112
103+
~11 GTIOC1A_P109
104+
================== ============
105+
86106
Loading Code
87107
============
88108

Documentation/platforms/arm/ra4m1/index.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ KINT No
3535
ELC No
3636
DTC No
3737
DMAC No
38-
GPT No
38+
GPT Yes Just PWM
3939
AGT No
4040
RTC No
4141
WDT No
4242
IWDT No
43-
SCI Yes Just UART
43+
SCI Yes Just UART
4444
IIC No
4545
SPI No
4646
SSIE No
@@ -71,10 +71,13 @@ Nuttx driver support UART mode (No-FIFO).
7171
GPIO
7272
-----
7373

74-
75-
7674
Pins can be configured/operated using ``ra_gpio_*`` functions.
7775

76+
GPT
77+
----
78+
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.
79+
Nuttx driver support PWM mode.
80+
7881
Supported Boards
7982
================
8083

0 commit comments

Comments
 (0)