PIC12LF1822-I/MF Microchip Technology, PIC12LF1822-I/MF Datasheet - Page 248
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC12LF1822-I/MF
Manufacturer Part Number
PIC12LF1822-I/MF
Description
IC, 8BIT MCU, PIC12, 32MHZ, DFN-8
Manufacturer
Microchip Technology
Series
PIC® XLP™ 12Fr
Datasheets
1.PIC12F1822T-ISN.pdf
(404 pages)
2.PIC12F1822T-ISN.pdf
(10 pages)
3.PIC12F1822-IMF.pdf
(398 pages)
Specifications of PIC12LF1822-I/MF
Controller Family/series
PIC12
No. Of I/o's
6
Eeprom Memory Size
256Byte
Ram Memory Size
128Byte
Cpu Speed
32MHz
No. Of Timers
3
Core Size
8 Bit
Program Memory Size
3.5KB
Core Processor
PIC
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DFN
Processor Series
PIC12LF
Core
PIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC12LF1822-I/MF
Manufacturer:
MICROCHIP
Quantity:
3 600
- Current page: 248 of 404
- Download datasheet (4Mb)
PIC12F/LF1822/PIC16F/LF1823
25.5.2
When the R/W bit of a matching received address byte
is clear, the R/W bit of the SSP1STAT register is
cleared. The received address is loaded into the
SSP1BUF register and acknowledged.
When the overflow condition exists for a received
address, then not Acknowledge is given. An overflow
condition is defined as either bit BF of the SSP1STAT
register is set, or bit SSP1OV of the SSP1CON1 regis-
ter is set. The BOEN bit of the SSP1CON3 register
modifies this operation. For more information see
Register
An MSSP1 interrupt is generated for each transferred
data byte. Flag bit, SSP1IF, must be cleared by soft-
ware.
When the SEN bit of the SSP1CON2 register is set,
SCL will be held low (clock stretch) following each
received byte. The clock must be released by setting
the CKP bit of the SSP1CON1 register, except
sometimes in 10-bit mode. See
Master Mode”
25.5.2.1
This section describes a standard sequence of events
for the MSSP1 module configured as an I
7-bit Addressing mode. All decisions made by hard-
ware or software and their effect on reception.
Figure 25-13
reference for this description.
This is a step by step process of what typically must
be done to accomplish I
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Software clears SSP1IF.
11. Software
12. Steps 8-12 are repeated for all received bytes
13. Master sends Stop condition, setting P bit of
DS41413B-page 248
Start bit detected.
S bit of SSP1STAT is set; SSP1IF is set if inter-
rupt on Start detect is enabled.
Matching address with R/W bit clear is received.
The slave pulls SDA low sending an ACK to the
master, and sets SSP1IF bit.
Software clears the SSP1IF bit.
Software
SSP1BUF clearing the BF flag.
If SEN = 1; Slave software sets CKP bit to
release the SCL line.
The master clocks out a data byte.
Slave drives SDA low sending an ACK to the
master, and sets SSP1IF bit.
SSP1BUF clearing BF.
from the Master.
SSP1STAT, and the bus goes Idle.
SLAVE RECEPTION
25-4.
7-bit Addressing Reception
and
for more detail.
reads
reads
Figure 25-14
2
the
C communication.
received
received
is used as a visual
Section 25.2.3 “SPI
address
byte
2
C Slave in
from
from
Preliminary
25.5.2.2
Slave device reception with AHEN and DHEN set
operate the same as without these options with extra
interrupts and clock stretching added after the 8th fall-
ing edge of SCL. These additional interrupts allow the
slave software to decide whether it wants to ACK the
receive address or data byte, rather than the hard-
ware. This functionality adds support for PMBus™ that
was not present on previous versions of this module.
This list describes the steps that need to be taken by
slave software to use these options for I
cation.
address and data holding.
operation with the SEN bit of the SSP1CON2 register
set.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Slave clears SSP1IF.
11. SSP1IF set and CKP cleared after 8th falling
12. Slave looks at ACKTIM bit of SSP1CON3 to
13. Slave reads the received data from SSP1BUF
14. Steps 7-14 are the same for each received data
15. Communication is ended by either the slave
Note: SSP1IF is still set after the 9th falling edge
S bit of SSP1STAT is set; SSP1IF is set if inter-
rupt on Start detect is enabled.
Matching address with R/W bit clear is clocked
in. SSP1IF is set and CKP cleared after the 8th
falling edge of SCL.
Slave clears the SSP1IF.
Slave can look at the ACKTIM bit of the
SSP1CON3 register to determine if the SSP1IF
was after or before the ACK.
Slave reads the address value from SSP1BUF,
clearing the BF flag.
Slave sets ACK value clocked out to the master
by setting ACKDT.
Slave releases the clock by setting CKP.
SSP1IF is set after an ACK, not after a NACK.
If SEN = 1 the slave hardware will stretch the
clock after the ACK.
edge of SCL for a received data byte.
determine the source of the interrupt.
clearing BF.
byte.
sending an ACK = 1, or the master sending a
Stop condition. If a Stop is sent and Interrupt on
Stop Detect is disabled, the slave will only know
by polling the P bit of the SSTSTAT register.
Figure 25-15
of SCL even if there is no clock stretching
and BF has been cleared. Only if NACK is
sent to Master is SSP1IF not set
7-bit Reception with AHEN and DHEN
displays a module using both
2010 Microchip Technology Inc.
Figure 25-16
2
includes the
C commun-
Related parts for PIC12LF1822-I/MF
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: