OMAP3530技术参考手册.doc_第1页
OMAP3530技术参考手册.doc_第2页
OMAP3530技术参考手册.doc_第3页
OMAP3530技术参考手册.doc_第4页
OMAP3530技术参考手册.doc_第5页
已阅读5页,还剩25页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

一、 启动1、x-loader是一级引导程序,系统上电后由CPU内部firmware自动拷贝到内部RAM并执行。主要作用为初始化CPU,拷贝u-boot到内存中,然后把控制权交给u-boot; 2、u-boot是二级引导程序,主要用于和用户进行交互,提供映像更新、引导内核等功能; 3、kernel使用最新2.6.32 内核,根据SOC8200进行定制; 4、rootfs采用开源文件系统,体积小,功能强大。温馨提示:J24 接上跳线帽后,上电启动的时候,系统将会优先从 SD 卡启动。更新NANDFLASH:更新 NAND Flash 需要在 u-boot 的命令行上对 NAND操作,系统从SD卡启动后通过U-boot烧写NANDFLASH。第1章 Introduction1.1 疑问:1)OMAP35x OneDRAM技术具体是指?POP封装顾名思义, 是两个芯片叠在一起 对于OMAP3的POP封装, OMAP3表面提供焊盘, mDDR贴在OMAP3的表面, Beagle板子就是这样的, 这样的好处是省去了PCB面积和DDR的走线, 坏处是生产比较困难2)OMAP35x仅有6个GPIO,而AM3517有186个GPIO?解决:A maximum of 170 GPIO pins are supported. The following GPIO pins are not available: gpio_52, gpio_53, gpio_63 gpio_64, gpio_144, gpio_145, gpio_146, gpio_147, gpio_152, gpio_153, gpio_154, gpio_155, gpio_175, and gpio_176. Pin muxing restricts the total number of GPIO pins available at one time. See your device-specific data manual for more information on pin multiplexing.3)IVA2.2 subsystem (DSP) cant access SoC peripherals。(存在质疑,网上说可以)4)Chip select pins mcspi1_cs1 and mcspi_cs2 are not available on the CUS package.5)High-speed USB host controller port 3 is not available on the CUS package1.2 未用模块的建议:General Recommendations Relative to Unavailable Features/ModulesAs explained in the previous section, some features are not available in all OMAP35x devices. Forunavailable features, use the following recommendations: Memory mapping: Memory area of unavailable modules and features are RESERVED, read isundefined, and write can lead to unpredictable behavior. Interrupt controllers: Ensure that interrupts of unavailable modules and features are masked inMPU/IVA subsystems. DMA: Ensure that DMA requests of unavailable modules and features are masked in DMAsubsystems. System Control Module (SCM): Unavailable modules and feature pins are not functional and should not be used. Power, Reset, and Clock Management Module (PRCM): For power management and power-saving consideration, ensure that power domains of unavailable features/modules are switched off and clocks are cut off. Interconnect: To flag potential interconnect outstanding commands, the time-out of target agentsattached to unavailable modules can be enabled with the lowest setting.第2章 Memory Mapping存储空间图见OMAP35x技术参考手册.pdf199页2.1 地址空间Boot spaceThe system has a 1MB boot space in the on-chip boot ROM or on the GPMC memory space.When booting from the on-chip ROM with the appropriate external sys_boot5 pin configuration, the 1MB memory space is redirected to the on-chip boot ROM memory address space 0x4000 0000 0x400F FFFF. When booting from the GPMC with the appropriate external sys_boot5 pin configuration, the memory space is part of the GPMC memory space.SDRC spaceTwo SDRC chip-selects (sdrc_ncs0 and sdrc_ncs1) are available on the third quarter (Q2) of theaddressing space to access SDRAM memories. The chip-selects have a programmable size (64, 128, 256 or 512MB) in a total memory space of 1GB.The base address of the chip-select 0 (sdrc_ncs0) memory space is always 0x8000 0000. The baseaddress of the chip-select 1 (sdrc_ncs1) memory space is programmable. The default value after reset is 0xA000 0000.VRFB spaceThe SDRC-SMS virtual memory space is a different memory space used to access a subset of theSDRC memory space through the rotation engine. The virtual address space size is 768MB split into two parts: The first 256MB part is in the second quarter (Q1) of the memory; the second 512MB part is in the fourth quarter (Q3) of the memory.L3处理存储器数据交换,L4处理外设之间的交互。L1 and L2 are memories in in the MPU and the IVA2.2 subsystems.The chip-level interconnect, which consists of one L3 and four L4s, enables communication among all modules and subsystems。Accesses to the L3 interconnect can be configured on a per-module basis using the internal L3 registersThis section describes how the IVA2.2 internal memories and registers are accessed through the L3 interconnect and by the IVA2.2 internal initiators (the digital signal processor DSP and the enhanced direct memory access EDMA).DSP部分内存:C64x+ DSP program memory controller配置L1P,L1D,L2作为RAM或者Cache使用。当L1部分配置为cache时,对于DSP访问L2可以起到加速的作用。DSP访问的存储器和外设是基于虚拟地址的。The IVA2.2 subsystem contains 16KB of L2 ROM. The L2 ROM provides boot codeDSP and EDMA access the memories and peripherals using virtual addressing. This lets the DSP and EDMA access memories and peripherals in the same contiguous view, even when the memoryis physically segmented。The IVA2.2 memory management unit (IVA2.2 iMMU) handles the virtual-to-physical address translation based on the software configuration (typically under control of the MPU subsystem).注:MPU控制iMMU进行虚拟地址到物理地址的转换。IVA2.2 internal memories are reachable in the 0x007E 0000-0x00F1 7FFF and 0x107E 0000-0x10F1 7FFF (aliasing) ranges第3章 MPU Subsystem3.1 概述MPU子系统管理ARM内核,L3,INTC。第7章 System Control ModuleSCM可以进行配置的特性:见:SCM Register Manual,860页1) 空闲模式参数设置2) MCBSP参数配置3) DMA的触发模式4) control the use of MSuspend signals at module level(MPU、DSP)5) camera设置6) 控制DSS,PER,CORE等EMI减少措施7) SDRC配置8) 防火墙写许可配置9) MMC电压控制10)可观测性配置Observability is disabled. If pads are configured for thehardware debug, output is tied lowSCM仅对开机复位响应。PRCM可以控制SCM进入休眠模式。The SCM does not generate interrupt or wake-up requests。The SCM responds only to the internal power-on reset and to the device type. At power-on, reset values for the registers define the safe state for the device. In the initialization mode, only modules used at boot time are associated with the pads. Other module inputs are internally tied, and outputs pads are turned off each time the feature is available。注:启动期间使用模块和pad有关,未用模块输入被约束,输出关闭。After power-on reset, the software sets the pad functional multiplexing and configuration registers to the requested device pad configurations. Data written in these registers command directly the multiplexing of the pad configuration logic.注:通过寄存器的配置直接控制引脚复用。Each pin is configurable by software using its associated pad configuration register field, which is 16 bits wide MUXMODE (3 bits) defines the multiplexing mode applied to the pin. A mode corresponds to the selection of the functionality mapped on the pin with six (0 to 5) possible functional modes for each pin. PULL (2 bits) for combinational pullup/pulldown configuration: PULLTYPESELECT: Pullup/pulldown selection for the pin. PULLUDENABLE: Pullup/pulldown enable for the pin. INPUTENABLE (1 bit) drives an input enable signal to the I/O CTRL. INPUTENABLE = 0: Input Disable. Pin is configured in output only mode. INPUTENABLE = 1: Input Enable. Pin is configured in bidirectional mode. Off mode values (5 bits) override the pin state when the OFFENABLE bit CONTROL. CONTROL_PADCONF_X is set and off mode is active. This feature allows having separate configurations for the pins when in off mode: OFFENABLE: Off mode pin state override control. Set to 1 to enable the feature and to 0 to disable it. OFFOUTENABLE: Off mode output enable value. Set to 0 to enable the feature and to 1 to disable it. OFFOUTVALUE: Off mode output value. OFFPULLUDENABLE: Off mode pullup/pulldown enable OFFPULLTYPESELECT: Off mode pullup/pulldown selection注:The OFFOUTENABLE and OFFOUTVALUE bits are functional only if the pad configuration supports output mode on at least one MUXMODE. For a pad that supports only the input feature, the OFFOUTENABLE and OFFOUTVALUE bits cannot be configured (they are dont care and read always returns 0) Wake-up bits (2 bits): WAKEUPENABLE: Enable wake-up detection on input. It is also the off mode input enable value. WAKEUPEVENT: Wake-up event status for the pin注:The software must configure the OFF mode pads. It must ensure that the input/output capability is enabled for each pin。注:Functional modes are defined from 0b000 to 0b101; mode 0b111 is referred to as the safe mode. 模式0-模式5为功能模式,模式7为安全模式。通常复位状态为安全模式。The exceptions are pads to be used at boot time to transfer data from selected peripherals to the external flash memory模式0为初始模式,当配置为模式0时,功能与引脚名相同。The safe mode avoids any risk of electrical contention by configuring the pin as an input with no functional interface mapped to it. The safe mode is used mainly as the default mode for all pins containing no mandatory interface at the release of power-on reset.上下拉:当引脚配置为输出时,引脚的上下拉自动关闭。引脚复用见:OMAP35x技术参考手册.pdf772页The D2D pads are available in stacked mode only.系统关闭模式:When off mode is active (PAD_SYS_OFF_MODE = 0b1 from PRCM or FORCEOFFMODEENABLE bit CONTROL.CONTROL_PADCONF_OFF0 = 0b1), the off mode values field CONTROL. CONTROL_PADCONF_X overrides the pad state when OFFENABLE bit CONTROL. CONTROL_PADCONF_X is setIf off mode is active and the OFFENABLE bit is set to disable, the pad keeps the AND value of the configuration (input/output, PU/PD) it had before going into off mode: For an input, the pad is isolated and the pull remains active. For an output, the value is latched before going into off mode, to drive the same value in off mode唤醒机制:When wake-up detection is enabled for a pad, the pad must be configured as input to avoid contention between the OMAP output buffer and an external driver.If this pin is configured as an output in active mode, the OFF override function must be enabled to set the pin as an input during off mode: in the CONTROL.CONTROL_PADCONF register, set OFFENABLE to 0x1 to enable the OFF override function, and set OFFOUTENABLE to 0x1 to switch this pin to input mode.PBIASLITEPWRDNZ0/PBIASLITEPWRDNZ1 signal to 0b0 whenever the MMC1_VDDS/SIM_VDDS signal is ramping. When this bit is at 0, the PAD is floating。With the appropriate configuration of the PBIAS cell, gpio120 through gpio129 I/Os(MuxMode = 0x4) can operate in 3-V mode.OMAP内部有一个基于ADC的温度传感器。可以检测温度值。注:Use care when using combined sensitivity settings (ANDing or ORing DSP and MPU MSuspend signals).ORing the DSP and MPU MSuspend signals creates a situation where the module is suspended when at least one processor is under debug; therefore, when one processor is halted, stepping within the code of the other one does not change the module suspended state.Not all modules use the MSUSPEND signal. See the TRM chapter for each module to determine whether the module supports the MSUSPEND signal.All MSUSPEND signals coming out of the MPU and DSP are resynchronized within the SCM by using the control module interface clockDSP启动地址和启动模式寄存器调试引脚配置:The pads used for the hardware debug must be properly configured by selecting the hardware debug function (hw_dbgn) of the pad. To configure the pads, select mode 5 (0b101) in the MUXMODE bit field of the CONTROL.CONTROL_PADCONF_CAM_x register (only for hw_dbg0 to hw_dbg11), or select mode 7 (0b111) in the MUXMODE bit field of the CONTROL.CONTROL_PADCONF_ETK_x register (for all hw_dbgn). Before selecting the CORE signals, the WKUPOBSMUX bit field of theCONTROL.CONTROL_WKUP_DEBOBS_n registers must be set to 0.可观测性:To disable observability for all hw_dbg I/Os (that is, drive the external observability outputs to 0), observability of the CORE and WKUP domains must be disabled. Disabling only wkup_observability is not sufficientEMI:内部的频率修调机制可以减少电源尖峰,The SCM contains all necessary bits that controls the EMI reduction feature (SSC),In any case, the frequency modulation is programmed in the SCM and does not generally need to be changed in real time.设备内部抗干扰措施:The spreading technique scatters the energy of the peaks on the other frequencies, which reduces the power of the peaks but increases the global noise of the signal.电源芯片:If the device is associated with the companion power IC, before using the MMC/SD/SDIO1 interface, the software must program the companion power IC to enable the VMMC1 or VSIM (for the MMC/SD/SDIO1 module or muxed GPIO I/Os) and the LDO and to provide a 1.8-V/3.0-V voltage. This is done by software through the I2C interface that links the device and companion power ICIf the application does not want the selected interface running at 3.0 V, software users must then assert the VMODE signal to low for 1.8-V activity: in this case, the PBIAS is connected to ground.If MMC1_VDDS (or SIM_VDDS) is supplied before the device reset is released, the voltage must be 3 V. It is not recommended to supply the vdds_mmc1 (or vdds_sim) pad with 1.8 V unless software has configured the PBIAS cells accordingly.A PBIAS cell must be programmed according to peripheral power supply voltagethe programming flow to go from 3.0 V to 1.8 V, and vice versaThe following are critical requirements for the cell: The VMODE bit must be defined before the PWRNDZ bit is made HIGH(cell is brought out of PWRNDZ). The default state of VMODE bit must be HIGH (to indicate 3.0-V operation). PWRNDZ bit must be kept LOW when the MMC1_VDDS/SIM_VDDS supply is ramping up (PWRNDZ bit is not required to be kept LOW during ramp down of the supply). This could be damaging.Off Mode Preliminary SettingsThe following actions must be performed once, and remain valid for all device OFF ON transitions: Program a valid device OFF pads configuration, by setting in each CONTROL.CONTROL_PADCONF_X registers all off mode values bits: OFFPULLTYPESELECT (OFF mode pull type), OFFPULLUDENABLE (OFF mode pull enabling), OFFOUTVALUE (OFF mode output value),OFFOUTENABLE (OFF mode output enabling), OFFENABLE (OFF mode pad state override control) . Program a valid device ACTIVE pads configuration by setting pertinent bits in each CONTROL.CONTROL_PADCONF_X register (see Section 7.5.4, Pad Configuration Programming Points). Perform a device ACTIVE pads configuration saving in the save and restore memory from Wake-up Control Module by asserting the STARTSAVE bit CONTROL.CONTROL_PADCONF_OFF1. Set the SCM in smart idle mode by setting the IDLEMODE fieldCONTROL.CONTROL_SYSCONFIG4:3 (this will ensure that its clocks can not be cut until the save procedure has completed). Enable/disable the wakup-up event detection capability of the pads by setting the WAKEUPENABLE bit CONTROL. CONTROL_PADCONF_X.注:When the wake-up detection is enabled for a pad, this pad is configured as input. Therefore, do not forget to write 0b1 in the OFFOUTENABLE bit CONTROL. CONTROL_PADCONF_X todisable the output capability复用引脚配置要点: Identify signals required on the interface based on the target application.1)确定系统需要使用哪些信号;Example: To configure the UART1 interface on balls, the required signals are uart1_tx, uart1_rts,uart1_cts, and uart1_rx. Choose the pads used for those signals. Some signals could be available on several pads and/or may be multiplexed with other signals needed for another application. See Section 7.4.4.3, Pad Multiplexing Register Fields.2)选择需要信号的焊盘,有些信号是和别的信号复用的;一旦一个焊盘配置为一种信号,则就不可以使用与其复用的其他信号了;Example: Each UART1 interface signal is available on two pads. These signals are also multiplexed with a McBSP signal. Assume that the McBSP interface is required in the system. Therefore, for the UART1 interface signals, pads must be used where those signals are not multiplexed with the McBSP signal. Identify the pad configuration registers associated with the pads to be used in the application. See Section 7.4.4.3, Pad Multiplexing Register Fields.3)找到相应的焊盘复用配置寄存器;772页Example: Under the previous hypothesis, the pad configuration registers to program are: uart1_cts: CONTROL.CONTROL_PADCONF_DSS_DATA015:0 uart1_rts: CONTROL.CONTROL_PADCONF_DSS_DATA031:16 uart1_tx: CONTROL.CONTROL_PADCONF_DSS_DATA615:0 uart1_rx: CONTROL.CONTROL_PADCONF_DSS_DATA631:16注:In this configuration, dss_datan (where n = 0) signals are not available on these balls. 这些焊盘被配置为UART,那么dss数据线就不可以使用这个焊盘了。 Configure the MUXMODE field of each pad configuration register (CONTROL. CONTROL_PADCONF_X) associated with the pads used. Write the binary value of the mode used in the MUXMODE field of the pad configuration registers.4)向复用位中写入需要的模式;Example: UART1 signals are available in mode 2. Therefore, write 0b010 in the correspondingMUXMODE field of the pad configurations registers to be programmed. Configure the pull of the pad when used as input. When the pad is used as output, the pull isautomatically disabled. Section 7.4.4.3, Pad Multiplexing Register Fields, lists the pull available on each pad and it reset value. Set the appropriate value for the PULLTYPESELECT bit of the padconfiguration register to set the pull value (0b0 = Pull Down selected, 0b1 = Pull Up selected) and set the PULLUDENABLE bit of the pad configuration register to enable the pull on the pad (0b0 = pull disabled, 0b1 = pull enabled)5)配置上下拉以及使能位;Example: uart1_rts and uart1_tx are output signals; therefore, the pull is automatically disabled on the pad. Because uart1_cts and uart1_rx are input signals, configure the pull for these pads: uart1_cts: Enable pullup (write 0b1 in the PULLTYPESELECT bit and 0b1 in the PULLUDENABLE bit of the corresponding pad configuration register) uart1_rx: Enable pullup (write 0b1 in the PULLTYPESELECT bit and 0b1 in the PULLUDENABLE bit of the corresponding pad configuration register) Set the INPUTENABLE bit of the pad configuration register if the pin is used as input.6)设置输入使能;Example: uart1_rts and uart1_tx are output signals; therefore, clear the INPUTENABLE bit of thecorresponding pad configuration register. Because uart1_cts and uart1_rx are input signals, set theINPUTENABLE bit of the corresponding pad configuration register注:The order for setting the previous pad configuration bits is not important.IO引脚配置要点:注意下图To optimize I/O power, it is important to avoid unconnected or incorrectly pulled pins根据IO类型决定处理方式:输入口:For input pins, use a pull up/down when possible输

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论