Freescale Semiconductor, Inc.
MC33593
SERIAL INTERFACE
ROMEO2 and the microcontroller communicate through a Serial Peripheral Interface (SPI). It enables:
- the microcontroller to set and check ROMEO2 configuration,
- ROMEO2 to send the received data.
If the SPI is not used, a Power On Reset (POR) sets ROMEO2 to operate correctly in a default configuration.
The interface is operated by the 3 following input/output pins:
- Serial Clock SCLK,
- Master Output Slave Input MOSI,
- Master Input Slave Output MISO.
The master clock is used to synchronise data movement both in and out of the device through its MOSI and
MISO lines. The master and slave devices are capable of exchanging a byte of information during a sequence of
eight clock cycles. Since SCLK is generated by the master device, this line is an input on a slave device.
The MISO line is configured as an input in a master device and as an output in a slave device. The MOSI line is
configured as an output in a master device and as an input in a slave device. The MISO and MOSI lines transfer
serial data in one direction with the most significant bit sent first. Data are captured on falling edges of SCLK.
Data are shifted out on rising edge of SCLK. When no data are output, SCLK and MOSI force a low level. Using
Motorola acronyms, this means that the clock phase and polarity control bits of the microcontroller SPI have to be
CPOL= 0 and CPHA=1.
In configuration mode, as long as a low level is applied on RESETB (see state machine on figure 14 page 13),
the microcontroller is the master node providing clock information on SCLK input, control and configuration bits
on the MOSI line. If the default configuration is not the desired one, the microcontroller (MCU) can change it by
writing into the configuration registers. The configuration registers can also be read back to check their contents.
Configuration registers cannot be addressed separately, the whole configuration has to be sent as a 3x8
bitstream. The contents are written out as a 24-bit serial data stream. Transmissions which are not multiple of 24
bits may lead to unexpected configurations. The first bit transmitted on MOSI does not change the content of the
configuration registers. Note that a low level applied on RESETB does not affect the configuration register
content.
When RESETB is set to a high level, if Data Manager is enabled (DME=1), ROMEO2 becomes master and
sends received data on the MOSI line and the recovered clock on SCLK. It is then recommended that the MCU
SPI is set as slave. If the data received does not fit in an entire number of bytes, the data manager will fill the last
byte. If the data received constitute an whole number of bytes, the data manager may generate and send an
extra byte whose content is irrelevant. If DME=0, the SPI is disabled. Raw data is sent on the MOSI line.
When ROMEO2 SPI is changed from master (run mode) to slave (configuration mode) or from slave to
master, it is recommended that the MCU SPI is set as slave before the mode transition.
At power-on, the POR resets the internal registers. This defines the receiver default configuration (see gray
rows on tables 4, 7 & 8). In this configuration, the SPI is disabled and ROMEO2 sends raw data on the MOSI line.
This default configuration enables the circuit to operate as a standalone receiver without any external control.
After POR, RESETB forces a low level. Therefore an external pull-up resistor should be used in order to avoid
entering configuration mode.
Figure 12: Writing into configuration registers
MCU (master)
ROMEO2
0
CR1
CR2
CR3
MOSI line
SCLK line
For More Information On This Product,
Go to: www.freescale.com
? Motorola, Inc., 2002.
MOTOROLA SEMICONDUCTORS PRODUCTS
9
revision 7.0, 5 February 2002
相关PDF资料
MC33690DWER2 IC STAND ALONE TAG READER 20SOIC
MC44CC375AVEFEVK CCEVK NEJA EVAL KIT
MCH3374-TL-E MOSFET P-CH 12V 3A MCPH3
MCH3375-TL-H MOSFET P-CH 1.6A 30V MCPH3
MCH3377-TL-E MOSFET P-CH 20V 3A MCPH3
MCH3377-TL-H MOSFET P-CH 3A 20V MCPH3
MCH3382-TL-H MOSFET P-CH 2A 12V MCPH3
MCH3383-TL-H MOSFET P-CH 12V 3.5A MCH3
相关代理商/技术参数
MC33594FTA 功能描述:射频接收器 315 434 MHz RoHS:否 制造商:Skyworks Solutions, Inc. 类型:GPS Receiver 封装 / 箱体:QFN-24 工作频率:4.092 MHz 工作电源电压:3.3 V 封装:Reel
MC33594FTAE 功能描述:射频接收器 UHF RECEIVER RoHS:否 制造商:Skyworks Solutions, Inc. 类型:GPS Receiver 封装 / 箱体:QFN-24 工作频率:4.092 MHz 工作电源电压:3.3 V 封装:Reel
MC33594FTAER2 功能描述:射频接收器 UHF RECEIVER RoHS:否 制造商:Skyworks Solutions, Inc. 类型:GPS Receiver 封装 / 箱体:QFN-24 工作频率:4.092 MHz 工作电源电压:3.3 V 封装:Reel
MC33594FTAR2 功能描述:IC RF RECEIVER 315,434MHZ 24LQFP RoHS:否 类别:RF/IF 和 RFID >> RF 接收器 系列:- 产品培训模块:Lead (SnPb) Finish for COTS 产品变化通告:Product Discontinuation 09/Jan/2012 标准包装:50 系列:* 频率:850MHz ~ 2.175GHz 灵敏度:- 数据传输率 - 最大:- 调制或协议:- 应用:* 电流 - 接收:* 数据接口:PCB,表面贴装 存储容量:- 天线连接器:PCB,表面贴装 特点:- 电源电压:4.75 V ~ 5.25 V 工作温度:0°C ~ 85°C 封装/外壳:40-WFQFN 裸露焊盘 供应商设备封装:40-TQFN-EP(6x6) 包装:托盘
MC33596FCAE 功能描述:射频接收器 UHF REICEVER RoHS:否 制造商:Skyworks Solutions, Inc. 类型:GPS Receiver 封装 / 箱体:QFN-24 工作频率:4.092 MHz 工作电源电压:3.3 V 封装:Reel
MC33596FCAER2 功能描述:射频接收器 UHF REICEVER RoHS:否 制造商:Skyworks Solutions, Inc. 类型:GPS Receiver 封装 / 箱体:QFN-24 工作频率:4.092 MHz 工作电源电压:3.3 V 封装:Reel
MC33596FCE 功能描述:射频接收器 PLL Tuned UHF Recvr RoHS:否 制造商:Skyworks Solutions, Inc. 类型:GPS Receiver 封装 / 箱体:QFN-24 工作频率:4.092 MHz 工作电源电压:3.3 V 封装:Reel
MC33596FCER2 功能描述:射频接收器 PLL Tuned UHF Recvr RoHS:否 制造商:Skyworks Solutions, Inc. 类型:GPS Receiver 封装 / 箱体:QFN-24 工作频率:4.092 MHz 工作电源电压:3.3 V 封装:Reel