Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC24F32KA302-I/ML Datasheet(PDF) 169 Page - Microchip Technology

Part # PIC24F32KA302-I/ML
Description  20/28/44/48-Pin, General Purpose, 16-Bit Flash Microcontrollers with XLP Technology
PDF  364 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24F32KA302-I/ML Datasheet(HTML) 169 Page - Microchip Technology

Back Button PIC24F32KA302-I/ML Datasheet HTML 165Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 166Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 167Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 168Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 169Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 170Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 171Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 172Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 173Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 169 / 364 page
background image
 2011-2013 Microchip Technology Inc.
DS39995D-page 169
PIC24FV32KA304 FAMILY
17.0 INTER-INTEGRATED
CIRCUIT™ (I2C™)
The Inter-Integrated Circuit (I2C™) module is a serial
interface
useful for communicating with other
peripheral or microcontroller devices. These peripheral
devices may be serial data EEPROMs, display drivers,
A/D Converters, etc.
The I2C modules support these features:
• Independent master and slave logic
• 7-bit and 10-bit device addresses
• General call address, as defined in the I2C protocol
• Clock stretching to provide delays for the
processor to respond to a slave data request
• Both 100 kHz and 400 kHz bus specifications
• Configurable address masking
• Multi-Master modes to prevent loss of messages
in arbitration
• Bus Repeater mode, allowing the acceptance of
all messages as a slave, regardless of the
address
• Automatic SCL
A block diagram of the module is shown in Figure 17-1.
17.1
Pin Remapping Options
The I2C modules are tied to a fixed pin. To allow flexi-
bility with peripheral multiplexing, the I2C1 module in
28-pin devices, can be reassigned to the alternate pins.
These alternate pins are designated as SCL1 and
SDA1 during device configuration.
Pin assignment is controlled by the I2CxSEL
Configuration bit. Programming this bit (= 0) multiplexes
the module to the SCL1 and SDA1 pins.
17.2
Communicating as a Master in a
Single Master Environment
The details of sending a message in Master mode
depends on the communication protocols for the device
being communicated with. Typically, the sequence of
events is as follows:
1.
Assert a Start condition on SDAx and SCLx.
2.
Send the I2C device address byte to the slave
with a write indication.
3.
Wait for and verify an Acknowledge from the
slave.
4.
Send the first data byte (sometimes known as
the command) to the slave.
5.
Wait for and verify an Acknowledge from the
slave.
6.
Send the serial memory address low byte to the
slave.
7.
Repeat Steps 4 and 5, until all data bytes are
sent.
8.
Assert a Repeated Start condition on SDAx and
SCLx.
9.
Send the device address byte to the slave with
a read indication.
10. Wait for and verify an Acknowledge from the
slave.
11. Enable master reception to receive serial
memory data.
12. Generate an ACK or NACK condition at the end
of a received byte of data.
13. Generate a Stop condition on SDAx and SCLx.
Note:
This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information on the
Inter-Integrated Circuit, refer to the
“PIC24F Family Reference Manual”,
Section 24. “Inter-Integrated Circuit™
(I2C™)” (DS39702).
Note:
Throughout this section, references to
register and bit names that may be
associated with a specific I2C module are
referred to generically by the use of ‘x’ in
place of the specific module number. Thus,
“I2CxSTAT” might refer to the Receive
Status register for either I2C1 or I2C2.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com