Renesas Asynchronous SH7145F Manual de usuario

Busca en linea o descarga Manual de usuario para Redes Renesas Asynchronous SH7145F. SH7145F Synchronous Serial Data Transmission APPLICATION Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 16
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
APPLICATION NOTE
REJ06B0352-0100O/Rev.1.00 March 2004 Page 1 of 16
SH7145F
Synchronous Serial Data Transmission
Summary
The SH7144 series is a single-chip microprocessor based on the SH-2 RISC (Reduced Instruction
Set Computer) CPU core and integrating a number of peripheral functions.
This application note describes synchronous serial data transmission using the SCI (Serial
Communication Interface) module of the SH7145F. It is intended to be used as reference by users
designing software applications.
The program examples contained in this application note have been tested. However, operation
should be confirmed before using them in an actual application.
Device for Which Operation Has Been Confirmed
SH7145F
Contents
1. Specifications................................................................................................ 2
2. Functions Used............................................................................................. 3
3. Operation....................................................................................................... 6
4. Software........................................................................................................ 7
5. Flowcharts..................................................................................................... 10
6. Program Listing............................................................................................. 13
Vista de pagina 0
1 2 3 4 5 6 ... 15 16

Indice de contenidos

Pagina 1 - APPLICATION NOTE

APPLICATION NOTEREJ06B0352-0100O/Rev.1.00 March 2004 Page 1 of 16SH7145FSynchronous Serial Data TransmissionSummaryThe SH7144 series is a single-chip

Pagina 2 - 1. Specifications

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 10 of 165. Flowcharts(1) Main Routinemain()init_sci()trans_sci()t

Pagina 3 - 2. Functions Used

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 11 of 16(2) SCI1 Initialize RoutineNoYesCancel SCI0 module standb

Pagina 4

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 12 of 16(3) Data Transmit RoutineNoYesWrite transmit data to TDR_

Pagina 5 - Table 1 Function Allocations

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 13 of 166. Program Listing/**************************************

Pagina 6 - 3. Operation

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 14 of 16while(1); /* LOOP */}/***********************************

Pagina 7 - 4. Software

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 15 of 16/**************************************Interrupt handling

Pagina 8

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 16 of 161. These materials are intended as a reference to assist

Pagina 9

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 2 of 161. SpecificationsAs shown in figure 1, synchronous serial

Pagina 10 - 5. Flowcharts

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 3 of 162. Functions UsedIn this task example the SCI (Serial Comm

Pagina 11 - (2) SCI1 Initialize Routine

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 4 of 16• Receive Shift Register (RSR_0)This register is used to r

Pagina 12 - (3) Data Transmit Routine

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 5 of 16Table 1 shows the function allocations for the task exampl

Pagina 13 - 6. Program Listing

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 6 of 163. OperationFigure 3 shows the operation of synchronous mo

Pagina 14

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 7 of 164. Software(1) Module DescriptionsTable 3 lists the module

Pagina 15

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 8 of 16Table 5 On-Chip Register DescriptionsRegisterBitSet Value

Pagina 16

SH7145FSynchronous Serial Data TransmissionREJ06B0352-0100O/Rev.1.00 March 2004 Page 9 of 16RegisterBitSet Value FunctionSMR_0 MP 0 Multiprocessor mod

Comentarios a estos manuales

Sin comentarios