Chat

Welcome to Flux

Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More

Explain project
Write a project description
Find schematic issues
Create a test plan
Simulate a circuit
Prepare for Manufacturing
Component Selection Workflow
New Subsystem Wizard
U4
U4 GND - U4 GND
GND
U2 GND - U3 1
U4 GND - U4 GND
U2 GND - U3 1
U4 GND - U4 GND
U4 GND - U4 GND
U2 GND - U3 1
GND
GND
U4 GND - U4 GND
U2 GND - U3 1
GND
U4 GND - U4 GND
U4 GND - U4 GND
GND
GND
U4 GND - U4 GND
GND
GND
U4 GND - U4 GND
U4 GND - U4 GND
R7
Resistance
10kΩ
R8
Resistance
10kΩ
R3
Resistance
4.7kΩ
R6
Resistance
10kΩ
R2
Resistance
100kΩ
R5
Resistance
10kΩ
R4
Resistance
4.7kΩ
R1
Resistance
453kΩ
R9
Resistance
100kΩ
D1
J1 Pin_1 - U4 NSS
L1 P2 - C2 P1
U2 ANT - J3 1
L1 P2 - C2 P1
U1 EN - C1 P1
J1 Pin_7 - U2 SCLK
L1 P2 - C2 P1
U1 FB - R1 P2
L1 P2 - C2 P1
J1 Pin_7 - U2 SCLK
L1 P2 - C2 P1
L1 P2 - C2 P1
U4 RESET - R5 P2
J1 Pin_10 - J2 4
J1 Pin_1 - U4 NSS
J1 Pin_10 - J2 4
U2 ANT - J3 1
L1 P2 - C2 P1
U1 FB - R1 P2
L1 P2 - C2 P1
L1 P2 - C2 P1
L1 P2 - C2 P1
L1 P2 - C2 P1
J1 Pin_5 - U3 3
L1 P2 - C2 P1
J1 Pin_9 - U2 SI
J1 Pin_3 - U3 4
J1 Pin_5 - U3 3
J1 Pin_8 - J2 3
J1 Pin_5 - U3 3
L1 P2 - C2 P1
J1 Pin_6 - F1 P1
J1 Pin_13 - U2 CSN
J1 Pin_6 - F1 P1
J1 Pin_12 - U4 DI00
J1 Pin_7 - U2 SCLK
J1 Pin_11 - U2 SO
J1 Pin_10 - J2 4
J1 Pin_3 - U3 4
F1 P2 - D1 1
U1 SW - L1 P1
J1 Pin_11 - U2 SO
L1 P2 - C2 P1
J1 Pin_9 - U2 SI
J1 Pin_8 - J2 3
U4 RESET - R5 P2
J1 Pin_9 - U2 SI
F1 P2 - D1 1
U1 SW - L1 P1
J1 Pin_11 - U2 SO
F1 P2 - D1 1
J1 Pin_8 - J2 3
J1 Pin_9 - U2 SI
J1 Pin_14 - J2 6
J1 Pin_13 - U2 CSN
U1 EN - C1 P1
J1 Pin_3 - U3 4
J1 Pin_1 - U4 NSS
L1 P2 - C2 P1
L1 P2 - C2 P1
U1 FB - R1 P2
J1 Pin_7 - U2 SCLK
J1 Pin_11 - U2 SO
L1 P2 - C2 P1
L1 P2 - C2 P1
J1 Pin_12 - U4 DI00
J1 Pin_13 - U2 CSN
J1 Pin_14 - J2 6
J1
L1
Inductance
2.2uH
J2
C1
Capacitance
4.7uF
U3
U2
C7
Capacitance
47uF
C2
Capacitance
10uF
C6
Capacitance
100nF
J3
C4
Capacitance
100nF
C3
Capacitance
100nF
C5
Capacitance
100nF
U1
F1

Refine this doc
Ask about this doc
Cardputer ADV RF NFC HAT Design Notes
Scope
Single M5Stack Cardputer ADV HAT integrating:
  • CC1101 433 MHz sub-GHz module (U2, VT-CC1101-433)
  • nRF24L01+ module with SMA (U3, NRF24L01P-MODULE-SMA)
  • LoRa RA-02 433 MHz module (U4)
  • PN532 NFC module header (J2) using I2C
  • 3.3 V buck rail generated from the Cardputer ADV 5VOUT expansion pin
Cardputer ADV power-source assumption
The HAT is powered by the M5Stack Cardputer ADV, not by an independent source.
Cardputer ADV EXT 2.54-14P pinout used:

Table


