Renesas Asynchronous SH7145F Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Networking Renesas Asynchronous SH7145F. SH7145F Synchronous Serial Data Transmission APPLICATION Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 16
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 0
1 2 3 4 5 6 ... 15 16

Podsumowanie treści

Strona 1 - APPLICATION NOTE

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

Strona 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

Strona 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

Strona 4

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

Strona 5 - Table 1 Function Allocations

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

Strona 6 - 3. Operation

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

Strona 7 - 4. Software

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

Strona 8

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

Strona 9

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 14

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

Strona 15

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

Strona 16

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

Komentarze do niniejszej Instrukcji

Brak uwag