Communication speed, Example for the modectrl register – Rainbow Electronics AT77C104B User Manual

Page 23

Advertising
background image

23

AT77C104B

5347B–BIOM–08/04

Communication Speed

To reduce consumption, the control interface’s communication speed is set to the lowest
possible speed and depends on the host’s configuration.

To communicate with “fast” controllers, the sensor’s communication speed can be set to
200 kbits/s.

Example for the MODECTRL
Register

Figure 10 represents a typical writing sequence into an internal register (MODECTRL
register in this example).

See Appendix B for flowchart.

Figure 10. Writing into an Internal Register

Note:

The break on SCK on the SPI chronogram has been added for better comprehension only. In a real application, SCK can be
continuous.

Figure 11 represents a typical reading sequence of a register different from the naviga-
tion register. In this example, the status register is used.

Figure 11. Reading Sequence of a Register (Except for Navigation Registers)

SSS

SCK

MOSI

MISO

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

x

0

0

1

1

0

0

0

0

1

0

0

0

0

x

x

1

Writing into MODECTRL Register Requested

New Data to be Written into MODECTRL Register

(Navigation and Click Mode)

SCK

MOSI

MISO

x

x

x

x

x

x

x

x

1

0

0

0

0

0

0

0

0

x

x

x

x

x

x

1

1

0

0

0

x

x

0

Reading of STATUS Register Requested

Emission of the STATUS Register

(Click Detected)

x

Advertising