(2-4) Bus Control The signals CS - WE and AO provide control in the data bus for items such as addressing the register in OPLL and read/write of the data. Namely, they select one of four operating modes as follows. Table 11-1 Mode selection Be 1] tx «| Inactive mods 2 | 0 0 .0 | Address write mode 310 0 1 | Data write mode 410 1 0 | Bus inhibited (a) Inactive mode The bus lines (Do ~ Dy) are at high impedance while TS is *1'. (b) Address write mode When writing an address, set the control signals to the address write mode and place the address data on the data bus. The address of the specified internal register is now ready to receive data. After writing an address, be sure to wait for 12 cycles of the master clock (@M) before writing in sound data. (c) Data write mode When the control signals as set for the data write mode, the data existing on the data bus enters the register of the given address. Wait for 84 cycles of the master clock (@M) before writing in further data or another address. (d) Bus inhibited In this mode, the data of the data bus is meaningless and uncontrollable. Take note of the following regarding the address/data write modes. OPLL needs a certain length of wait time between successive writings of addresses or data into the registers. The wait time varies between the address and data write modes. The processor waits for a time shown in Tabel 1-2 before OPLL performs another function. If the wait time is not observed data will be uncertain, Table 11-2 Weit times | Note: The wait times are given in cycles of the master clock. -4-