0
The STM32F303RCT6 brings the highest memory density of the STM32F303 64-pin family into a 10 mm × 10 mm LQFP package, pairing 256 KB of Flash and 40 KB of SRAM with the full F303 analog arsenal: four 12-bit 5 MSPS ADCs, four operational amplifiers configurable as PGAs, seven fast comparators, and two 12-bit DAC channels. With 52 general-purpose I/O lines exposed, it provides a wider pin budget than the 48-pin C-variants while retaining the same Cortex-M4F core running at 72 MHz. This combination makes the RCT6 a natural fit for control architectures that must execute substantial firmware—dual-motor field-oriented control, multi-protocol industrial gateways, or feature-rich power converters—without migrating to a 100-pin package.
The move from LQFP48 to LQFP64 changes more than the number of available pins. The RCT6 exposes 52 I/O, a 44% increase over the 36 I/O available on the 48-pin devices in the same family. On a motor-control board, that additional pin budget translates into the ability to route three-phase gate-drive signals, encoder inputs, multiple ADC channels, a CAN transceiver, a USB connector, and a debugging interface simultaneously without resorting to pin multiplexing compromises. The 5 V-tolerant capability on several I/O further simplifies interface design when the microcontroller must communicate with legacy industrial sensors or 5 V logic that cannot tolerate a direct 3.3 V connection.
The 12-channel DMA controller assumes greater importance at this I/O density. With more peripherals active concurrently, the CPU cannot afford to service every data-movement interrupt. DMA transfers between the ADCs and SRAM, or between communication peripherals and memory, keep the core available for the control loop and protocol handling.
The F303 analog subsystem is built for simultaneous multi-channel acquisition, and the RCT6 implements it without reduction. The four ADCs can sample in parallel, each converting in 0.20 μs at 12-bit resolution, with selectable lower resolutions (10, 8, or 6 bits) available when speed can be traded for reduced data volume. Up to 39 analog input channels are multiplexed across the four converters, covering single-ended and differential configurations.
The four operational amplifiers, configurable in PGA mode with fixed gains of ×2, ×4, ×8, and ×16, allow low-level shunt or sensor signals to be amplified before conversion. All PGA terminals are externally accessible, so the gain network can be supplemented with external resistors or filter capacitors when the internal gain set does not match the signal amplitude. The seven rail-to-rail comparators respond in nanoseconds and can be routed directly to the break inputs of the advanced-control timers, enabling hardware over-current or over-voltage protection that bypasses software latency entirely.
Table 1 summarizes the analog resource allocation on the RCT6.
|
Analog Resource |
RCT6 Configuration |
Engineering Consequence |
|
12-bit ADC |
4 units, 5 MSPS, 0.20 μs conversion, up to 39 channels |
Four simultaneous current/voltage loops |
|
PGA-capable op-amp |
4, gain ×2/×4/×8/×16, all terminals external |
Direct shunt amplification, reduced BOM |
|
Comparator |
7, rail-to-rail, timer break routing |
Nanosecond-scale hardware protection |
|
12-bit DAC |
2 channels, analog supply 2.4–3.6 V |
Reference generation or analog output |
|
Analog supply |
Independent 2.0–3.6 V (VDDA) |
Noise isolation from digital core |
The RCT6 includes 8 KB of core-coupled memory (CCM) SRAM on the instruction and data buses of the Cortex-M4, with hardware parity checking. Code executing from CCM runs at the full 72 MHz system clock without Flash wait states. The practical benefit is most pronounced in motor-control firmware: ST’s documentation for the F303 family quantifies up to 90 DMIPS when routines execute from CCM, and the field-oriented control loop—Clarke and Park transforms, PI regulators, and space-vector PWM generation—benefits directly from the elimination of Flash access latency. Placing the current-control ISR and the sensorless observer in CCM leaves the Flash interface free for application code and communication stacks, which execute with predictable wait-state behavior that does not affect the real-time loop.
The 40 KB of general-purpose SRAM provides buffer space for ADC acquisitions, DMA descriptors, and middleware. This memory budget supports dual-motor FOC configurations in which two independent current-sampling streams must be maintained alongside a communication stack.
The 64-pin F303 portfolio includes the RBT6 with 128 KB Flash and 32 KB SRAM. Both devices share the same analog architecture, package, and pinout; the selection decision is therefore a memory-budget calculation rather than a peripheral trade-off. The RCT6 is appropriate when the firmware image includes a motor-control library, a bootloader with fail-safe update capability, and a communication stack whose combined code size exceeds the 128 KB envelope of the RBT6. It is also the natural choice when the application requires dual-motor FOC, because the motor-control middleware and the dual-axis state machines consume both Flash and SRAM beyond the requirements of a single-axis drive.
A second selection consideration is migration headroom. Because the RCT6 and RBT6 are pin-compatible, a PCB designed for the RBT6 can be populated with the RCT6 if firmware growth exceeds the initial memory estimate. Designing the power supply and decoupling network to support either device from the outset provides a low-risk path to a higher-memory variant without a board spin.
The STM32F303RCT6’s peripheral density aligns with dual-motor drive architectures. Two advanced-control timers, each capable of generating six PWM outputs with dead-time insertion and emergency stop, can drive two independent three-phase inverters. The four ADCs sample the phase currents of both motors in parallel, while the comparators provide independent over-current trips for each axis. ST’s PMSM FOC library explicitly supports the STM32F303xB/C devices for simultaneous dual-motor control, and the 256 KB Flash of the RCT6 accommodates the library alongside the application layer without compression or external memory.
A second application cluster is the multi-protocol industrial gateway. With CAN, USB full-speed device, three USARTs, two UARTs, three SPIs, and two Fast Mode Plus I²Cs available, the RCT6 can bridge a local sensor or actuator bus to a host network while simultaneously managing analog acquisition from several channels. The 52-pin I/O budget allows each interface to have dedicated pins, avoiding the dynamic reconfiguration that smaller packages impose.
Firmware development for the RCT6 follows the STM32CubeF3 ecosystem. STM32CubeIDE supplies a GCC-based toolchain with ST-LINK debug support, and the HAL and LL drivers expose the ADC, PGA, comparator, DAC, and advanced-control timer peripherals. The X-CUBE-MCSDK (ST Motor Control SDK) includes a workbench for configuring the PGA gains, ADC trigger sequencing relative to PWM, and comparator thresholds used in FOC applications, generating initialization code that can be compiled directly for the RCT6.
For hardware evaluation, the NUCLEO-F303RE board provides a 64-pin LQFP target (the STM32F303RET6) and exposes the full peripheral set through ST morpho headers, making it a practical platform for validating the analog front-end and motor-control firmware before committing to a custom RCT6 layout. The STEVAL-CTM010V1 reference design demonstrates a dual sensorless three-phase motor drive plus a digital PFC stage controlled by an STM32F303RB, providing a concrete architectural template that maps directly onto the RCT6 when additional Flash is required for application-specific features.