| поискавой системы для электроныых деталей |
|
PCD6003 датащи(PDF) 32 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCD6003 датащи(HTML) 32 Page - NXP Semiconductors |
|
32 / 96 page ![]() 2001 Apr 17 32 Philips Semiconductors Product specification Digital telephone answering machine chip PCD6003 10.7 Interface to the Memory Control Block (MCB) The MCB is a 3-wire serial interface designed to interface with a versatile range of serial flash memories (both Microwire and SPI mode 0/3 compatible slave devices) in parallel with program OTP/external ROM and even external data SRAM. The 3-wire serial interface consists of a serial data output (FSO) serial data input (FSI) and a serial clock signal (FSK). FSK, FSO and FSI are alternative functions of the general purpose I/O pins P4.1, P4.2 and P4.4. The serial interface is controlled via the MCSC and MCSD SFRs. The FSK and FSO outputs are both open-drain and must be pulled to 3 V with external resistors RFSK and RFSO. The recommended value for both resistors at high FSK speeds (>1 MHz) is 1 k Ω. The MCSC SFR is defined in Section 10.7.1. Turning the MCB on by setting bit MCSC.3, will switch the FSK and FSO pins to logic 0. A write to MCSD will generate the appropriate FSK/FSO signal. A read from MCSD will only generate 8 FSK pulses and will shift-in the next byte. The shifting and the FSK/FSO signal can be suppressed by setting bit 2 of MCSC. This can be used for reading the last byte out of the serial flash memory during a read sequence. The FSK shift off operation however is not necessary if the MCB is already turned off when reading the MCSD SFR for the last time. If a serial flash memory is chosen the FSK master clock rate can be selected with bits 0 and 1, as shown in Table 24. The MCB is always master, which means that the FSK clock is always generated by the PCD6003. Depending on the FSK clock rate, the shifting can continue for 8 × 32 microcontroller_CLK periods. During this period, the microcontroller should not be put in a power saving mode (Idle, Power-down and System-off), otherwise the shifting will stop. Data coming from or going to the serial flash memory can be accessed by means of the MCSD SFR. This is simply an 8-bit serial shift register. The first FSO and FSI bits are always the most significant bits of MCSD. The first read of the MCSD SFR will only serially load the MCSD SFR with valid data. Therefore, the first read operation must always be followed with another read operation which reads the actual received data out of the MCSD SFR. The serial shifting of bits into and out of MCSD is done at the same moment: 1 microcontroller clock before the falling edge of FSK (tSF). When the FSK speed is programmed at the highest speed (microcontroller_CLK/4) this shifting will be done in the middle of the FSK HIGH level time. The most time-critical situation is when FSK is only 2 clocks wide and has a frequency of 3.5 MHz (14 MHz/4). In this case make sure that tr(FSK), which can be controlled by the value of RFSK, is greater than the hold time requirement of the slave device. Figure 12 shows how a Microwire compatible device can be accessed with an FSK speed of microcontroller_CLK/4. A SPI mode 0/3 device requires an additional FSK clock falling edge to trigger the slave device to generate valid data on the FSI line. The SPI mode 3 can be achieved by starting with FSK high when the device is turned on (turn MCB on after asserting the chip enable of the slave device) and by ending with FSK. The SPI mode 0 can be achieved by generating an additional FSK pulse (by turning the MCB off and on again, see Fig.12) between the last write to MCSD and the first read of MCSD. A variety of serial flash memory driver software packages is included in the API software for the microcontroller that is provided with the chip. An application note is available to help implementation of the software for the SPI. 10.7.1 MEMORY CONTROL SERIAL COMMAND REGISTER (MCSC) Table 23 Memory Control Serial Command Register (SFR address A9H) Table 24 Selection of FSK clock rate 76543210 spare spare spare spare MCB on shift off FSK rate 1 FSK rate 0 MCSC.1 MCSC.0 FSK CLOCK RATE 0 0 microcontroller_CLK/4 0 1 microcontroller_CLK/8 1 0 microcontroller_CLK/16 1 1 microcontroller_CLK/32 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |