cuprio

Designing a PCB with the RA4M1

The RA4M1 is a Renesas Arm Cortex-M4 microcontroller running at 48 MHz from a supply anywhere between 1.6 V and 5.5 V, with 256 KB of flash, USB full-speed, a segment LCD driver and capacitive touch. Its board needs are specific: 0.1 µF on each VCC pin, 4.7 µF on the VCL regulator pin, VCC_USB wired to suit the supply voltage, and no capacitor on the reset pin.

  • 3 min read
  • 6 sections
  • 3 sources
Core
Arm Cortex-M4 with FPU, up to 48 MHz
Memory
256 KB code flash, 8 KB data flash, 32 KB SRAM
Supply
VCC 1.6 V to 5.5 V
Clocks
Main oscillator 1 to 20 MHz (VCC 2.4 to 5.5 V), HOCO 24/32/48/64 MHz, 32.768 kHz sub-clock
USB
USB 2.0 full-speed host/device with on-chip transceiver and USB LDO regulator
Analog and HMI
14-bit ADC, 12-bit DAC, 4 op amps, segment LCD controller, capacitive touch
Packages
40-pin QFN up to 100-pin LQFP and LGA
Board plans in Cuprio using it
2 (as of 27 November 2026)

How should the RA4M1 power pins be decoupled?

Each VCC pin gets a 0.1 µF multilayer ceramic capacitor right at the pin. The VCL pin is the output of the internal core regulator and needs a 4.7 µF multilayer ceramic capacitor to VSS, also close to the pin. Leaving it off, or fitting 0.1 µF there by habit, is an easy mistake to make. Renesas asks for about 0.1 µF as close as possible to every supply pin, with short, heavy traces. Treat each as a decoupling capacitor with its own via into the ground plane.

AVCC0 must sit at the same voltage as VCC and AVSS0 at VSS. If the 14-bit ADC is unused, tie VREFH0 to AVCC0 and VREFL0 to VSS. An unused VBATT goes to VCC or VSS. Never drive signals or pull-ups into an unpowered chip.

How do I wire USB on the RA4M1?

The wiring of VCC_USB and VCC_USB_LDO depends on VCC. On a 3.0 to 3.6 V supply, feed both pins from VCC and leave the USB LDO off. On a 5 V supply, feed VCC_USB_LDO from VCC and let the LDO make 3.3 V on VCC_USB, which then needs a 1.0 µF capacitor with ESR of 1 Ω or less through wiring of 0.5 Ω or less. Renesas' example circuits run the USB LDO only from a VCC of roughly 4 V up to 5.5 V; the hardware user's manual gives the exact minimum for each configuration. USB_DP and USB_DM are P914 and P915, the D+ pull-up is switched inside the chip, and USB_VBUS goes to the bus VBUS so the chip can detect the cable. Route D+ and D− as a short differential pair and add ESD protection at the connector.

Does the RA4M1 need a crystal for USB?

Not necessarily. The 48 MHz USB clock can come from the PLL, fed by the main crystal, or straight from the HOCO, whose 48 MHz setting is held to 47.52 to 48.48 MHz from −20 to 85 °C. HOCO clocking works only in device mode, and the USB timing is specified from −20 to 85 °C that way, against −40 to 105 °C with the PLL. A main crystal can be 1 to 20 MHz at 2.4 V and above, limited for USB to values the PLL can turn into 48 MHz. Use the load capacitors and any damping or feedback resistor the crystal maker recommends, keep them close to EXTAL/XTAL with no other signals in between, and use as few vias as possible.

How do RES#, MD and SWD work on the RA4M1?

Unlike many microcontrollers, the RA4M1 should have no capacitor on RES#. The power-on reset expects RES# to rise together with VCC, and a capacitor slows it so the chip can miss the power-on condition. Renesas also asks that any external reset circuit have an open-collector output. The MD pin (P201) picks the boot mode at reset: high runs the application, low starts SCI/USB boot mode for flashing over a UART or USB. Its internal pull-up is on by default, so a jumper to ground is enough. SWD uses P108 (SWDIO) and P300 (SWCLK) on the Arm 10-pin connector, also with default internal pull-ups.

Common RA4M1 mistakes

  • An RC delay on RES#, copied from another chip's reference design.
  • 0.1 µF instead of 4.7 µF on VCL.
  • Running a 3.3 V board with the USB LDO enabled, or a 5 V board without the 1.0 µF on VCC_USB.
  • Crystal-less USB in a product that must work below −20 °C.
  • 5 V signals on pins that are not 5 V tolerant: only P205, P206, P400 to P404, P407 and P408 are.

Checking an RA4M1 board

Cuprio checks the schematic with electrical rule checks and exports KiCad files, Gerbers, drill files, a BOM and pick-and-place data for the board.

Sources

  1. Renesas: RA4M1 Group Datasheet R01DS0355EJ0110 (Rev.1.10)

    Core, memory, supply range, main oscillator and HOCO ranges, USB module, 5 V-tolerant and analog features, packages, pin functions

    renesas.com
  2. Renesas: RA4M1 Group User's Manual: Hardware R01UH0887EJ0110 (Rev.1.10)

    VCC 0.1 µF and VCL 4.7 µF capacitors, USB power connection and LDO voltage ranges, VCC_USB capacitor ESR, UCLK from PLL or HOCO, HOCO 48 MHz accuracy, USB temperature ranges, 5 V-tolerant ports, unused debug pins, no input while unpowered

    renesas.com
  3. Renesas: RA4 Quick Design Guide R01AN5988EU0104 (Rev.1.04)

    Analog supply pins, VBATT handling, SWD and serial programming connections, internal pull-ups, MD boot modes, no capacitor on RES#, crystal layout, USB clock constraints, unused pins

    renesas.com
Close view of the two-wheel robot controller, a board designed in Cuprio

Be first in when we open.

Start with 600 welcome credits and get 30% off your first 12 months.