Renesas Asynchronous SH7145F Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Vernetzung Renesas Asynchronous SH7145F herunter. SH7145F Synchronous Serial Data Transmission APPLICATION Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 16
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 0
1 2 3 4 5 6 ... 15 16

Inhaltsverzeichnis

Seite 1 - APPLICATION NOTE

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

Seite 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

Seite 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

Seite 4

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

Seite 5 - Table 1 Function Allocations

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

Seite 6 - 3. Operation

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

Seite 7 - 4. Software

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

Seite 8

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

Seite 9

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 14

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

Seite 15

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

Seite 16

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

Kommentare zu diesen Handbüchern

Keine Kommentare