Instrukcja obsługi Microchip TC1321


Przeczytaj poniżej 📖 instrukcję obsługi w języku polskim dla Microchip TC1321 (39 stron) w kategorii Niesklasyfikowane. Ta instrukcja była pomocna dla 8 osób i została oceniona przez 4.5 użytkowników na średnio 4.4 gwiazdek

Strona 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


Specyfikacje produktu

Marka: Microchip
Kategoria: Niesklasyfikowane
Model: TC1321

Potrzebujesz pomocy?

Jeśli potrzebujesz pomocy z Microchip TC1321, zadaj pytanie poniżej, a inni użytkownicy Ci odpowiedzą




Instrukcje Niesklasyfikowane Microchip

Instrukcje Niesklasyfikowane

Najnowsze instrukcje dla Niesklasyfikowane

SmallRig

SmallRig VB99 SE Instrukcja

29 Stycznia 2025
QSC

QSC TSC-8 Instrukcja

29 Stycznia 2025
XTRARM

XTRARM XTR-FS5130 Instrukcja

29 Stycznia 2025
Sunding

Sunding SD-581G Instrukcja

29 Stycznia 2025
XTRARM

XTRARM XTR-FS5070 Instrukcja

29 Stycznia 2025
XTRARM

XTRARM XTR-FS2010 Instrukcja

29 Stycznia 2025
OSEE

OSEE TX402 Instrukcja

29 Stycznia 2025