Rainbow-electronics MAX5131 Bedienungsanleitung Seite 13

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 20
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 12
Serial Data Output
The contents of the internal shift register are output
serially on DOUT, allowing for daisy-chaining (see
Applications Information
) of multiple devices as well as
data readback. The MAX5130/MAX5131 may be pro-
grammed to shift data out on DOUT on the serial
clock’s rising edge (Mode 1) or falling edge (Mode 0).
The latter is the default during power-up and provides a
lag of 16 clock cycles, maintaining SPI, QSPI,
MICROWIRE, and PIC16/PIC17 compatibility. In Mode
1, the output data lags DIN by 15.5 clock cycles.
During power-down, DOUT retains its last digital state
prior to shutdown.
User-Programmable Output (UPO)
The UPO feature allows an external device to be con-
trolled through the serial-interface setup (Table 1),
thereby reducing the number of microcontroller I/O
ports required. During power-down, this output will
retain the last digital state before shutdown. With CLR
pulled low, UPO will reset to the default state after
wake-up.
MAX5130/MAX5131
+3V/+5V, 13-Bit, Serial Voltage-Output DACs
with Internal Reference
______________________________________________________________________________________ 13
Table 3. Detailed SSPCON Register Contents
Receive Overflow Detection BitXSSPOV BIT6
BIT7
Clock Polarity Select Bit. CKP = 0 for SPI master-mode selection.0CKP BIT4
BIT5
Synchronous Serial Port Enable Bit
0: Disables serial port and configures these pins as I/O port pins.
1: Enables serial port and configures SCK, SDO and SCI as
serial-port pins.
1SSPEN
0SSPM2 BIT2
BIT3
1SSPM0 BIT0
BIT1
CONTROL BIT
0SSPM1
Write Collision Detection BitXWCOL
SYNCHRONOUS SERIAL-PORT CONTROL REGISTER
(SSPCON)
MAX5130/MAX5131
SETTING
Synchronous Serial Port Mode Select Bit. Sets SPI master mode
and selects f
CLK
= f
OSC
/ 16.
0SSPM3
X = Don’t care
Table 4. Detailed SSPSTAT Register Contents
X = Don’t care
SPI Clock Edge Select Bit. Data will be transmitted on the rising
edge of the serial clock.
1CKE BIT6
Buffer Full Status Bit
BIT7
Update Address
Read/Write Bit Information
Stop BitXP BIT4
BIT5 Data Address BitXD/A
XR/W BIT2
BIT3
XBF BIT0
BIT1
CONTROL BIT
XUA
SPI Data Input Sample Phase. Input data is sampled at the mid-
dle of the data output time.
0SMP
SYNCHRONOUS SERIAL-PORT CONTROL REGISTER
(SSPSTAT)
MAX5130/MAX5131
SETTINGS
Start BitXS
Seitenansicht 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 19 20

Kommentare zu diesen Handbüchern

Keine Kommentare