J1 pinCardputer ADV signalHAT net / use
1G3 / RESETSPI_CS_RA02 for RA-02 NSS, chosen as a reusable GPIO chip select
25VINNo connect; the HAT does not feed power into Cardputer
3G4 / INTSPI_CS_NRF24 for nRF24 CSN
4GNDGND
5G6 / BUSYNRF24_CE
65VOUT5VOUT_RAW, HAT power input from Cardputer
7G40 / SCKSPI_SCK
8G8 / I2C_SDAI2C_SDA
9G14 / MOSISPI_MOSI
10G9 / I2C_SCLI2C_SCL
11G39 / MISOSPI_MISO
12G13 / UART_RXLORA_DIO0, chosen as LoRa interrupt/status GPIO
13G5 / CSSPI_CS_CC1101
14G15 / UART_TXPN532_RST
Power architecture
J1 Pin_6 / 5VOUT from Cardputer ADV feeds:
  1. F1 0ZCJ0075AF2E 750 mA resettable fuse
  2. D1 SMF5.0A TVS to GND
  3. U1 TLV62568 1 A synchronous buck converter
  4. 3V3 rail for all RF/NFC modules
Buck converter design:
  • U1 = TLV62568DBV
  • C1 = 4.7 uF input capacitor on 5V_PROT
  • L1 = 2.2 uH buck inductor
  • C2 = 10 uF output capacitor
  • C7 = 47 uF shared 3.3 V rail bulk capacitor
  • R1 = 453 kΩ, R2 = 100 kΩ feedback divider
  • Formula from datasheet: VOUT = 0.6 x (1 + R1/R2) -> about 3.318 V
Power budget
Approximate peak currents from module datasheets/library data:

Table


LoadPeak current used for sizing
RA-02 LoRa TX97 mA
nRF24L01+ base IC13.5 mA RX / 11.3 mA TX; PA+LNA module may be higher depending module variant
CC1101 moduleassumed under 50 mA typical module-level peak unless exact module datasheet provides otherwise
PN532 module/headerassumed under 150 mA depending external module/antenna board
Margin and simultaneous RF activityreserve to 500 mA rail budget
The 3.3 V regulator is sized as a 1 A buck to avoid overstressing the Cardputer 5VOUT and to provide margin. Firmware should avoid transmitting all RF modules at once unless Cardputer ADV 5VOUT current capability is confirmed.
Radio/NFC bus architecture
All SPI radios share SPI_SCK, SPI_MOSI, and SPI_MISO:
  • U2 CC1101: CSN -> SPI_CS_CC1101
  • U3 nRF24: CSN -> SPI_CS_NRF24, CE -> NRF24_CE
  • U4 RA-02: NSS -> SPI_CS_RA02, DI00 -> LORA_DIO0, RESET -> LORA_RESET
Biasing:
  • R6 = 10 kΩ pull-up on CC1101 CSN
  • R7 = 10 kΩ pull-up on RA-02 NSS
  • R8 = 10 kΩ pull-up on nRF24 CSN
  • R9 = 100 kΩ pull-down on nRF24 CE
  • R5 = 10 kΩ pull-up on RA-02 RESET
PN532 header J2 is wired for I2C:
  • J2 pin 1: 3V3
  • J2 pin 2: GND
  • J2 pin 3: I2C_SDA
  • J2 pin 4: I2C_SCL
  • J2 pin 6: PN532_RST
  • J2 pins 5, 7, 8: intentionally unconnected for optional IRQ/mode/vendor-specific pins
  • R3/R4: 4.7 kΩ I2C pull-ups to 3V3
RF layout cautions
  • Place CC1101, nRF24, RA-02, and PN532 antenna areas apart to reduce coupling.
  • Use a solid ground plane under RF modules, except where module antenna keepouts require copper clearance.
  • Keep the CC1101 ANT trace to J3 SMA short and 50 ohm controlled-impedance if possible.
  • Keep buck converter switching node BUCK_SW short and away from RF antennas and PN532 antenna wiring.
  • Place decoupling capacitors directly at each module power pin.
  • Avoid simultaneous high-power RF transmit from multiple radios unless supply current and EMI are validated.
Validation status
Electrical-rule review returned no ERC categories after removing accidental duplicate modules and marking intentionally unused pins as no-connect.
Open items before PCB layout
  • Confirm the exact PN532 module/header pinout to match the physical module you will plug into J2.
  • Confirm Cardputer ADV 5VOUT current rating if you plan simultaneous RF transmission.
  • Confirm whether the final HAT should use SMA, U.FL, or onboard antennas for each RF module.
  • Scope

  • Cardputer ADV power-source assumption

  • Power architecture

  • Power budget

  • Radio/NFC bus architecture

  • RF layout cautions

  • Validation status

  • Open items before PCB layout

Assets

Assets are files uploaded to this project which can be used in various ways.

Cardputer ADV RF NFC HAT thumbnail
Single M5Stack Cardputer ADV HAT integrating CC1101 sub-GHz radio, nRF24L01+ PA/LNA 2.4GHz radio, LoRa RA-02, and PN532 NFC with shared host interface, 3.3V power distribution, decoupling, and RF layout constraints.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$58.73–$59.27

Digi-Key

$7.35–$7.75

HQonline

$0.01–$0.05

LCSC

$4.93–$5.03

Mouser

$3.16–$3.36

TME

$0.33–$0.46

Verical

$1.78–$8.01

Controls