m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 320

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
3.6 CRC Calculation SFR Access Snoop Function in Clock Synchronous Serial Data Transmit
Overview
Specifications
Operation
The M30245 group, by use of DMAC, transfers data from the internal RAM to the UART1 and the
result is transferred to the UART1 by use of SFR access snoop function. The block diagram is
shown in Figure 3.6.1 and the setting routine is shown in Figure 3.6.2 to Figure 3.6.4.
The peripheral functions to be used are as follows:
• DMAC 1 Channel
• Internal RAM (address 00400
• UART1 (Clock synchronous serial I/O mode)
• CRC calculation circuit
• SFR access snoop function
(1) Data transfer is performed starting at address 00400
(2) Use the DMA0 to transfer data from the internal RAM to the UART1. Select the UART1
(3) Set the CRC calculation circuit to the CRC-CCITT and set CRC snoop address register to the
(4) On completing the DMA, 2-byte data of CRC data register (calculation result) are transferred
(1) Initialize the UART1 related registers.
(2) Initialize the DMA0 related registers in DMA disable state.
(3) Set the DMA0 transfer counter to the transfer data consisting of 511 bytes (in this case, 8-bit
(4) Initialize the CRC calculation circuit and the SFR access snoop function.
(5) Set the software DMA request bit of DMA0 to “1”. At this time, 1st byte data are transferred
(6) When the transmit buffer of the UART1 becomes writable state, the DMA transfer request is
(7) As a result of repetition of the above (6), when the DMA0 transfer counter underflow, DMA
UART1. Data are transferred from area between the address 00400
the UART1. Transfer is executed every time 1 byte of serial transmit is completed.
transmit to the DMA0 request factor. Select the single transfer mode and set the DMA0
transfer counter to 511 bytes (512-1).
address of UART1 transmit buffer register (write snoop).
to the UART1 and operation is completed.
transfer).
from RAM to the transmit buffer of the UART1. Simultaneously, the transfer source address
is incremented and the content of the transfer counter is down-counted. The transferred data
are automatically written in CRC input register by the SFR access snoop function.
occurred by the UART1. At this time, the next data are transferred from RAM to the transmit
buffer of the UART1. Simultaneously, the transfer source address is incremented and the
content of the transfer counter is down-counted. The transferred data are automatically writ-
ten in CRC input register by the SFR access snoop function.
enable bit is set to “0” to complete the DMA0 transfer. Simultaneously, the DMA0 interrupt
request occurs. When the DMA0 interrupt request is detected, CRC data register (2 bytes) is
read, it is transferred to the UART1 transmit buffer sequentially.
page 311 of 354
16
) 512 bytes
16
from the area with 512 bytes to the
3. CRC Snoop Function Applications
16
and the 512nd byte to

Related parts for m5m51016btp