Renesas M16C Series User Manual page 120

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
(3) LSB/MSB first select function
This function is to choose whether to transmit/receive data from bit 1 or bit 7. This is valid when the
transfer data length is 8 bits long.
Choose either of the following:
• LSB first
• MSB first
(4) Multiple receive format select function
If the number of SCKs in a WS high/low period is less than the channel width, the data can be placed
www.DataSheet4U.com
either MSB or LSB justified.
(5) SCK polarity select function
This function selects whether transmit and receive data are synchronized to the rising or falling edge
of WS. This is selected by the SCK polarity bit in the serial sound interface x mode register 1.
(6) WS polarity select function
This function is to transmit/receive data synchronized to the rising edge or the falling edge of WS.
This is selected by the WS polarity select bit in the Serial Sound Interface x mode register 1.
(7) WS delay select function
Either of the following modes may be selected for the channel change timing:
• Normal WS mode
WS transitions one SCK period before a channel change. (The channel changes one SCK period
after WS transitions.)
• Delayed WS mode
WS transitions concurrently with a channel change.
Input to the Serial Sound Interface function and the corresponding direction register
When inputting an external signal to the Serial Sound Interface, set the corresponding port's direction
register as input.
Serial Sound Interface function-related pins
(1)
(2)
(3)
(4)
Serial Sound Interface function-related register
Figure 2.6.1 shows a memory map of the frequency synthesizer-related registers. Figures 2.6.2 and
2.6.3 show the configuration of Serial Sound Interface function related-registers, respectively.
Set the port's direction register appropriately and disable the clock synchronous serial and the UART
which share the port.
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Data is transmitted/received from bit 0.
Data is transmitted/received from bit 7.
SCLK
and SCLK
pins
0
1
WS
and WS
pins
0
1
RX
and RX
pins
0
1
XMIT
and XMIT
pins
0
1
page 111 of 354
Transfer clock input
Channel clock input
Data input
Data output
2. Serial sound interface

Advertisement

Table of Contents
loading

Table of Contents