Renesas M30245 Series User Manual page 122

16-bit single-chip microcomputer
Hide thumbs Also See for M30245 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
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)
SCLK
0
(2)
WS
and WS
0
(3)
RX
and RX
0
(4)
XMIT
and XMIT
0
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.
and SCLK
pins
Transfer clock input
1
pins
Channel clock input
1
pins
Data input
1
pins
Data output
1
page 111 of 354
2. Serial sound interface

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents