Microchip TC1321 Manual


Læs nedenfor 📖 manual på dansk for Microchip TC1321 (39 sider) i kategorien Ikke kategoriseret. Denne guide var nyttig for 5 personer og blev bedømt med 4.5 stjerner i gennemsnit af 2 brugere

Side 1/39
2000 Microchip Technology Inc. Preliminary DS00735A-page 1
INTRODUCTION
This application note describes the implementation of
the PICmicro MSSP module for Master I2C communi-
cations. The Master Synchronous Serial Port (MSSP)
module is the enhanced Synchronous Serial Port
developed by Microchip Technology and is featured on
many of the PICmicro devices. This module provides
for both the 4-mode SPI communications, as well as
Master and Slave I2C communications, in hardware.
For information on the SPITM peripheral implementation
see the PICmicroTM Mid-Range MCU Family Reference
Manual, document DS33023. The MSSP module in I
2C
mode fully implements all Master and Slave functions
(including general call support) and provides interrupts
on START and STOP bits in hardware to determine a
free I2C bus (multi-master function). The MSSP module
implements the standard mode specifications, as well
as 7-bit and 10-bit addressing. Figure 1 depicts a func-
tional block diagram of the I2C Master mode. The appli-
cation code for this I2C example is developed for and
tested on a PIC16F873, but can be ported over to a
PIC17CXXX and PIC18CXXX PICmicro MCU which
features a MSSP module.
FIGURE 1: I2C MASTER MODE BLOCK DIAGRAM
Author: Richard L. Fischer
Microchip Technology Inc.
Read Write
SSPSR
START bit, STOP bit,
SSPBUF
Internal
Data Bus
Set/Reset, S, P, WCOL (SSPSTAT)
Shift
Clock
MSb LSb
SDA
Acknowledge
Generate
SCL
SCL In
Bus Collision
SDA In
Receive Enable
Clock cntl
Clock Arbitrate/WCOL Detect
(hold off clock source)
SSPADD<6:0>
Baud
Set SSPIF, BCLIF
Reset ACKSTAT, PEN (SSPCON2)
Rate
Generator
SSPM3:SSPM0
START bit detect
STOP bit detect
Write collision detect
Clock Arbitration
State counter for
end of XMIT/RCV
AN735
Using the PICmicro® MSSP Module for Master
I2CTM Communications


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: TC1321

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip TC1321 stil et spørgsmål nedenfor, og andre brugere vil svare dig




Ikke kategoriseret Microchip Manualer

Microchip

Microchip PD81101 Manual

23 December 2024
Microchip

Microchip ATECC608B Manual

4 September 2024
Microchip

Microchip HV860 Manual

4 September 2024
Microchip

Microchip EVB-LAN9255 Manual

4 September 2024
Microchip

Microchip LX4580 Manual

4 September 2024
Microchip

Microchip LX7720 Manual

4 September 2024
Microchip

Microchip AT32UC3A364 Manual

2 September 2024

Ikke kategoriseret Manualer

Nyeste Ikke kategoriseret Manualer

Smeg

Smeg KIT6PX Manual

23 December 2024
Smeg

Smeg KIT6CX Manual

23 December 2024
Smeg

Smeg GTA-6 Manual

23 December 2024