Microchip TC1321 Manual


Læs nedenfor 📖 manual på dansk for Microchip TC1321 (39 sider) i kategorien Ikke kategoriseret. Denne guide var nyttig for 6 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

Ikke kategoriseret Manualer

Nyeste Ikke kategoriseret Manualer

Märklin

Märklin 72886 Manual

24 Januar 2025
Märklin

Märklin 72797 Manual

24 Januar 2025
Märklin

Märklin 7001 Manual

24 Januar 2025
Hilti

Hilti KCC-WF Manual

24 Januar 2025
Märklin

Märklin 7051 Manual

24 Januar 2025
ATen

ATen KH1516Ai Manual

24 Januar 2025
Adonit

Adonit PD-3A2C Manual

24 Januar 2025
Adonit

Adonit Dash 4 Manual

24 Januar 2025