Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC24FV32KA304T-I/MV 数据手册 > PIC24FV32KA304T-I/MV 数据手册 163/364 页
PIC24FV32KA304T-I/MV
器件3D模型
35.184
导航目录
PIC24FV32KA304T-I/MV数据手册
Page:
of 364 Go
若手册格式错乱,请下载阅览PDF原文件
2011-2013 Microchip Technology Inc. DS39995D-page 163
PIC24FV32KA304 FAMILY
To set up the SPI1 module for the Enhanced Buffer
Master (EBM) mode of operation:
1. If using interrupts:
a) Clear the SPI1IF bit in the IFS0 register.
b) Set the SPI1IE bit in the IEC0 register.
c) Write the respective SPI1IPx bits in the
IPC2 register.
2. Write the desired settings to the SPI1CON1
and SPI1CON2 registers with the MSTEN bit
(SPI1CON1<5>) = 1.
3. Clear the SPIROV bit (SPI1STAT<6>).
4. Select Enhanced Buffer mode by setting the
SPIBEN bit (SPI1CON2<0>).
5. Enable SPI operation by setting the SPIEN bit
(SPI1STAT<15>).
6. Write the data to be transmitted to the SPI1BUF
register. Transmission (and reception) will start
as soon as data is written to the SPI1BUF
register.
To set up the SPI1 module for the Enhanced Buffer
Slave mode of operation:
1. Clear the SPI1BUF register.
2. If using interrupts:
a) Clear the SPI1IF bit in the IFS0 register.
b) Set the SPI1IE bit in the IEC0 register.
c) Write the respective SPI1IPx bits in the
IPC2 register to set the interrupt priority.
3. Write the desired settings to the SPI1CON1 and
SPI1CON2 registers with the MSTEN bit
(SPI1CON1<5>) = 0.
4. Clear the SMP bit.
5. If the CKE bit is set, then the SSEN bit must be
set, thus enabling the SS1
pin.
6. Clear the SPIROV bit (SPI1STAT<6>).
7. Select Enhanced Buffer mode by setting the
SPIBEN bit (SPI1CON2<0>).
8. Enable SPI operation by setting the SPIEN bit
(SPI1STAT<15>).
FIGURE 16-2: SPI1 MODULE BLOCK DIAGRAM (ENHANCED BUFFER MODE)
Internal Data Bus
SDI1
SDO1
SS1
/FSYNC1
SCK1
bit 0
Shift Control
Edge
Select
F
CY
Enable
SPI1BUF
Control
TransferTransfer
Write SPI1BUFRead SPI1BUF
16
SPI1CON1<1:0>
SPI1CON1<4:2>
Master Clock
Clock
Control
Primary
1:1/4/16/64
Prescaler
Secondary
Prescaler
1:1 to 1:8
Sync
SPI1SR
Transmit Buffer
8-Level FIFO
Receive Buffer
8-Level FIFO

PIC24FV32KA304T-I/MV 数据手册

Microchip(微芯)
364 页 / 4.37 MByte
Microchip(微芯)
3 页 / 0.26 MByte
Microchip(微芯)
2 页 / 0.1 MByte

PIC24FV32KA304 数据手册

Microchip(微芯)
16 位 MCU 32KB 闪存 2KB RAM 512B EEPROM 16 MIPS 12 位 ADC 5 V 48 UQFN
Microchip(微芯)
MICROCHIP  PIC24FV32KA304-I/PT  微控制器, 16位, 通用, PIC24FV, 32 MHz, 32 KB, 2 KB, 44 引脚, TQFP
Microchip(微芯)
PIC 32MHz 闪存:11K@x24bit
Microchip(微芯)
16位微控制器 - MCU 32KB 2KBRM 512B EE 16Mp 12b ADC CTMU 5V
Microchip(微芯)
PIC24 微控制器
Microchip(微芯)
Microchip(微芯)
PIC 32MHz 闪存:11K@x24bit
Microchip(微芯)
PIC 32MHz 闪存:11K@x24bit
Microchip(微芯)
PIC 32MHz 闪存:11K@x24bit RAM:2KB
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件