- 3
- 0
- 约7.37千字
- 约 34页
- 2019-08-29 发布于广东
- 举报
第一章 第2章 TMS320C54x DSP的结构原理(片上资源) ‘C54x可寻址数据存储器容量64K字 片内数据存储器: SRAM、DARAM,其中C5402有16K字DARAM。 通过软件,片内ROM也可以映射为数据存储器空间 2. 数据存储器(Data Memory)(1) C54x数据存储器包括部分存储器映射寄存器, 这些寄存器驻留在前1K字中。其中 CPU寄存器驻留在0000h~001Fh 外设寄存器驻留在0020h~005Fh C5402数据存储器被分为两个8K的块, 如图所示: 2. 数据存储器(2) XPC(程序计数器扩展寄存器, C548、C549、C5402C5410C和5420) 1E AR0(辅助寄存器0) 10 PMST(处理器工作方式状态寄存器) 1D T(暂时寄存器) E TRN(状态转移寄存器) F REA(块重复结束地址寄存器) 1C BG(累加器B保护位,39~32位) D 保留 1E~1F AR1(辅助寄存器1) 11 RSA(块重复起始地址寄存器) 1B BH(累加器B高字节,31~16位) C BRC(块重复计数器) 1A BL(累加器B低字节,15~0位) B BK(循环缓冲区长度寄存器) 19 AG(累加器A保护位,39~32位) A SP(堆栈指针) 18 AH(累加器A高字节,31~16位) 9 AR7(辅助寄存器7) 17 AL(累加器A低字节,15~0位) 8 AR6(辅助寄存器6) 16 ST1(状态寄存器1) 7 AR5(辅助寄存器5) 15 ST0(状态寄存器0) 6 AR4(辅助寄存器4) 14 保留(用于测试) 2~5 AR3(辅助寄存器3) 13 IFR(中断标志寄存器) 1 AR2(辅助寄存器2) 12 IMR(中断屏蔽寄存器) 0 CPU寄存器名称 地址 CPU寄存器名称 地址 存储器映射CPU寄存器映射地址如下表: I/O存储空间:64K字I/O存储空间全部在片外 (地址为:0000h---FFFFh) 访问I/O空间指令: PORTR 和PORTW分别是 读和写I/O地址数据,如: PORTR 05h,Smem 读05h地址I/O的内容放到Smem所指定的数据存储器 PORTW Smem , 05h 将Smem所指定数据存储器的内容写到05h地址的I/O口 3. I/O存储器(I/O Memory) 1 In this module, we will review the C54x architecture and discuss the software tools available to speed development of DSP applications. 1 In this module, we will review the C54x architecture and discuss the software tools available to speed development of DSP applications. 1 In this module, we will review the C54x architecture and discuss the software tools available to speed development of DSP applications. 1 In this module, we will review the C54x architecture and discuss the software tools available to speed development of DSP applications. 1 In this module, we will review the C54x architecture and discuss the software tools available to speed development of DSP applications. 1 In this module, we will review the C54x architecture and discuss the software tools available to speed development of DSP applications. 1 In this module, we will review the C54x architecture and discuss the software tools available to speed deve
原创力文档

文档评论(0)