Hardware Functional Overview 4-21
3.
Clear SMBus status by writing 1Eh to SmbHstSts register.
4.
Write the PIC16C62 slave address to SmbHstAdd register.
Send command to PIC16C62 -- Slave address is 04h.
Read data from PIC16C62 -- Slave address is 05h.
5.
Write the desired command to SmbHstCmd register.
6.
Write the desired parameters to SmbHstDat0(High byte) and
SmbHstDat1(Low byte) registers if the system wants to send command to
PIC16C62.
7.
Wait for SMBus interrupt occurred by monitoring SmbHstSts register INTR
bit.
8.
Get the desired data by reading from SmbHstDat0(High byte) and
SmbHstDat1(Low byte) registers if the system wants to read data from
PIC16C62.
Features Summary of the Micro-P:
n
5 channels 8-bit analogue to digital converter
n
Timer0: 8-bit tuner/counter with 8-bit prescaler
n
Timer1: 16-bit timer/counter. TMR1 can be incremented during sleep
via external crystal/clock
n
Timer2: 8-bit timer/counter with 8-bit period register, prescaler and
postscaler
n
Capture, Compare, PWM module
n
Synchronous Serial port (SSP) with SPI and I2C
n
Universal Synchronous Asynchronous Receiver Transmitter
(USART/SCI)
n
Brown-out detection circuitry for Brown-out Reset (BOR)
n
2K bytes program memory
n
128 bytes data memory
n
22 I/O pin
n
8 interrupt sources