Specifications
SKU: 11723791
Parameter | Description | Value |
---|---|---|
Part Number | Full Part Number | UPD7811G287 |
Package Type | Package Style | DIP-40, QFP-44 |
Operating Voltage (Vcc) | Supply Voltage Range | 5.0 V ± 5% |
Operating Temperature | Operating Temperature Range | -40°C to +85°C |
Clock Frequency | Maximum Clock Frequency | 16 MHz |
Program Memory | Type and Size | ROM: 32 KB |
Data Memory | Type and Size | RAM: 256 B |
I/O Ports | Number of I/O Pins | 32 |
Timers/Counters | Number and Type | 2 x 8-bit, 1 x 16-bit |
Serial Communication Interface (SCI) | Number of SCI Modules | 1 |
Analog-to-Digital Converter (ADC) | Number of ADC Channels | 8 |
Power Consumption | Typical Power Consumption at 5V, 16MHz | 200 mW |
Interrupt Sources | Number of Interrupt Sources | 16 |
Watchdog Timer | Availability | Yes |
Low-Voltage Detection (LVD) | Availability | Yes |
Programming Method | Programming Interface | In-Circuit Serial Programming (ICSP) |
Package Marking | Marking on the Package | UPD7811G287 |
Instructions for Use
Power Supply:
- Ensure that the supply voltage (Vcc) is within the specified range of 5.0 V ± 5%.
- Connect a decoupling capacitor (0.1 μF) as close as possible to the Vcc and GND pins to stabilize the power supply.
Clock Configuration:
- The device supports an external crystal or ceramic resonator for clock generation. Ensure the crystal frequency is within the maximum clock frequency of 16 MHz.
- If using an internal oscillator, configure it via the appropriate fuses.
I/O Configuration:
- Configure the I/O ports using the data direction registers (DDRx) to set pins as input or output.
- Use pull-up resistors for inputs if necessary to avoid floating states.
Serial Communication:
- Initialize the SCI module by setting the baud rate, data bits, parity, and stop bits.
- Use the appropriate registers to transmit and receive data.
Analog-to-Digital Conversion:
- Configure the ADC channels and conversion mode (single-ended or differential).
- Start conversions and read the results from the ADC data registers.
Interrupt Handling:
- Enable the required interrupt sources by setting the corresponding bits in the interrupt enable register.
- Write interrupt service routines (ISRs) to handle specific interrupts.
Watchdog Timer:
- Enable the watchdog timer by setting the appropriate bits in the watchdog control register.
- Service the watchdog timer periodically to prevent a reset.
Low-Voltage Detection:
- Enable the LVD feature to monitor the supply voltage and trigger an interrupt or reset if the voltage drops below a threshold.
Programming:
- Use an ICSP programmer to program the device in-circuit.
- Follow the programming algorithm provided in the device datasheet for successful programming.
Storage and Handling:
- Store the device in a dry environment to prevent moisture damage.
- Handle the device with care to avoid static discharge, which can damage the sensitive components.
For detailed information and specific register configurations, refer to the UPD7811G287 datasheet and application notes.
(For reference only)Inquiry - UPD7811G287