PIC17C766-33E/L Microchip Technology, PIC17C766-33E/L Datasheet - Page 138
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC17C766-33E/L
Manufacturer Part Number
PIC17C766-33E/L
Description
IC MCU CMOS 33MHZ 16K EPRM84PLCC
Manufacturer
Microchip Technology
Series
PIC® 17Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC17C752-16L.pdf
(304 pages)
3.PIC17C752-16L.pdf
(6 pages)
Specifications of PIC17C766-33E/L
Core Processor
PIC
Core Size
8-Bit
Speed
33MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
66
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
902 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
84-PLCC
For Use With
AC164318 - MODULE SKT MPLAB PM3 84PLCCDVA17XL841 - DEVICE ADAPTER FOR PIC17C762DM173001 - KIT DEVELOPMENT PICDEM17AC164027 - ADAPTER PICSTART PLUS 84PLCCAC174012 - MODULE SKT PROMATEII 84PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C766-33E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 138 of 304
- Download datasheet (6Mb)
PIC17C7XX
When the application software is expecting to receive
valid data, the SSPBUF should be read before the next
byte of data to transfer is written to the SSPBUF. Buffer
full bit, BF (SSPSTAT<0>), indicates when SSPBUF
has been loaded with the received data (transmission
is complete). When the SSPBUF is read, bit BF is
cleared. This data may be irrelevant if the SPI is only a
transmitter. Generally the MSSP interrupt is used to
determine when the transmission/reception has com-
pleted. The SSPBUF must be read and/or written. If the
interrupt method is not going to be used, then software
polling can be done to ensure that a write collision does
not occur. Example 15-1 shows the loading of the
SSPBUF (SSPSR) for data transmission.
EXAMPLE 15-1:
The SSPSR is not directly readable, or writable and
can only be accessed by addressing the SSPBUF reg-
ister. Additionally, the MSSP status register (SSPSTAT)
indicates the various status conditions.
FIGURE 15-5:
DS30289B-page 138
LOOP BTFSS SSPSTAT, BF
MOVPF SSPBUF, RXDATA ; Save in user RAM
MOVFP TXDATA, SSPBUF ; New data to xmit
MOVLB 6
GOTO
LOOP
SPI Master SSPM3:SSPM0 = 00 xxb
MSb
LOADING THE SSPBUF
(SSPSR) REGISTER
SPI MASTER/SLAVE CONNECTION
PROCESSOR 1
Serial Input Buffer
Shift Register
(SSPBUF)
(SSPSR)
; Bank 6
; Has data been
;
;
;
; No
received
(transmit
complete)?
LSb
SDO
SCK
SDI
Serial Clock
15.1.2
To enable the serial port, MSSP Enable bit, SSPEN
(SSPCON1<5>), must be set. To reset or reconfigure
SPI mode, clear bit SSPEN, re-initialize the SSPCON
registers and then set bit SSPEN. This configures the
SDI, SDO, SCK and SS pins as serial port pins. For the
pins to behave as the serial port function, some must
have their data direction bits (in the DDR register)
appropriately programmed. That is:
• SDI is automatically controlled by the SPI module
• SDO must have DDRB<7> cleared
• SCK (Master mode) must have DDRB<6> cleared
• SCK (Slave mode) must have DDRB<6> set
• SS must have PORTA<2> set
Any serial port function that is not desired may be over-
ridden by programming the corresponding data direc-
tion (DDR) register to the opposite value.
15.1.3
Figure 15-5 shows a typical connection between two
microcontrollers. The master controller (Processor 1)
initiates the data transfer by sending the SCK signal.
Data is shifted out of both shift registers on their pro-
grammed clock edge and latched on the opposite edge
of the clock. Both processors should be programmed to
same Clock Polarity (CKP), then both controllers would
send and receive data at the same time. Whether the
data is meaningful (or dummy data) depends on the
application software. This leads to three scenarios for
data transmission:
• Master sends data — Slave sends dummy data
• Master sends data — Slave sends data
• Master sends dummy data — Slave sends data
SDO
SCK
SDI
ENABLING SPI I/O
TYPICAL CONNECTION
SPI Slave SSPM3:SSPM0 = 010 xb
MSb
Serial Input Buffer
Shift Register
PROCESSOR 2
(SSPBUF)
(SSPSR)
2000 Microchip Technology Inc.
LSb
Related parts for PIC17C766-33E/L
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC17C766-16/L](/photos/12/13/121359/c04-093_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 84PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-33I/L](/photos/12/13/121359/c04-093_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 84PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-33I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-16I/L](/photos/12/13/121359/c04-093_l_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,84PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766/CL](/photos/12/13/121368/pic17c766_cl_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 16KX16 A/D 84CLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-16/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-33/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-33/L](/photos/12/13/121359/c04-093_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 84PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-16I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU OTP 16KX16 A/D 80TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-16E/L](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 16MHZ 16K EPRM84PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-16E/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 16MHZ 16K EPRM80TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766-33E/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 33MHZ 16K EPRM80TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C766](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
High-Performance 8-bit CMOS EPROM Microcontrollers
Manufacturer:
Microchip Technology