← Commit history
Publish 0.1.2
5 files changed
+113−125
README.md+54−68@@ -8,22 +8,22 @@ MS1242 from Hangzhou Ruimeng Tech, in a TSSOP-16. Pinout and pin descriptions ex | Pin | Name | Type | Function | |---|---|---|---|-| 1 | VDD | power_in | Power supply pin; the datasheet gives an operating supply of 2.7 V to 5.25 V and an absolute maximum of -0.3 V to 6 V. |-| 2 | XIN | input | Clock input pin for the crystal or oscillator; the system clock fosc is specified at 1 MHz to 5 MHz, and 10 pF to 20 pF capacitors are required on MCLK and XTAL when a crystal is used. |-| 3 | XOUT | output | Clock output pin for the crystal; the datasheet also says an external clock is applied at this pin with XTAL left floating, which conflicts with the pin direction printed in the table. |+| 1 | VDD | power_in | Power supply input, specified for 2.7 V to 5.25 V with an absolute maximum of -0.3 V to 6 V. |+| 2 | XIN | input | Clock input for a crystal or external clock; the master clock fosc is specified from 1 MHz to 5 MHz, and 10 to 20 pF capacitors are required on both XIN and XOUT when a crystal is used. |+| 3 | XOUT | output | Clock output pin for the crystal oscillator; the datasheet also states that an external clock is applied through this pin. | | 4 | PDWN | input | Power-down control input, active low. |-| 5 | VREF+ | power_in | Analog positive reference voltage input; the differential reference (REFP minus REFN) must not exceed 2.5 V at VDD=5 V with RANGE=0, or 1.25 V at VDD=3 V with RANGE=0, and must not exceed the supply voltage. |-| 6 | VREF- | power_in | Analog negative reference voltage input, forming the differential reference pair with VREF+ (REFN); the reference voltage must not exceed the supply voltage. |-| 7 | AIN0/D0 | bidirectional | Analog input channel 0, also usable as data I/O bit 0; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum. |-| 8 | AIN1/D1 | bidirectional | Analog input channel 1, also usable as data I/O bit 1; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum. |-| 9 | AIN2/D2 | bidirectional | Analog input channel 2, also usable as data I/O bit 2; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum. |-| 10 | AIN3/D3 | bidirectional | Analog input channel 3, also usable as data I/O bit 3; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum. |-| 11 | GND | power_in | Ground reference pin. |-| 12 | CS | input | SPI chip select input, active low; it must be held low for the whole communication, and when it goes high the SPI bus is reset. |+| 5 | VREF+ | power_in | Positive analog reference voltage input; the differential reference (REFP minus REFN) must not exceed 2.5 V at VDD=5 V with RANGE=0 (5.0 V with RANGE=1), or 1.25 V at VDD=3 V with RANGE=0 (2.5 V with RANGE=1), and REFP/REFN must stay within 0 to VDD. |+| 6 | VREF- | power_in | Negative analog reference voltage input; REFP and REFN must stay within 0 to VDD and the differential reference must not exceed the VDD-dependent limit. |+| 7 | AIN0/D0 | input | Analog input channel 0, also usable as data I/O line D0; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on. |+| 8 | AIN1/D1 | input | Analog input channel 1, also usable as data I/O line D1; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on. |+| 9 | AIN2/D2 | input | Analog input channel 2, also usable as data I/O line D2; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on. |+| 10 | AIN3/D3 | input | Analog input channel 3, also usable as data I/O line D3; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on. |+| 11 | GND | power_in | Ground reference for the device. |+| 12 | CS | input | SPI chip select input, active low; the SPI bus is reset when CS goes high. | | 13 | DIN | input | SPI serial data input. |-| 14 | DOUT | output | SPI serial data output; it is high impedance when not in use, allowing SDI and SDO to be tied together on a bidirectional bus. |-| 15 | SCLK | input | SPI serial clock input with Schmitt-trigger input, used to sample SDI and SDO; it must be free of noise to avoid erroneous sampling. |-| 16 | DRDY | output | Data-ready output, active low; it goes low when new conversion data is available in the data output register. |+| 14 | DOUT | output | SPI serial data output, which is high impedance (tri-state) when not in use. |+| 15 | SCLK | input | SPI serial clock input with a Schmitt trigger, which must be free of noise to avoid incorrect sampling. |+| 16 | DRDY | output | Data ready output, active low, which goes low when new conversion data is available in the data output register. | ## Key specifications @@ -40,63 +40,49 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries | Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page | |---|---|---|---|---|---|---|---|-| Supply voltage (absolute maximum) | VDD | -0.3 | | 6 | V | | 5 |-| Input current, instantaneous | Iin | | | 100 | mA | 瞬时 (instantaneous) | 5 |-| Input current, continuous | Iin | | | 10 | mA | 连续 (continuous) | 5 |-| Analog input voltage (lower limit; upper limit printed as VDD+0.5) | Ain | -0.5 | | | V | | 5 |-| Digital input voltage (lower limit; upper limit printed as VDD+0.3) | Din | -0.3 | | | V | | 5 |-| Digital output voltage (lower limit; upper limit printed as VDD+0.3) | Dout | -0.3 | | | V | | 5 |+| Supply voltage (absolute) | VDD | -0.3 | | 6 | V | | 5 |+| Input current, instantaneous | Iin | | | 100 | mA | 瞬时 | 5 |+| Input current, continuous | Iin | | | 10 | mA | 连续 | 5 |+| Analog input voltage, lower limit (upper printed as VDD+0.5) | Ain | -0.5 | | | V | upper limit printed as VDD+0.5 | 5 |+| Digital input voltage, lower limit (upper printed as VDD+0.3) | Din | -0.3 | | | V | upper limit printed as VDD+0.3 | 5 |+| Digital output voltage, lower limit (upper printed as VDD+0.3) | Dout | -0.3 | | | V | upper limit printed as VDD+0.3 | 5 | | Maximum junction temperature | Jt | | | 150 | C | | 5 |-| Operating temperature range | TA | -40 | | 85 | C | | 5 |-| Storage temperature range | Tstg | -60 | | 100 | C | | 5 |-| Digital input high-level leakage current | IIH | | | 10 | uA | | 5 |-| Digital input low-level leakage current | IIL | -10 | | | uA | | 5 |+| Operating temperature (absolute ratings table) | TA | -40 | | 85 | C | | 5 |+| Storage temperature | Tstg | -60 | | 100 | C | | 5 |+| Supply voltage (recommended) | VDD | 2.7 | | 5.25 | V | TMIN to TMAX | 5 |+| Differential reference voltage max, VDD=5V, RANGE=0 | REF | | | 2.5 | V | VDD=5V, RANGE=0 | 13 |+| Differential reference voltage max, VDD=5V, RANGE=1 | REF | | | 5 | V | VDD=5V, RANGE=1 | 13 |+| Differential reference voltage max, VDD=3V, RANGE=0 | REF | | | 1.25 | V | VDD=3V, RANGE=0 | 13 |+| Differential reference voltage max, VDD=3V, RANGE=1 | REF | | | 2.5 | V | VDD=3V, RANGE=1 | 13 |+| Input high-level leakage current | IIH | | | 10 | uA | | 5 |+| Input low-level leakage current | IIL | -10 | | | uA | | 5 | | Master clock frequency | fosc | 1 | | 5 | MHz | | 5 | | Master clock period | Tosc | 200 | | 1000 | ns | 1/fOSC | 5 |-| PGA selectable gain range | PGA | 1 | | 128 | | VDD=+5V | 6 |-| Integral nonlinearity | INL | -0.0015 | | 0.0015 | % of FS | VDD=+5V | 6 |-| Power supply rejection ratio, DC | PSRR | 80 | | 95 | dB | VDD=+5V; DC | 6 |-| Reference voltage (REF = REFP - REFN) | VREF | 0.1 | 2.5 | 2.6 | V | VDD=+5V; RANGE = 0 | 6 |-| Reference voltage (REF = REFP - REFN), upper limit printed as VDD | VREF | 0.1 | | | V | VDD=+5V; RANGE = 1 | 6 |-| REFP, REFN input range (lower limit; upper limit printed as VDD) | REFP, REFN | 0 | | | V | VDD=+5V; RANGE = 0 | 6 |-| Offset DAC gain error | | -10 | | 10 | % | VDD=+5V | 7 |-| Supply voltage | VDD | 4.75 | | 5.25 | V | VDD=+5V | 7 |-| Supply current | | 240 | | 375 | uA | VDD=+5V; PGA = 1, Buffer 关闭 (off) | 7 |-| Supply current | | 450 | | 800 | uA | VDD=+5V; PGA = 128, Buffer 关闭 (off) | 7 |-| Supply current | | 290 | | 425 | uA | VDD=+5V; PGA = 1, Buffer 打开 (on) | 7 |-| Supply current | | 960 | | 1400 | uA | VDD=+5V; PGA = 128, Buffer 打开 (on) | 7 |-| Power dissipation | | 1.2 | | 1.9 | mW | VDD=+5V; PGA = 1, Buffer 关闭 (off) | 7 |-| Integral nonlinearity | INL | -0.0015 | | 0.0015 | % of FS | VDD=+3V | 8 |-| Power supply rejection ratio, DC | PSRR | 75 | | 90 | dB | VDD=+3V; DC | 8 |-| Reference voltage (REF = REFP - REFN) | VREF | 0.1 | 1.25 | 1.26 | V | VDD=+3V; RANGE = 0 | 8 |-| Reference voltage (REF = REFP - REFN) | VREF | 0.1 | 2.5 | 2.6 | V | VDD=+3V; RANGE = 1 | 8 |-| REFP, REFN input range (lower limit; upper limit printed as VDD) | REFP, REFN | 0 | | | V | VDD=+3V; RANGE = 0 | 8 |-| Offset DAC gain error | | -10 | | 10 | % | VDD=+3V | 9 |-| Supply voltage | VDD | 2.7 | | 3.3 | V | VDD=+3V | 9 |-| Supply current | | 190 | | 375 | uA | VDD=+3V; PGA = 1, Buffer 关闭 (off) | 9 |-| Supply current | | 460 | | 700 | uA | VDD=+3V; PGA = 128, Buffer 关闭 (off) | 9 |-| Supply current | | 240 | | 375 | uA | VDD=+3V; PGA = 1, Buffer 打开 (on) | 9 |-| Supply current | | 870 | | 1325 | uA | VDD=+3V; PGA = 128, Buffer 打开 (on) | 9 |-| Power dissipation | | 0.6 | | 1.2 | mW | VDD=+3V; PGA = 1, Buffer 关闭 (off) | 9 |-| Conversion-to-input timing: SCLK clock period (minimum) | t1 | 4 | | | tosc 周期 | SCLK 时钟周期 | 10 |-| SCLK clock period (maximum, DRDY periods) | t1 | | | 3 | DRDY 周期 | SCLK 时钟周期 | 10 |-| SCLK pulse width, high and low | t2 | 200 | | | ns | | 10 |-| CS falling edge to first SCLK edge setup time | t3 | 0 | | | ns | | 10 |-| DIN data setup time | t4 | 50 | | | ns | | 10 |-| DIN data hold time | t5 | 50 | | | ns | | 10 |-| Last SDI SCLK edge to first SDO SCLK edge | t6 | 50 | | | tosc 周期 | RDATA, RDATAC, RREG, WREG | 10 |-| SDO output data delay from SCLK | t7 | | | 50 | ns | | 10 |-| SDO data hold time | t8 | 0 | | | ns | | 10 |-| SDO tri-state delay from SCLK edge | t9 | 6 | | 10 | tosc 周期 | | 10 |-| CS hold time after last SCLK edge | t10 | 0 | | | ns | | 10 |-| Last SCLK edge of current command to first SCLK edge of next command | t11 | 4 | | | tosc 周期 | RREG, WREG, SYNC, SLEEP, RDATA, RDATAC, STOPC | 11 |-| Last SCLK edge to first SCLK edge of next command | | 8 | | | DRDY 周期 | OCALSYS, GCALSYS | 11 |-| RESET command timing | | 16 | | | tosc 周期 | RESET | 11 |-| Pulse width | t16 | 4 | | | tosc 周期 | | 11 |-| Allowed analog input change to next valid conversion | t17 | 5000 | | | tosc 周期 | | 11 |-| DOR update, DOR invalid | t18 | 4 | | | tosc 周期 | | 11 |-| First SCLK after DRDY falls | t19 | 10 | | | tosc 周期 | RDATAC 模式 (RDATAC mode) | 11 |-| First SCLK after DRDY falls | t16 | 0 | | | tosc 周期 | 其他模式 (other modes) | 11 |+| Integral nonlinearity, VDD=+5V table | | -0.0015 | | 0.0015 | % of FS | | 6 |+| PGA gain range | | 1 | | 128 | | | 6 |+| Power supply rejection ratio DC, VDD=+5V table | | 80 | 95 | | dB | 直流 | 6 |+| Reference voltage REF, RANGE=0, VDD=+5V table | REF | 0.1 | 2.5 | 2.6 | V | RANGE = 0 | 6 |+| Reference voltage REF, RANGE=1, VDD=+5V table | REF | 0.1 | | | V | RANGE = 1 | 6 |+| REFP, REFN input range, RANGE=0, VDD=+5V table | REFP, REFN | 0 | | | V | RANGE = 0 | 6 |+| REFP, REFN input range, RANGE=1, VDD=+5V table | REFP, REFN | 0 | | | V | RANGE = 1 | 6 |+| Offset DAC gain error | | -10 | | 10 | % | | 7 |+| Supply voltage VDD, 5V table | VDD | 4.75 | | 5.25 | V | | 7 |+| Supply current, 5V table, PGA=1, buffer off | | | 240 | 375 | uA | PGA = 1,Buffer 关闭 | 7 |+| Supply current, 5V table, PGA=128, buffer off | | | 450 | 800 | uA | PGA = 128,Buffer 关闭 | 7 |+| Supply current, 5V table, PGA=1, buffer on | | | 290 | 425 | uA | PGA = 1,Buffer 打开 | 7 |+| Supply current, 5V table, PGA=128, buffer on | | | 960 | 1400 | uA | PGA = 128,Buffer 打开 | 7 |+| Power dissipation, 5V table, PGA=1, buffer off | | | 1.2 | 1.9 | mW | PGA = 1, Buffer 关闭 | 7 |+| Power supply rejection ratio DC, VDD=+3V table | | 75 | 90 | | dB | 直流 | 8 |+| Reference voltage REF, RANGE=0, VDD=+3V table | REF | 0.1 | 1.25 | 1.26 | V | RANGE = 0 | 8 |+| Reference voltage REF, RANGE=1, VDD=+3V table | REF | 0.1 | 2.5 | 2.6 | V | RANGE = 1 | 8 |+| REFP, REFN input range, RANGE=0, VDD=+3V table | REFP, REFN | 0 | | | V | RANGE = 0 | 8 |+| REFP, REFN input range, RANGE=1, VDD=+3V table | REFP, REFN | 0 | | | V | RANGE = 1 | 8 |+| Supply voltage VDD, 3V table | VDD | 2.7 | | 3.3 | V | | 9 |+| Supply current, 3V table, PGA=1, buffer off | | | 190 | 375 | uA | PGA = 1,Buffer 关闭 | 9 |+| Supply current, 3V table, PGA=128, buffer off | | | 460 | 700 | uA | PGA = 128,Buffer 关闭 | 9 |+| Supply current, 3V table, PGA=1, buffer on | | | 240 | 375 | uA | PGA = 1,Buffer 打开 | 9 |+| Supply current, 3V table, PGA=128, buffer on | | | 870 | 1325 | uA | PGA = 128,Buffer 打开 | 9 |+| Power dissipation, 3V table, PGA=1, buffer off | | | 0.6 | 1.2 | mW | PGA = 1, Buffer 关闭 | 9 | ## CAD (KiCad official)
ms1242.kicad_sym+4−4@@ -32,11 +32,11 @@ (name "VREF–" (effects (font (size 1.27 1.27)))) (number "6" (effects (font (size 1.27 1.27)))) )- (pin bidirectional line (at -17.78 -7.62 0) (length 5.08)+ (pin input line (at -17.78 -7.62 0) (length 5.08) (name "AIN0/D0" (effects (font (size 1.27 1.27)))) (number "7" (effects (font (size 1.27 1.27)))) )- (pin bidirectional line (at -17.78 -10.16 0) (length 5.08)+ (pin input line (at -17.78 -10.16 0) (length 5.08) (name "AIN1/D1" (effects (font (size 1.27 1.27)))) (number "8" (effects (font (size 1.27 1.27)))) )@@ -64,11 +64,11 @@ (name "GND" (effects (font (size 1.27 1.27)))) (number "11" (effects (font (size 1.27 1.27)))) )- (pin bidirectional line (at 17.78 -7.62 180) (length 5.08)+ (pin input line (at 17.78 -7.62 180) (length 5.08) (name "AIN3/D3" (effects (font (size 1.27 1.27)))) (number "10" (effects (font (size 1.27 1.27)))) )- (pin bidirectional line (at 17.78 -10.16 180) (length 5.08)+ (pin input line (at 17.78 -10.16 180) (length 5.08) (name "AIN2/D2" (effects (font (size 1.27 1.27)))) (number "9" (effects (font (size 1.27 1.27)))) )
ms1242.lbr+4−4@@ -103,16 +103,16 @@ <pin name="PDWN" x="-17.78" y="0" length="middle" direction="in"/> <pin name="VREF+" x="-17.78" y="-2.54" length="middle" direction="pwr"/> <pin name="VREF" x="-17.78" y="-5.08" length="middle" direction="pwr"/>- <pin name="AIN0/D0" x="-17.78" y="-7.62" length="middle" direction="io"/>- <pin name="AIN1/D1" x="-17.78" y="-10.16" length="middle" direction="io"/>+ <pin name="AIN0/D0" x="-17.78" y="-7.62" length="middle" direction="in"/>+ <pin name="AIN1/D1" x="-17.78" y="-10.16" length="middle" direction="in"/> <pin name="DRDY" x="17.78" y="7.62" length="middle" direction="out" rot="R180"/> <pin name="SCLK" x="17.78" y="5.08" length="middle" direction="in" rot="R180"/> <pin name="DOUT" x="17.78" y="2.54" length="middle" direction="out" rot="R180"/> <pin name="DIN" x="17.78" y="0" length="middle" direction="in" rot="R180"/> <pin name="CS" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/> <pin name="GND" x="17.78" y="-5.08" length="middle" direction="pwr" rot="R180"/>- <pin name="AIN3/D3" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/>- <pin name="AIN2/D2" x="17.78" y="-10.16" length="middle" direction="io" rot="R180"/>+ <pin name="AIN3/D3" x="17.78" y="-7.62" length="middle" direction="in" rot="R180"/>+ <pin name="AIN2/D2" x="17.78" y="-10.16" length="middle" direction="in" rot="R180"/> </symbol> </symbols> <devicesets>
package.json+24−24@@ -1,6 +1,6 @@ { "slug": "ms1242",- "version": "0.1.1",+ "version": "0.1.2", "type": "component", "description": "Hangzhou Ruimeng Tech Analog To Digital Converters (ADC), TSSOP-16. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.", "tags": [@@ -52,7 +52,7 @@ "lcsc": "C482689" }, "distributor_check": {- "checked_at": "2026-11-11T01:41:15Z",+ "checked_at": "2026-11-11T06:20:10Z", "source": "Component Ocean /api/assign-pns", "digikey": { "pn": null,@@ -68,19 +68,19 @@ "number": "1", "name": "VDD", "type": "power_in",- "description": "Power supply pin; the datasheet gives an operating supply of 2.7 V to 5.25 V and an absolute maximum of -0.3 V to 6 V."+ "description": "Power supply input, specified for 2.7 V to 5.25 V with an absolute maximum of -0.3 V to 6 V." }, { "number": "2", "name": "XIN", "type": "input",- "description": "Clock input pin for the crystal or oscillator; the system clock fosc is specified at 1 MHz to 5 MHz, and 10 pF to 20 pF capacitors are required on MCLK and XTAL when a crystal is used."+ "description": "Clock input for a crystal or external clock; the master clock fosc is specified from 1 MHz to 5 MHz, and 10 to 20 pF capacitors are required on both XIN and XOUT when a crystal is used." }, { "number": "3", "name": "XOUT", "type": "output",- "description": "Clock output pin for the crystal; the datasheet also says an external clock is applied at this pin with XTAL left floating, which conflicts with the pin direction printed in the table."+ "description": "Clock output pin for the crystal oscillator; the datasheet also states that an external clock is applied through this pin." }, { "number": "4",@@ -92,49 +92,49 @@ "number": "5", "name": "VREF+", "type": "power_in",- "description": "Analog positive reference voltage input; the differential reference (REFP minus REFN) must not exceed 2.5 V at VDD=5 V with RANGE=0, or 1.25 V at VDD=3 V with RANGE=0, and must not exceed the supply voltage."+ "description": "Positive analog reference voltage input; the differential reference (REFP minus REFN) must not exceed 2.5 V at VDD=5 V with RANGE=0 (5.0 V with RANGE=1), or 1.25 V at VDD=3 V with RANGE=0 (2.5 V with RANGE=1), and REFP/REFN must stay within 0 to VDD." }, { "number": "6", "name": "VREF–", "type": "power_in",- "description": "Analog negative reference voltage input, forming the differential reference pair with VREF+ (REFN); the reference voltage must not exceed the supply voltage."+ "description": "Negative analog reference voltage input; REFP and REFN must stay within 0 to VDD and the differential reference must not exceed the VDD-dependent limit." }, { "number": "7", "name": "AIN0/D0",- "type": "bidirectional",- "description": "Analog input channel 0, also usable as data I/O bit 0; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 0, also usable as data I/O line D0; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "8", "name": "AIN1/D1",- "type": "bidirectional",- "description": "Analog input channel 1, also usable as data I/O bit 1; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 1, also usable as data I/O line D1; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "9", "name": "AIN2/D2",- "type": "bidirectional",- "description": "Analog input channel 2, also usable as data I/O bit 2; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 2, also usable as data I/O line D2; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "10", "name": "AIN3/D3",- "type": "bidirectional",- "description": "Analog input channel 3, also usable as data I/O bit 3; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 3, also usable as data I/O line D3; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "11", "name": "GND", "type": "power_in",- "description": "Ground reference pin."+ "description": "Ground reference for the device." }, { "number": "12", "name": "CS", "type": "input",- "description": "SPI chip select input, active low; it must be held low for the whole communication, and when it goes high the SPI bus is reset."+ "description": "SPI chip select input, active low; the SPI bus is reset when CS goes high." }, { "number": "13",@@ -146,19 +146,19 @@ "number": "14", "name": "DOUT", "type": "output",- "description": "SPI serial data output; it is high impedance when not in use, allowing SDI and SDO to be tied together on a bidirectional bus."+ "description": "SPI serial data output, which is high impedance (tri-state) when not in use." }, { "number": "15", "name": "SCLK", "type": "input",- "description": "SPI serial clock input with Schmitt-trigger input, used to sample SDI and SDO; it must be free of noise to avoid erroneous sampling."+ "description": "SPI serial clock input with a Schmitt trigger, which must be free of noise to avoid incorrect sampling." }, { "number": "16", "name": "DRDY", "type": "output",- "description": "Data-ready output, active low; it goes low when new conversion data is available in the data output register."+ "description": "Data ready output, active low, which goes low when new conversion data is available in the data output register." } ], "provenance": {@@ -172,11 +172,11 @@ "consensus": "agreed", "guards": "pin_guards 0.1: passed", "guard_notes": [- "extractor flagged: Pin 3 XOUT is listed as a clock output (O), but the clock section says that with an external clock t; The datasheet pin table lists AIN0/D0 to AIN3/D3 as inputs (I), but the data I/O function (IOCON/DIR; The pin table is for MS1242 (TSSOP16) only; the datasheet TSSOP16 pinout matches this part. The text"+ "extractor flagged: The pin table lists XOUT as an output (clock output), but the clock section says an external clock i; The pin table lists AIN0/D0 to AIN3/D3 as inputs, but the data I/O section says the port can be conf; DOUT is listed as an output in the table but is high impedance when unused, so it may be tri-state; " ], "pages_sent": 27,- "cost_usd": 0.0938,- "at": "2026-11-11T01:40:56"+ "cost_usd": 0.0948,+ "at": "2026-11-11T06:19:55" }, "datasheet": { "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588885031205154816",@@ -231,7 +231,7 @@ "zmin_mm": -0.0, "centre_offset_mm": 0.0, "footprint_binding": "identity",- "sha256": "b8ce3405ab61db421a5ac25cba55aa371eec8edd9721d39102d9fbbb5bd85518",+ "sha256": "606dbd2e4f893e44eba5b203048a57ae95e020be8a5e0a34be1dafb26c3d1809", "checked": "2026-11-11", "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)" }
page.json+27−25@@ -4,7 +4,7 @@ "slug": "ms1242", "title": "MS1242", "brief": "Hangzhou Ruimeng Tech Analog To Digital Converters (ADC), TSSOP-16. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",- "version": "0.1.1",+ "version": "0.1.2", "license": "CC-BY-SA-4.0", "tags": [ "component",@@ -34,7 +34,7 @@ "lcsc": "C482689" }, "distributor_check": {- "checked_at": "2026-11-11T01:41:15Z",+ "checked_at": "2026-11-11T06:20:10Z", "source": "Component Ocean /api/assign-pns", "digikey": { "pn": null,@@ -50,19 +50,19 @@ "number": "1", "name": "VDD", "type": "power_in",- "description": "Power supply pin; the datasheet gives an operating supply of 2.7 V to 5.25 V and an absolute maximum of -0.3 V to 6 V."+ "description": "Power supply input, specified for 2.7 V to 5.25 V with an absolute maximum of -0.3 V to 6 V." }, { "number": "2", "name": "XIN", "type": "input",- "description": "Clock input pin for the crystal or oscillator; the system clock fosc is specified at 1 MHz to 5 MHz, and 10 pF to 20 pF capacitors are required on MCLK and XTAL when a crystal is used."+ "description": "Clock input for a crystal or external clock; the master clock fosc is specified from 1 MHz to 5 MHz, and 10 to 20 pF capacitors are required on both XIN and XOUT when a crystal is used." }, { "number": "3", "name": "XOUT", "type": "output",- "description": "Clock output pin for the crystal; the datasheet also says an external clock is applied at this pin with XTAL left floating, which conflicts with the pin direction printed in the table."+ "description": "Clock output pin for the crystal oscillator; the datasheet also states that an external clock is applied through this pin." }, { "number": "4",@@ -74,49 +74,49 @@ "number": "5", "name": "VREF+", "type": "power_in",- "description": "Analog positive reference voltage input; the differential reference (REFP minus REFN) must not exceed 2.5 V at VDD=5 V with RANGE=0, or 1.25 V at VDD=3 V with RANGE=0, and must not exceed the supply voltage."+ "description": "Positive analog reference voltage input; the differential reference (REFP minus REFN) must not exceed 2.5 V at VDD=5 V with RANGE=0 (5.0 V with RANGE=1), or 1.25 V at VDD=3 V with RANGE=0 (2.5 V with RANGE=1), and REFP/REFN must stay within 0 to VDD." }, { "number": "6", "name": "VREF–", "type": "power_in",- "description": "Analog negative reference voltage input, forming the differential reference pair with VREF+ (REFN); the reference voltage must not exceed the supply voltage."+ "description": "Negative analog reference voltage input; REFP and REFN must stay within 0 to VDD and the differential reference must not exceed the VDD-dependent limit." }, { "number": "7", "name": "AIN0/D0",- "type": "bidirectional",- "description": "Analog input channel 0, also usable as data I/O bit 0; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 0, also usable as data I/O line D0; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "8", "name": "AIN1/D1",- "type": "bidirectional",- "description": "Analog input channel 1, also usable as data I/O bit 1; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 1, also usable as data I/O line D1; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "9", "name": "AIN2/D2",- "type": "bidirectional",- "description": "Analog input channel 2, also usable as data I/O bit 2; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 2, also usable as data I/O line D2; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "10", "name": "AIN3/D3",- "type": "bidirectional",- "description": "Analog input channel 3, also usable as data I/O bit 3; the analog input must stay within -0.5 V to VDD+0.5 V absolute maximum."+ "type": "input",+ "description": "Analog input channel 3, also usable as data I/O line D3; analog input range is GND-0.1 V to VDD+0.1 V with the buffer off and GND+0.05 V to VDD-1.5 V with the buffer on." }, { "number": "11", "name": "GND", "type": "power_in",- "description": "Ground reference pin."+ "description": "Ground reference for the device." }, { "number": "12", "name": "CS", "type": "input",- "description": "SPI chip select input, active low; it must be held low for the whole communication, and when it goes high the SPI bus is reset."+ "description": "SPI chip select input, active low; the SPI bus is reset when CS goes high." }, { "number": "13",@@ -128,19 +128,19 @@ "number": "14", "name": "DOUT", "type": "output",- "description": "SPI serial data output; it is high impedance when not in use, allowing SDI and SDO to be tied together on a bidirectional bus."+ "description": "SPI serial data output, which is high impedance (tri-state) when not in use." }, { "number": "15", "name": "SCLK", "type": "input",- "description": "SPI serial clock input with Schmitt-trigger input, used to sample SDI and SDO; it must be free of noise to avoid erroneous sampling."+ "description": "SPI serial clock input with a Schmitt trigger, which must be free of noise to avoid incorrect sampling." }, { "number": "16", "name": "DRDY", "type": "output",- "description": "Data-ready output, active low; it goes low when new conversion data is available in the data output register."+ "description": "Data ready output, active low, which goes low when new conversion data is available in the data output register." } ], "provenance": {@@ -154,11 +154,11 @@ "consensus": "agreed", "guards": "pin_guards 0.1: passed", "guard_notes": [- "extractor flagged: Pin 3 XOUT is listed as a clock output (O), but the clock section says that with an external clock t; The datasheet pin table lists AIN0/D0 to AIN3/D3 as inputs (I), but the data I/O function (IOCON/DIR; The pin table is for MS1242 (TSSOP16) only; the datasheet TSSOP16 pinout matches this part. The text"+ "extractor flagged: The pin table lists XOUT as an output (clock output), but the clock section says an external clock i; The pin table lists AIN0/D0 to AIN3/D3 as inputs, but the data I/O section says the port can be conf; DOUT is listed as an output in the table but is high impedance when unused, so it may be tri-state; " ], "pages_sent": 27,- "cost_usd": 0.0938,- "at": "2026-11-11T01:40:56"+ "cost_usd": 0.0948,+ "at": "2026-11-11T06:19:55" }, "datasheet": { "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588885031205154816",@@ -213,7 +213,7 @@ "zmin_mm": 0, "centre_offset_mm": 0, "footprint_binding": "identity",- "sha256": "b8ce3405ab61db421a5ac25cba55aa371eec8edd9721d39102d9fbbb5bd85518",+ "sha256": "606dbd2e4f893e44eba5b203048a57ae95e020be8a5e0a34be1dafb26c3d1809", "checked": "2026-11-11", "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)" }@@ -957,5 +957,7 @@ ], "visibility": { "public": true- }+ },+ "description": "Hangzhou Ruimeng Tech Analog To Digital Converters (ADC), TSSOP-16. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+ "org": "adom" }