main
Ray Publish 0.1.0 5c6ec77
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
{
  "slug": "r5f212a7snfa-v2",
  "version": "0.1.0",
  "type": "component",
  "description": "RENESAS Pre-ordered MCUs, LQFP-64(14x14). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "r5f212a7snfa#v2",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "r5f212a7snfa-v2.kicad_sym",
    "r5f212a7snfa-v2.kicad_mod",
    "r5f212a7snfa-v2.glb",
    "r5f212a7snfa-v2.step",
    "r5f212a7snfa-v2.lbr",
    "docs/hero.png",
    "docs/r5f212a7snfa-v2-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "r5f212a7snfa-v2-hero.glb",
    "r5f212a7snfa-v2-hero.overlay.json"
  ],
  "component": {
    "mpn": "R5F212A7SNFA#V2",
    "manufacturer": "RENESAS",
    "package": "LQFP-64(14x14)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Pre-ordered MCUs",
    "datasheet": "https://www.renesas.com/en/document/dst/r8c2a-r8c2b-group-datasheet",
    "parts": {
      "symbol": "r5f212a7snfa-v2.kicad_sym",
      "footprint": "r5f212a7snfa-v2.kicad_mod",
      "model_3d": "r5f212a7snfa-v2-hero.glb",
      "model_3d_plain": "r5f212a7snfa-v2.glb",
      "model_3d_step": "r5f212a7snfa-v2-etched.step",
      "model_3d_step_plain": "r5f212a7snfa-v2.step",
      "lbr": "r5f212a7snfa-v2.lbr"
    },
    "distributor_links": {
      "lcsc": "C1338458",
      "digikey": "R5F212A7SNFA#V2-ND",
      "mouser": "968-R5F212A7SNFA#V2"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T16:09:07Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "R5F212A7SNFA#V2-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "968-R5F212A7SNFA#V2",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P3_3/SSI",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_3, also the SSU data I/O pin SSI."
      },
      {
        "number": "2",
        "name": "P3_4/SDA/SCS",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_4, shared with the I2C bus data I/O pin SDA and the SSU chip-select I/O pin SCS."
      },
      {
        "number": "3",
        "name": "MODE",
        "type": "input",
        "description": "Connect this pin to VCC via a resistor."
      },
      {
        "number": "4",
        "name": "P4_3/XCIN",
        "type": "bidirectional",
        "description": "CMOS I/O port P4_3, also the XCIN clock input; connect a crystal between XCIN and XCOUT, or input an external clock here with XCOUT left open."
      },
      {
        "number": "5",
        "name": "P4_4/XCOUT",
        "type": "bidirectional",
        "description": "CMOS I/O port P4_4, also the XCIN clock output connected to the crystal between XCIN and XCOUT."
      },
      {
        "number": "6",
        "name": "RESET",
        "type": "input",
        "description": "An 'L' level on this pin resets the MCU."
      },
      {
        "number": "7",
        "name": "P4_7/XOUT",
        "type": "output",
        "description": "XIN clock output of the main clock generation circuit; leave open when an external clock is input to XIN. Note 1 of Figure 1.4 states P4_7 is an input-only port."
      },
      {
        "number": "8",
        "name": "VSS/AVSS",
        "type": "power_in",
        "description": "Ground: apply 0 V to VSS; AVSS is the A/D converter analog ground."
      },
      {
        "number": "9",
        "name": "P4_6/XIN",
        "type": "input",
        "description": "XIN clock input for the main clock generation circuit; connect a ceramic resonator or crystal between XIN and XOUT, or input an external clock here. P4_6 is an input-only port."
      },
      {
        "number": "10",
        "name": "VCC/AVCC",
        "type": "power_in",
        "description": "Power supply: apply 2.2 V to 5.5 V to VCC; AVCC supplies the A/D converter, with a capacitor connected between AVCC and AVSS."
      },
      {
        "number": "11",
        "name": "P5_4/TRCIOD",
        "type": "bidirectional",
        "description": "CMOS I/O port P5_4, shared with Timer RC I/O pin TRCIOD."
      },
      {
        "number": "12",
        "name": "P5_3/TRCIOC",
        "type": "bidirectional",
        "description": "CMOS I/O port P5_3, shared with Timer RC I/O pin TRCIOC."
      },
      {
        "number": "13",
        "name": "P5_2/TRCIOB",
        "type": "bidirectional",
        "description": "CMOS I/O port P5_2, shared with Timer RC I/O pin TRCIOB."
      },
      {
        "number": "14",
        "name": "P5_1/TRCIOA/TRCTRG",
        "type": "bidirectional",
        "description": "CMOS I/O port P5_1, shared with Timer RC I/O pin TRCIOA and external trigger input TRCTRG."
      },
      {
        "number": "15",
        "name": "P5_0/TRCCLK",
        "type": "bidirectional",
        "description": "CMOS I/O port P5_0, shared with the Timer RC external clock input TRCCLK."
      },
      {
        "number": "16",
        "name": "P2_7/TRDIOD1",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_7 (LED drive capable), shared with Timer RD I/O pin TRDIOD1."
      },
      {
        "number": "17",
        "name": "P2_6/TRDIOC1",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_6 (LED drive capable), shared with Timer RD I/O pin TRDIOC1."
      },
      {
        "number": "18",
        "name": "P2_5/TRDIOB1",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_5 (LED drive capable), shared with Timer RD I/O pin TRDIOB1."
      },
      {
        "number": "19",
        "name": "P2_4/TRDIOA1",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_4 (LED drive capable), shared with Timer RD I/O pin TRDIOA1."
      },
      {
        "number": "20",
        "name": "P2_3/TRDIOD0",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_3 (LED drive capable), shared with Timer RD I/O pin TRDIOD0."
      },
      {
        "number": "21",
        "name": "P2_2/TRDIOC0",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_2 (LED drive capable), shared with Timer RD I/O pin TRDIOC0."
      },
      {
        "number": "22",
        "name": "P2_1/TRDIOB0",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_1 (LED drive capable), shared with Timer RD I/O pin TRDIOB0."
      },
      {
        "number": "23",
        "name": "P2_0/TRDIOA0/TRDCLK",
        "type": "bidirectional",
        "description": "CMOS I/O port P2_0 (LED drive capable), shared with Timer RD I/O pin TRDIOA0 and external clock input TRDCLK."
      },
      {
        "number": "24",
        "name": "P1_7/TRAIO/INT1",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_7, shared with Timer RA I/O pin TRAIO and interrupt input INT1."
      },
      {
        "number": "25",
        "name": "P1_6/CLK0",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_6, shared with the serial interface 0 transfer clock I/O pin CLK0."
      },
      {
        "number": "26",
        "name": "P1_5/RXD0/(TRAIO)/(INT1)",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_5, serial interface 0 receive data input RXD0; TRAIO and INT1 can be assigned to this pin by a program."
      },
      {
        "number": "27",
        "name": "P1_4/TXD0",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_4, shared with the serial interface 0 data output pin TXD0."
      },
      {
        "number": "28",
        "name": "P8_6",
        "type": "bidirectional",
        "description": "CMOS I/O port P8_6; no peripheral function is listed for this pin in Table 1.7."
      },
      {
        "number": "29",
        "name": "P8_5/TRFO12",
        "type": "bidirectional",
        "description": "CMOS I/O port P8_5, shared with Timer RF output pin TRFO12."
      },
      {
        "number": "30",
        "name": "P8_4/TRFO11",
        "type": "bidirectional",
        "description": "CMOS I/O port P8_4, shared with Timer RF output pin TRFO11."
      },
      {
        "number": "31",
        "name": "P8_3/TRFO10/TRFI",
        "type": "bidirectional",
        "description": "CMOS I/O port P8_3, shared with Timer RF output pin TRFO10 and Timer RF input pin TRFI."
      },
      {
        "number": "32",
        "name": "P8_2/TRFO02",
        "type": "bidirectional",
        "description": "CMOS I/O port P8_2, shared with Timer RF output pin TRFO02."
      },
      {
        "number": "33",
        "name": "P8_1/TRFO01",
        "type": "bidirectional",
        "description": "CMOS I/O port P8_1, shared with Timer RF output pin TRFO01."
      },
      {
        "number": "34",
        "name": "P8_0/TRFO00",
        "type": "bidirectional",
        "description": "CMOS I/O port P8_0, shared with Timer RF output pin TRFO00."
      },
      {
        "number": "35",
        "name": "P6_0/TREO",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_0, shared with the Timer RE divided clock output pin TREO."
      },
      {
        "number": "36",
        "name": "P4_5/INT0",
        "type": "bidirectional",
        "description": "CMOS I/O port P4_5, shared with the INT0 interrupt input, which is also the Timer RD input pin."
      },
      {
        "number": "37",
        "name": "P6_6/INT2/TXD1",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_6, shared with INT2 interrupt input and serial interface 1 data output TXD1."
      },
      {
        "number": "38",
        "name": "P6_7/INT3/RXD1",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_7, shared with INT3 interrupt input and serial interface 1 data input RXD1."
      },
      {
        "number": "39",
        "name": "P6_5/(CLK1)/CLK2",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_5, shared with serial interface 2 transfer clock CLK2; CLK1 can be assigned to this pin by a program."
      },
      {
        "number": "40",
        "name": "P6_4/RXD2",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_4, shared with the serial interface 2 data input pin RXD2."
      },
      {
        "number": "41",
        "name": "P6_3/TXD2",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_3, shared with the serial interface 2 data output pin TXD2."
      },
      {
        "number": "42",
        "name": "P3_1/TRBO",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_1, shared with the Timer RB output pin TRBO."
      },
      {
        "number": "43",
        "name": "P3_0/TRAO",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_0, shared with the Timer RA output pin TRAO."
      },
      {
        "number": "44",
        "name": "P3_6/(INT1)",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_6; INT1 interrupt input can be assigned to this pin by a program."
      },
      {
        "number": "45",
        "name": "P3_2/(INT2)",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_2; INT2 interrupt input can be assigned to this pin by a program."
      },
      {
        "number": "46",
        "name": "P1_3/KI3/AN11",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_3, shared with key input interrupt KI3 and A/D converter analog input AN11."
      },
      {
        "number": "47",
        "name": "P1_2/KI2/AN10",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_2, shared with key input interrupt KI2 and A/D converter analog input AN10."
      },
      {
        "number": "48",
        "name": "P1_1/KI1/AN9",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_1, shared with key input interrupt KI1 and A/D converter analog input AN9."
      },
      {
        "number": "49",
        "name": "P1_0/KI0/AN8",
        "type": "bidirectional",
        "description": "CMOS I/O port P1_0, shared with key input interrupt KI0 and A/D converter analog input AN8."
      },
      {
        "number": "50",
        "name": "P0_0/AN7",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_0, shared with A/D converter analog input AN7."
      },
      {
        "number": "51",
        "name": "P0_1/AN6",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_1, shared with A/D converter analog input AN6."
      },
      {
        "number": "52",
        "name": "P0_2/AN5",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_2, shared with A/D converter analog input AN5."
      },
      {
        "number": "53",
        "name": "P0_3/AN4",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_3, shared with A/D converter analog input AN4."
      },
      {
        "number": "54",
        "name": "P0_4/AN3",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_4, shared with A/D converter analog input AN3."
      },
      {
        "number": "55",
        "name": "P6_2",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_2; no peripheral function is listed for this pin in Table 1.8."
      },
      {
        "number": "56",
        "name": "P6_1",
        "type": "bidirectional",
        "description": "CMOS I/O port P6_1; no peripheral function is listed for this pin in Table 1.8."
      },
      {
        "number": "57",
        "name": "P0_5/AN2/CLK1",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_5, shared with serial interface 1 transfer clock CLK1 and A/D converter analog input AN2."
      },
      {
        "number": "58",
        "name": "P0_6/AN1/DA0",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_6, shared with A/D converter analog input AN1 and D/A converter output DA0."
      },
      {
        "number": "59",
        "name": "VSS/AVSS",
        "type": "power_in",
        "description": "Ground: apply 0 V to VSS; AVSS is the A/D converter analog ground."
      },
      {
        "number": "60",
        "name": "P0_7/AN0/DA1",
        "type": "bidirectional",
        "description": "CMOS I/O port P0_7, shared with A/D converter analog input AN0 and D/A converter output DA1."
      },
      {
        "number": "61",
        "name": "VREF",
        "type": "power_in",
        "description": "Reference voltage input to the A/D converter and D/A converter."
      },
      {
        "number": "62",
        "name": "VCC/AVCC",
        "type": "power_in",
        "description": "Power supply: apply 2.2 V to 5.5 V to VCC; AVCC supplies the A/D converter, with a capacitor connected between AVCC and AVSS."
      },
      {
        "number": "63",
        "name": "P3_7/SSO",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_7, shared with the SSU data I/O pin SSO."
      },
      {
        "number": "64",
        "name": "P3_5/SCL/SSCK",
        "type": "bidirectional",
        "description": "CMOS I/O port P3_5, shared with the SSU clock I/O pin SSCK and the I2C bus clock I/O pin SCL."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The supplied pages do not include the ordering information table, so the MPN suffix 'SNFA' is not co; The datasheet covers the R8C/2A and R8C/2B Groups. The text does not state directly that R5F212A7SNF; Pin 7 is named XOUT and typed as output, but Figure 1.4 note 1 says P4_7/XOUT is an input-only port."
        ],
        "pages_sent": 12,
        "cost_usd": 0.3208,
        "at": "2026-11-13T16:08:54"
      },
      "datasheet": {
        "url": "https://www.renesas.com/en/document/dst/r8c2a-r8c2b-group-datasheet",
        "pages": 66,
        "sha256": "8267f44fac2727ab",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "r5f212a7snfa-v2.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          16.0,
          16.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "5c995e746cd5066e47f778cc502581e9b198eecce4b4d22291828900481447e7",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "r5f212a7snfa-v2-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          16.0,
          16.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b6ec206a8ffca7f41e495e226c0b99c859b5a159fe274b7661d9094a10b40545",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "PLQP0064GA-A",
      "source_page": 61,
      "D": {
        "nom_mm": 14.0,
        "range_mm": [
          13.9,
          14.1
        ]
      },
      "E1": {
        "nom_mm": 14.0,
        "range_mm": [
          13.9,
          14.1
        ]
      },
      "E": {
        "nom_mm": 16.0,
        "range_mm": [
          15.8,
          16.2
        ]
      },
      "e": {
        "nom_mm": 0.8,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.7,
        "range_mm": [
          null,
          1.7
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "r5f212a7snfa-v2.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}