參數(shù)資料
型號: P80C591SFA
廠商: NXP SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: Single-chip 8-bit microcontroller with CAN controller
中文描述: 8-BIT, 16 MHz, MICROCONTROLLER, PQCC44
封裝: PLASTIC, SOT-187-2, LCC-44
文件頁數(shù): 102/161頁
文件大?。?/td> 588K
代理商: P80C591SFA
1999 Aug 19
102
Philips Semiconductors
Objective Specification
Single-chip 8-bit microcontroller with CAN controller
P8xC591
15.3.4
M
ASTER
T
RANSMITTER AND
M
ASTER
R
ECEIVER
M
ODES
The master mode is entered in the main program. To enter
the master transmitter mode, the main program must first
load the internal data RAM with the slave address, data
bytes, and the number of data bytes to be transmitted. To
enter the master receiver mode, the main program must
first load the internal data RAM with the slave address and
the number of data bytes to be received. The R/W bit
determines whether SIO1 operates in the master
transmitter or master receiver mode.
Master mode operation commences when the STA bit in
S1CION is set by the SETB instruction and data transfer is
controlled by the master state service routines in
accordance with Table 61, Table 62, Figure 37 and
Figure 38. In the example below, 4 bytes are transferred.
There is no repeated START condition. In the event of lost
arbitration, the transfer is restarted when the bus becomes
free. If a bus error occurs, the I
2
C bus is released and SIO1
enters the not selected slave receiver mode. If a slave
device returns a not acknowledge, a STOP condition is
generated.
A repeated START condition can be included in the serial
transfer if the STA flag is set instead of the STO flag in the
state service routines vectored to by status codes 28H and
58H. Additional software must be written to determine
which data is transferred after a repeated START
condition.
15.3.5
S
LAVE
T
RANSMITTER AND
S
LAVE
R
ECEIVER
M
ODES
After initialization, SIO1 continually tests the I
2
C bus and
branches to one of the slave state service routines if it
detects its own slave address or the general call address
(see Table 63, Table 64, Figure 39, and Figure 40). If
arbitration was lost while in the master mode, the master
mode is restarted after the current transfer. If a bus error
occurs, the I
2
C bus is released and SIO1 enters the not
selected slave receiver mode.
In the slave receiver mode, a maximum of 8 received data
bytes can be stored in the internal data RAM. A maximum
of 8 bytes ensures that other RAM locations are not
overwritten if a master sends more bytes. If more than 8
bytes are transmitted, a not acknowledge is returned, and
SIO1 enters the not addressed slave receiver mode. A
maximum of one received data byte can be stored in the
internal data RAM after a general call address is detected.
If more than one byte is transmitted, a not acknowledge is
returned and SIO1 enters the not addressed slave receiver
mode.
In the slave transmitter mode, data to be transmitted is
obtained from the same locations in the internal data RAM
that were previously loaded by the main program. After a
not acknowledge has been returned by a master receiver
device, SIO1 enters the not addressed slave mode.
15.3.6
A
DAPTING
T
HE
S
OFTWARE
F
OR
D
IFFERENT
A
PPLICATIONS
The following software example shows the typical
structure of the interrupt routine including the 26 state
service routines and may be used as a base for user
applications. If one or more of the four modes are not used,
the associated state service routines may be removed but,
care should be taken that a deleted routine can never be
invoked.
This example does not include any time-out routines. In
the slave modes, time-out routines are not very useful
since, in these modes, SIO1 behaves essentially as a
passive device. In the master modes, an internal timer may
be used to cause a time-out if a serial transfer is not
complete after a defined period of time. This time period is
defined by the system connected to the I
2
C bus.
相關PDF資料
PDF描述
P83C591VFB Single-chip 8-bit microcontroller with CAN controller
P87C591VFB 27 PF 5% 50V NPO/COG (0805) CHIP CAP TR
P83C591SFA Single-chip 8-bit microcontroller with CAN controller
P87C591SFA Single-chip 8-bit microcontroller with CAN controller
P80C591SFB Single-chip 8-bit microcontroller with CAN controller
相關代理商/技術參數(shù)
參數(shù)描述
P80C591SFB 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Single-chip 8-bit microcontroller with CAN controller
P80C592 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:8-bit microcontroller with on-chip CAN
P80C592FFA 制造商:NXP Semiconductors 功能描述:
P80C592FFA/00,512 功能描述:8位微控制器 -MCU 80C51 W/CAN 16MHZ ROMLESS RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
P80C592FFA/00,512 制造商:NXP Semiconductors 功能描述:8BIT MCU+CAN, SMD, 80C592, PLCC68