HD6433045 HITACHI [Hitachi Semiconductor], HD6433045 Datasheet - Page 527

no-image

HD6433045

Manufacturer Part Number
HD6433045
Description
Hitachi Single-Chip Microcomputer
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433045A58F
Manufacturer:
PWRT
Quantity:
4 172
Part Number:
HD6433045SA27F
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6433045SA28FV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433045SA37FV
Manufacturer:
RENESAS
Quantity:
1 000
A TXI interrupt is requested when the TEND flag is set to 1 in SSR. An RXI interrupt is requested
when the RDRF flag is set to 1 in SSR. An ERI interrupt is requested when the ORER, PER, or
ERS flag is set to 1 in SSR. These relationships are shown in table 14-8.
Table 14-8 Smart Card Mode Operating States and Interrupt Sources
Operating State
Transmit mode
Receive mode
Data Transfer by DMAC: The DMAC can be used to transmit and receive in smart card mode, as
in normal SCI operations. In transmit mode, when the TEND flag is set to 1 in SSR, the TDRE flag
is set simultaneously, generating a TXI interrupt. If TXI is designated in advance as a DMAC
activation source, the DMAC will be activated by the TXI request and will transfer the next transmit
data. This data transfer by the DMAC automatically clears the TDRE and TEND flags to 0. When an
error occurs, the SCI automatically retransmits the same data, keeping TEND cleared to 0 so that the
DMAC is not activated. The SCI and DMAC will therefore automatically transmit the designated
number of bytes, including retransmission when an error occurs. When an error occurs the ERS flag
is not cleared automatically, so the RIE bit should be set to 1 to enable the error to generate an ERI
request, and the ERI interrupt handler should clear ERS.
When using the DMAC to transmit or receive, first set up and enable the DMAC, then make SCI
settings. DMAC settings are described in section 8, DMA Controller.
In receive operations, when the RDRF flag is set to 1 in SSR, an RXI interrupt is requested. If
RXI is designated in advance as a DMAC activation source, the DMAC will be activated by the
RXI request and will transfer the received data. This data transfer by the DMAC automatically
clears the RDRF flag to 0. When an error occurs, the RDRF flag is not set and an error flag is set
instead. The DMAC is not activated. The ERI interrupt request is directed to the CPU. The ERI
interrupt handler should clear the error flags.
Examples of Operation in GSM Mode
When switching between smart card interface mode and software standby mode, use the following
procedures to maintain the clock duty cycle.
Switching from smart card interface mode to software standby mode
1.
Set the P94 data register (DR) and data direction register (DDR) to the values for the
fixed output state in software standby mode.
Normal operation
Error
Normal operation
Error
Flag
ERS
PER, ORER
TEND
RDRF
517
Mask Bit
TIE
RIE
RIE
RIE
Interrupt
Source
TXI
ERI
RXI
ERI
DMAC
Activation
Available
Not available
Available
Not available

Related parts for HD6433045