Skip to content

CH32V006 input - output impedance #219

@boda-akos

Description

@boda-akos

This data is not really present in the PDF-s.

Analog Inputs have an approximate 75 kOhm impedance, considering that the ADC resolution is 12 bits (0-4095) this load will cause 1 count ADC error already if the driving source's internal impedance is 18 Ohm !! (75000 / 4096). Drive the analog inputs always from an opamp voltage follower to ensure low impedance.

Method to measure : 3.3V input on ADC0 channel, resistor in series with the input, increase resistor until the ADC value drops to half scale (2047).

Inputs like pinMode( pin, INPUT ) are very high impedance. No worries.

Output like pinMode (pin, OUTPUT) source about 40mA and sink 46mA. Internal impedance 32.5 Ohm sourcing and 22 ohm when sinking. Method to measure : 50 Ohm load on PC0 output switched to 3.3V VCC or 0V VSS. Blink example on output runs at 1 kHz. Voltage drop measured with Rigol DS1054 oscilloscope. Sourcing pulse p-p drops to 2.0V. Sinking pulse p-p drops to 2.3V. Other output pins have very similar characteristics according to data sheet (variations 50mV, page 33 of CH32..DSO.pdf)

Conclusion : LED drive is possible without current limiting resistors, a 4-digit 7 segment LED multiplexed 1/4 of the time is driven by 10mA average current which is ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions