欢迎访问ic37.com |
会员登录 免费注册
发布采购

PKM32AG-Q 参数 Datasheet PDF下载

PKM32AG-Q图片预览
型号: PKM32AG-Q
PDF下载: 下载PDF文件 查看货源
内容描述: EAGLE是一款多媒体处理器.EAGLE集成了带有DSP特性的32位EISC CPU处理器、H.264解码器、JPEG解码器、2D图像引擎、声音混音器、具有OSD功能的CRT控制器、视频编码器、视频解码接口模块、USB主/从和通用I/O外设接口。 [EAGLE是一款多媒体处理器。EAGLE集成了带有DSP特性的32位EISC CPU处理器、H.264解码器、JPEG解码器、2D图像引擎、声音混音器、具有OSD功能的CRT控制器、视频编码器、视频解码接口模块、USB主/从和通用I/O外设接口。]
分类和应用: 解码器编码器控制器
文件页数/大小: 235 页 / 4257 K
品牌: ETC [ ETC ]
 浏览型号PKM32AG-Q的Datasheet PDF文件第202页浏览型号PKM32AG-Q的Datasheet PDF文件第203页浏览型号PKM32AG-Q的Datasheet PDF文件第204页浏览型号PKM32AG-Q的Datasheet PDF文件第205页浏览型号PKM32AG-Q的Datasheet PDF文件第207页浏览型号PKM32AG-Q的Datasheet PDF文件第208页浏览型号PKM32AG-Q的Datasheet PDF文件第209页浏览型号PKM32AG-Q的Datasheet PDF文件第210页  
EAGLE  
PRELIMINARY  
Ver 1.3  
3.28.3 SPI Pins  
The Function of SPI pin is determined by WOMP and MSTR bits in Control register. If WOMP bit is set, the output state  
of SPI pin is open drain. If WOMP is cleared, the output state of SPI pin is CMOS output. Table 3-31 shows the function of  
SPI pin  
Pin Name  
Master in, slave out(MISO)  
Mode  
Master  
Slave  
Master  
Slave  
Master  
Slave  
Master  
Slave  
Function  
Provides serial data input to the SPI  
Provides serial data output from the SPI  
Provides serial output from the SPI  
Provides serial input to the SPI  
Provides clock output from the SPI  
Provides clock input to the SPI  
Output : Selects slave devices  
Input : chip select for SPI  
Master out, slave in (MOSI)  
serial clock(SCK)  
Slave select(SSX)  
Table 3-31 SPI Pin Functions  
3.28.4 SPI Operating Modes  
SPI operates in Master mode or Slave mode. Master mode is used to control data transaction and slave mode is used for  
data transaction by external devices. MSTR bit in Control register determines the selection of Master mode or Slave mode.  
3.28.4.1 Master Mode  
When you set the MSTR bit in SPICON register, SPI operates in Master mode. Only a Master may initiate data  
transactions and does not respond to the initializing transaction of other devices.  
When you use master mode, you must do followings  
1. External pins are shared with other functional pins in PinMux register. PinMux register must be configured to use  
SPI.  
2. Set Control register to configure the communication mode ( BAUD, CPHA, CPOL, SIZE, LSBF, WOMP) and  
MSTR, SPIEN must be set.  
3. Enable slave device by setting SSX low.  
4. Write the data to be sent.  
When SPI transfer completes, SPIF in Status register is automatically set. and interrupt shall occur ff Interrupt is enabled.  
SPIF is automatically cleared when user reads to the Status register or Write/Read Data register.  
3.28.4.2 Slave Mode  
If MSTR bit is cleared, SPI operates in slave mode. Slave SPI can not initiate transactions. Slave SPI is able to send data  
when SPI master sends data.  
Follow the steps below when slave mode is used.  
1. External pins are shared with other functional pins in PinMux register. PinMux register must be configured to use  
SPI.  
2. Set Control register to configure the communication mode ( BAUD, CPHA, CPOL, SIZE, LSBF, WOMP) and  
SPIEN must be set and MSTR must be cleared. (In slave mode BAUD value has no effect on operation)  
3. Write the data to be sent.  
In Slave mode, when SSX pin status is low, device shall prepare for data transaction. When Master starts the SCK toggling,  
device starts the data transaction synchronized to SCK. Completion of data transaction is noticed by checking SPIF. The  
same applies to Master mode.  
Beijing Peak Microtech Co.Ltd.  
CONFIDENTIAL  
206  
 复制成功!