Packet Communication Initiated By The Flex Decoder - Hitachi H8/3937 Series Hardware Manual

Table of Contents

Advertisement

The host must transition the SS pin from high to low to begin each 32-bit packet. The FLEX
decoder must see a negative transition on the SS pin in order for the host to initiate each packet
communication.
12.2.2

Packet Communication Initiated by the FLEX decoder

Refer to figure 12-5.When the FLEX decoder has a packet for the host to read, the following
occurs:
1. The FLEX decoder drives the READY pin low.
2. If the FLEX decoder is not already selected, the host selects the FLEX decoder by driving the
SS pin low.
3. The host receives (and sends) a 32-bit packet.
4. The host de-selects the FLEX decoder by driving the SS pin high (optional).
SS
2
READY
1
SCK
3
MOSI
MISO
Figure 12-5 Typical Multiple Packet Communications Initiated by the FLEX decoder
When the host is reading a packet from the FLEX decoder, it must send a valid packet to the
FLEX decoder. If the host has no data to send, it is suggested that the host send a Checksum
Packet with all of the data bits set to 0 in order to avoid disabling the FLEX decoder. See 12.3.1,
Checksum Packet for more details on enabling and disabling the FLEX decoder.
The following figure illustrates that it is not necessary to de-select the FLEX decoder between
packets when the packets are initiated by the FLEX decoder.
334
4
D31
D1 D0
D31
D1 D0
High impedance state
D31
D1 D0
D31
D1 D0
D31
D1 D0
D31
D1 D0

Advertisement

Table of Contents
loading

Table of Contents