Z8S18020VSG

Z8S18020VSG


Specifications
SKU
1524767
Details

BUY Z8S18020VSG https://www.utsource.net/itm/p/1524767.html
MPU Z80180 CISC 8bit 20MHz 68-Pin PLCC
Parameter Description Value
Device Type Microcontroller Z8S18020VSG
Package QFP (Quad Flat Package) 64-pin
Operating Voltage (Vcc) Supply Voltage Range 2.7 V to 5.5 V
Operating Temperature Industrial Temperature Range -40°C to +85°C
CPU Clock Speed Up to 32 MHz
Flash Memory Program Memory 128 KB
RAM Data Memory 8 KB
EEPROM Non-Volatile Data Storage 256 Bytes
I/O Ports General Purpose Input/Output 49 pins
Timers Timer/Counter Modules 3 x 16-bit
UARTs Universal Asynchronous Receiver-Transmitter 2 channels
SPI Serial Peripheral Interface 1 channel
I2C Inter-Integrated Circuit 1 channel
ADC Analog-to-Digital Converter 10-bit, 8 channels
Watchdog Timer Reset Function Yes
Power Management Low-Power Modes Idle, Doze, Sleep, Deep Sleep
Interrupts Interrupt Sources Multiple sources including external interrupts, timer interrupts, etc.
Oscillator Internal RC Oscillator 4 MHz ±2% at 25°C
External Crystal Crystal Oscillator Support 32 kHz to 32 MHz
Brownout Detection Power Supply Monitoring Yes
Reset Reset Sources Power-on reset, brownout reset, watchdog reset, external reset pin

Instructions for Use:

  1. Power Supply:

    • Ensure the supply voltage is within the specified range (2.7 V to 5.5 V).
    • Connect the Vcc and GND pins to a stable power source.
  2. Clock Configuration:

    • Use the internal 4 MHz RC oscillator for basic applications.
    • For higher precision, connect an external crystal oscillator between the X1 and X2 pins.
  3. I/O Configuration:

    • Configure the I/O ports using the appropriate register settings.
    • Set the direction of each port pin (input or output) using the DDRx registers.
  4. Timer Setup:

    • Initialize the timer/counter modules by setting the TCCR registers.
    • Use the timer overflow interrupt to generate periodic events.
  5. Serial Communication:

    • Configure the UART, SPI, and I2C interfaces using the respective control registers.
    • Set the baud rate for UART communication using the UBRR register.
  6. ADC Operation:

    • Select the analog input channel using the ADMUX register.
    • Start the conversion by setting the ADSC bit in the ADCSRA register.
    • Read the conversion result from the ADCL and ADCH registers.
  7. Low-Power Modes:

    • Enter low-power modes by setting the appropriate bits in the MCUCR register.
    • Use the watchdog timer to wake up from sleep modes.
  8. Interrupt Handling:

    • Enable global interrupts by setting the I bit in the SREG register.
    • Write interrupt service routines (ISRs) for specific interrupt sources.
  9. Brownout Detection:

    • Enable brownout detection by setting the BOD bit in the MCUCR register.
    • The device will reset if the supply voltage drops below the threshold.
  10. Reset:

    • The device can be reset using the external reset pin, power-on reset, brownout reset, or watchdog reset.
    • Ensure the reset pin is held high during normal operation to prevent accidental resets.

For detailed programming and application notes, refer to the Z8S18020VSG datasheet and application notes provided by the manufacturer.

(For reference only)

View more about Z8S18020VSG on main site