| 数据搜索系统,热门电子元器件搜索 |
|
DSP56303 数据表(PDF) 138 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
DSP56303 数据表(HTML) 138 Page - Freescale Semiconductor, Inc |
|
138 / 292 page ![]() DSP56303 User’s Manual, Rev. 2 7-6 Freescale Semiconductor Enhanced Synchronous Serial Interface (ESSI) 7.3 Operation This section discusses ESSI basics: reset state, initialization, and exceptions. 7.3.1 ESSI After Reset A hardware RESET signal or software reset instruction clears the port control register and the port direction control register, thus configuring all the ESSI signals as GPIO. The ESSI is in the reset state while all ESSI signals are programmed as GPIO; it is active only if at least one of the ESSI I/O signals is programmed as an ESSI signal. 7.3.2 Initialization To initialize the ESSI, do the following: 1. Send a reset: hardware RESET signal, software reset instruction, ESSI individual reset, or stop instruction reset. 2. Program the ESSI control and time slot registers. 3. Write data to all the enabled transmitters. 4. Configure at least one signal as ESSI signal. 5. If an external frame sync is used, from the moment the ESSI is activated, at least five (5) serial clocks are needed before the first external frame sync is supplied. Otherwise, improper operation may result. When the PC[5–0] bits in the GPIO Port Control Register (PCR) are cleared during program execution, the ESSI stops serial activity and enters the individual reset state. All status bits of the interface are set to their reset state. The contents of CRA and CRB are not affected. The ESSI individual reset allows a program to reset each interface separately from the other internal peripherals. During ESSI individual reset, internal DMA accesses to the data registers of the ESSI are not valid, and data read there are undefined. To ensure proper operation of the ESSI, use an ESSI individual reset when you change the ESSI control registers (except for bits TEIE, REIE, TLIE, RLIE, TIE, RIE, TE2, TE1, TE0, and RE). Here is an example of how to initialize the ESSI. 1. Put the ESSI in its individual reset state by clearing the PCR bits. 2. Configure the control registers (CRA, CRB) to set the operating mode. Disable the transmitters and receiver by clearing the TE[2–0] and RE bits. Set the interrupt enable bits for the operating mode chosen. 3. Enable the ESSI by setting the PCR bits to activate the input/output signals to be used. 4. Write initial data to the transmitters that are in use during operation. This step is needed even if DMA services the transmitters. 5. Enable the transmitters and receiver to be used. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |