ADUC7023 Analog Devices, ADUC7023 Datasheet - Page 53

no-image

ADUC7023

Manufacturer Part Number
ADUC7023
Description
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC7023

Mcu Core
ARM7 TDMI
Mcu Speed (mips)
40
Sram (bytes)
8192Bytes
Gpio Pins
20
Adc # Channels
12
Other
PWM

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC7023BCBZ62I
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC7023BCBZ62I-R7
Manufacturer:
WESTCODE
Quantity:
123
Part Number:
ADUC7023BCBZ62I-R7
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC7023BCBZ62I-R7
Quantity:
9 000
Part Number:
ADUC7023BCP6Z62I
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC7023BCP6Z62I
Quantity:
10 000
Part Number:
ADUC7023BCP6Z62IRL
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC7023BCPZ62I
Manufacturer:
ADI
Quantity:
2 000
Part Number:
ADUC7023BCPZ62I
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC7023BCPZ62I-R7
Quantity:
12 241
Table 61. GPxCLR MMR Bit Descriptions
Bit
31 to 24
23 to 16
15 to 0
SERIAL PERIPHERAL INTERFACE
The ADuC7023 integrates a complete hardware serial peripheral
interface (SPI) on chip. SPI is an industry standard, synchronous
serial interface that allows eight bits of data to be synchronously
transmitted and simultaneously received, that is, full duplex up to
a maximum bit rate of 20 Mbps.
The SPI port can be configured for master or slave operation and
typically consists of four pins: MISO, MOSI, SPICLK, and SPI SS .
MISO (Master In, Slave Out) Pin
The MISO pin is configured as an input line in master mode and
an output line in slave mode. The MISO line on the master (data
in) should be connected to the MISO line in the slave device (data
out). The data is transferred as byte wide (8-bit) serial data, MSB
first.
MOSI (Master Out, Slave In) Pin
The MOSI pin is configured as an output line in master mode and
an input line in slave mode. The MOSI line on the master (data
out) should be connected to the MOSI line in the slave device
(data in). The data is transferred as byte wide (8-bit) serial data,
MSB first.
SPICLK (Serial Clock I/O) Pin
The master serial clock (SPICLK) synchronizes the data being
transmitted and received through the MOSI SPICLK period.
Therefore, a byte is transmitted/received after eight SPICLK
periods. The SPICLK pin is configured as an output in master
mode and as an input in slave mode.
In master mode, polarity and phase of the clock are controlled by
the SPICON register, and the bit rate is defined in the SPIDIV
register as follows:
where:
f
UCLK
f
SERIAL
is the clock selected by POWCON1 Bit 7 to Bit 6.
CLOCK
Description
Reserved.
Data port x clear bit.
This bit is set to 1 by the user to clear the bit on Port x;
this bit also clears the corresponding bit in the GPxDAT
MMR.
This bit is cleared to 0 by the user; this bit does not affect
the data out.
Reserved.
=
2
×
1 (
+
f
UCLK
SPIDIV
)
Rev. B | Page 53 of 96
The maximum speed of the SPI clock is independent on the clock
divider bits.
In slave mode, the SPICON register must be configured with the
phase and polarity of the expected input clock. The slave accepts
data from an external master up to 10 Mbps.
In both master and slave modes, data is transmitted on one edge
of the SPICLK signal and sampled on the other. Therefore, it is
important that the polarity and phase are configured the same for
the master and slave devices.
SPI Chip Select ( SS Input) Pin
In SPI slave mode, a transfer is initiated by the assertion of SS ,
which is an active low input signal. The SPI port then transmits
and receives 8-bit data until the transfer is concluded by
deassertion of SS . In slave mode, SS is always an input.
In SPI master mode, the SS is an active low output signal. It
asserts itself automatically at the beginning of a transfer and
deasserts itself upon completion.
Configuring External Pins for SPI Functionality
P1.1 is the slave chip select pin. In slave mode, this pin is an input
and must be driven low by the master. In master mode, this pin is
an output and goes low at the beginning of a transfer and high at
the end of a transfer.
P1.0 is the SCLK pin.
P0.6 is the master in, slave out (MISO) pin.
P0.7 is the master out, slave in (MOSI) pin.
To configure these pins for SPI mode, see the General-Purpose
Input/Output section.
SPI Registers
The following MMR registers control the SPI interface: SPISTA,
SPIRX, SPITX, SPIDIV, and SPICON.
SPI Status Register
Name:
Address:
Default value:
Access:
Function:
SPISTA
0xFFFF0A00
0x0000
Read
This 32-bit MMR contains the status of the SPI
interface in both master and slave modes.
ADuC7023

Related parts for ADUC7023