Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC12F1822T-I/MF 数据手册 > PIC12F1822T-I/MF 其他数据使用手册 1/24 页
PIC12F1822T-I/MF
器件3D模型
6.902
导航目录
  • 功能描述在P3
PIC12F1822T-I/MF数据手册
Page:
of 24 Go
若手册格式错乱,请下载阅览PDF原文件
2013 Microchip Technology Inc. DS00001488B-page 1
AN1488
INTRODUCTION
The 24XXXX series serial EEPROMs from Microchip
Technology are I
2
C
compatible and feature maximum
clock frequencies ranging from 100 kHz up to 1 MHz.
Many times when designing an application which
utilizes a serial EEPROM device, the dedicated proto-
col-specific serial port is in use by other parts of the
design. In these instances, it is required of the designer
to write software routines capable of generating the
proper signals for communicating with the EEPROM
device.
The I
2
C bit banging is a technique for serial communi-
cations using software instead of a dedicated hardware
module. This means that the code controls the state of
the MCU pins, related to all parameters of the signals:
timing, levels and synchronization.
This application note is intended to serve as a
reference for communicating with Microchip’s 24XXXX
series serial EEPROM devices, without relying on a
hardware serial port to handle the I
2
C operations.
Source code for common data transfer modes is also
provided.
Figure 1 and Figure 2 show the hardware schematics
for the interface between Microchip’s 24XXXX devices
and PIC16LF1947/PIC12F1822 microcontrollers. The
schematics show the connections necessary between
the microcontroller and the serial EEPROM, and the
software was written assuming these connections. The
SDA pin is an open-drain terminal, and therefore
requires a pull-up resistor to V
CC (typically 10 k for
100 kHz and 2 k for 400 kHz and 1 MHz). Also, the
A0, A1 and A2 pins are tied to ground because these
set the address of the I
2
C EEPROM. The WP pin is
grounded to allow writing to the EEPROM.
FIGURE 1: CIRCUIT FOR PIC16LF1947 AND 24XXXX SERIES DEVICE
Author: Eugen Ionescu
Microchip Technology Inc.
Vcc
2K
Vss
Vcc
SCL
SDA
3
4
8
6
5
1
2
24XX256
7
WP
35
34
RC3
RC4
PIC16LF1947
64-Pin TQFP
A0
A1
A2
C4 = 0.1 uF
Vcc
Vcc
2K
Vcc
+
-
3.3 V
Bit Banging I
2
C™ on Mid-Range MCUs with the XC8 C Compiler

PIC12F1822T-I/MF 数据手册

Microchip(微芯)
422 页 / 4.23 MByte
Microchip(微芯)
40 页 / 0.57 MByte
Microchip(微芯)
24 页 / 0.51 MByte
Microchip(微芯)
2 页 / 0.1 MByte

PIC12F1822 数据手册

Microchip(微芯)
添加智能的照明应用 Adding Intelligence to Lighting Applications
Microchip(微芯)
MICROCHIP  PIC12F1822-I/SN  微控制器, 8位, 闪存, AEC-Q100, PIC12F18xx, 32 MHz, 3.5 KB, 128 Byte, 8 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC12F1822-I/MF  微控制器, 8位, 闪存, AEC-Q100, PIC12F18xx, 32 MHz, 3.5 KB, 128 Byte, 8 引脚, DFN
Microchip(微芯)
MICROCHIP  PIC12F1822T-I/SN  微控制器, 8位, 闪存, AEC-Q100, PIC12F, 32 MHz, 3.5 KB, 128 Byte, 8 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC12F1822-I/P  微控制器, 8位, 闪存, AEC-Q100, PIC12F18xx, 32 MHz, 3.5 KB, 256 Byte, 8 引脚, DIP
Microchip(微芯)
MICROCHIP  PIC12F1822-E/SN  微控制器, 8位, 闪存, AEC-Q100, PIC12F18xx, 32 MHz, 3.5 KB, 128 Byte, 8 引脚, SOIC
Microchip(微芯)
3.5 KB 闪存 128 字节 RAM 32 MHz 内部振荡器6 I/0 增强型 中档内核 8DFN
Microchip(微芯)
8位微控制器 -MCU 3.5 KB Flash 128 b RAM 32 MHz
Microchip(微芯)
PIC 32MHz 闪存:2K@x14bit
Microchip(微芯)
PIC12F1822/1840 8 位闪存微控制器Microchip 的 PIC12 微控制器 (MCU) 是世界首个 8 引脚微控制器。 最初已经作为一次可编程 (OTP) 部件推出,此系列设备继续扩展为额外功能且添加了附加改进功能。 PIC12F1822/1840 系列微控制器基于 Microchip 具有深硬件堆栈和 49 个说明的增强型中级芯。 这些 MCU 提供高达 8 MIPS、3.5 K 字节程序内存和 128 字节数据内存。 板载可配置 RC 振荡器,精确度为 ±1%。### 特点49 个指令 16 级硬件堆栈 16 MHz 内部振荡器 – Selectable Output Range from 16 MHz to 31 kHz 6 个输入/输出引脚 1 个比较器 4 通道 10 位模拟至数字转换器 (ADC) 4 通道电容式感应 (mTouch™) 模块 两个 8 位计时器 一个 16 位计时器 1 个增强型捕获、比较 PWM (ECCP) 模块 主同步串行端口 (MSSP),带有 SPI 和 I2C EUSART 在线串行编程 (ICSP) 超低功耗 (XLP) 技术 ### PIC12F 微控制器### Microchip PIC12F 8 位 PIC® 微控制器Microchip 的 PIC12F 微控制器 (MCU) 是世界首个 8 引脚微控制器。 最初已经作为一次可编程 (OTP) 部件推出,此系列的设备将继续扩展为 Microchip 添加额外功能,进一步提高规格,并继续提供比以前更大的值。 PIC12F 成功的关键是在一个 8 引脚封装中允许六个输入/输出通道的内部 RC 振荡器。 此 RC 振荡器的更高版本可在 31kHz 和 32MHz 之间配置。
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件