Renesas Asynchronous SH7145Fの取扱説明書

17ページ 0.11 mb
ダウンロード

ページに移動 of 17

Summary
  • Renesas Asynchronous SH7145F - page 1

    APPLICATION NOTE REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 1 of 17 SH7145F Asynchronou s Serial Data Transmission/Re ception Summary The SH7144 se ries is a sin gle-chip m icroprocessor based on t he SH-2 RISC (Reduced In struction Set Com puter) CPU core and inte grating a num ber of peripheral funct ions. This application note describes asynchr ...

  • Renesas Asynchronous SH7145F - page 2

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 2 of 17 1. Specifications As shown in figure 1, asynchronous serial data transmission is performed using channel 1 (ch1) of the SCI module of the SH7145F. In th is task example 3 bytes of se rial data are received by the SH7145, and th e receive da ...

  • Renesas Asynchronous SH7145F - page 3

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 3 of 17 2 Functions Used In this task example the SCI (Serial Communication Interface) is used to perform asynchronous serial data transmission /reception. Figure 2 shows a block diagram of channel 1 (ch1) of the SCI modul e. T he func tio ns of t ...

  • Renesas Asynchronous SH7145F - page 4

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 4 of 17 • On-C hip Pe rip her al Clo ck P φ This is the reference clock for ope ration of on-chip peripheral functions. T he clock signal is generated b y a clock oscil lator. • Receive Shift Register (RSR_1) This register is u sed to receive ...

  • Renesas Asynchronous SH7145F - page 5

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 5 of 17 • Bit Rate Register ( BRR_1 ) This 8 -bit r egiste r is use d to a dj ust the bi t rate . T he SCI ha s indep end ent b aud r ate gene rat ors for the individu al channels, allo wing differen t bit rates to be set for each. See the hardwa ...

  • Renesas Asynchronous SH7145F - page 6

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 6 of 17 3. Operation Figure 3 s hows the operat ion of asy nchron ous mode data t ransmiss ion in the task exam ple. To help explain figure 3, table 3 lists the software and hard ware processing that is perfor med. 0 0 (1) (2) (3) (4) (5) (6) (7) ( ...

  • Renesas Asynchronous SH7145F - page 7

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 7 of 17 Table 3 Processing Software Processing Hardware Process ing (1) — RSR_1 receives seri al data and transfers it to RDR_1 (2) — Set RDRF flag in SSR_1 to 1 (3) Read data from RDR_1 (4) Clear RDRF flag in SSR_1 to 0 ( 5 ) W r i t er e c e ...

  • Renesas Asynchronous SH7145F - page 8

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 8 of 17 4. Soft w are (1) Module Descriptions Table 4 lists the mod ules used in the task e xample. Table 4 Module Descriptions Module Label Function Main routine main Calls module s SCI routine init_sci Initial sett ings of SCI 1 Receive routi ne ...

  • Renesas Asynchronous SH7145F - page 9

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 9 of 17 Table 6 On-Chip Register Descrip tions Register Bit Set Value Function MSTCR1 MSTP17 0 Module standby c ontrol register 1 SCI1 s tandby control bit Standby cancelled when MSTP17 = 0 SCR_1 H'70 Serial c ontrol regist er 1 (SCI_1) Transm ...

  • Renesas Asynchronous SH7145F - page 10

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 10 of 17 Register Bit Set Value Function SMR_1 MP 0 Multiprocess or mode (enabled in asynchronous mode onl y) Multiprocess or communication disabl ed when 0 CKS1 CKS2 0 0 Clock s elect 1, 0 When val ue is 00, P φ cl ock sel ected using on-c hip ba ...

  • Renesas Asynchronous SH7145F - page 11

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 11 of 17 5. Flowcharts (1) Main Routine main() init_sci() rcv_sci() rcv_sci() rcv_sci() Initialize SCI module Receive 1st byte of data Receive 2nd byte of data Receive 3rd byte of data ...

  • Renesas Asynchronous SH7145F - page 12

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 12 of 17 (2) SCI1 Initialize Routine No Ye s Cancel SCI1 module standby status Clear to 0 bits TIE, RIE, TE, RE, MPIE, and TEIE in SCR_0 Select on-chip clock as clock source using CKE1 and CKE0 in SCR_0 Using SMR_1, select asynchronous mode, 8 data ...

  • Renesas Asynchronous SH7145F - page 13

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 13 of 17 (3) Data Re ceive Rou tine No Ye s Read receive data from RDR_1 and store it in on-chip RAM Transmit receive data without modification Clear RDRF flag in SSR_1 to 0 Wait until RDR_1 finishes receiving data RTE rcv_sci() (4) Data Transfer R ...

  • Renesas Asynchronous SH7145F - page 14

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 14 of 17 6. Program List ing /**************************************************************/ /* SH7145F Application Note */ /* */ /* Function */ /* :SCI1 */ /* */ /* External input clock : 12.5MHz */ /* Internal CPU clock : 50MHz */ /* Internal pe ...

  • Renesas Asynchronous SH7145F - page 15

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 15 of 17 Function : init_sci Operation : Initialize serial (sci1) Asynchronous receive operation -Data : 8bit -Stop bit : 1bit -Parity bit : No **************************************************************/ void init_sci(void) { unsigned long i; P ...

  • Renesas Asynchronous SH7145F - page 16

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 16 of 17 P_SCI1.SSR_1.BIT.RDRF = 0; /* Clear RDRF */ trans_sci(Rev_data[rev_count]); /* Transmit receive data */ rev_count++ ; /* Increment storage address */ return(rev_count); } /******************************************************************* ...

  • Renesas Asynchronous SH7145F - page 17

    SH7145F Asynchronous Serial Da ta Transmission/ Reception REJ06B0357-0 100O/Rev.1.0 0 March 2004 Page 17 of 17 1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's application; they do not convey any license under any intellectual property ...

メーカー Renesas カテゴリー Network Card

Renesas Asynchronous SH7145Fのメーカーから受け取ることができるドキュメントは、いくつかのグループに分けられます。その一部は次の通りです:
- #BRANDの図面#
- Asynchronous SH7145Fの取扱説明書
- Renesasの製品カード
- パンフレット
- またはRenesas Asynchronous SH7145Fの消費電力シール
それらは全部重要ですが、デバイス使用の観点から最も重要な情報は、Renesas Asynchronous SH7145Fの取扱説明書に含まれています。

取扱説明書と呼ばれる文書のグループは、Renesas Asynchronous SH7145Fの取り付け説明書、サービスマニュアル、簡易説明書、またはRenesas Asynchronous SH7145Fのユーザーマニュアル等、より具体的なカテゴリーに分類されます。ご必要に応じてドキュメントを検索しましょう。私たちのウェブサイトでは、Renesas Asynchronous SH7145Fの製品を使用するにあたって最も人気のある説明書を閲覧できます。

関連する取扱説明書

Renesas Asynchronous SH7145Fデバイスの取扱説明書はどのようなものですか?
取扱説明書は、ユーザーマニュアル又は単に「マニュアル」とも呼ばれ、ユーザーがRenesas Asynchronous SH7145Fを使用するのを助ける技術的文書のことです。説明書は通常、全てのRenesas Asynchronous SH7145Fユーザーが容易に理解できる文章にて書かれており、その作成者はその分野の専門家です。

Renesasの取扱説明書には、基本的な要素が記載されているはずです。その一部は、カバー/タイトルページ、著作権ページ等、比較的重要度の低いものです。ですが、その他の部分には、ユーザーにとって重要な情報が記載されているはずです。

1. Renesas Asynchronous SH7145Fの説明書の概要と使用方法。説明書にはまず、その閲覧方法に関する手引きが書かれているはずです。そこにははRenesas Asynchronous SH7145Fの目次に関する情報やよくある質問、最も一般的な問題に関する情報を見つけられるはずです。つまり、それらはユーザーが取扱説明書に最も期待する情報なのです。
2. 目次。Renesas Asynchronous SH7145Fに関してこのドキュメントで見つけることができる全てのヒントの目次
3. Renesas Asynchronous SH7145Fデバイスの基本機能を使うにあたってのヒント。 Renesas Asynchronous SH7145Fのユーザーが使い始めるのを助けてくれるはずです。
4. トラブルシューティング。Renesas Asynchronous SH7145Fに関する最も重要な問題を診断し、解決するために役立つ体系化された手続き
5. FAQ。よくある質問
6. 連絡先。一人では問題を解決できない場合に、その国におけるRenesas Asynchronous SH7145Fのメーカー/サービスへの連絡先に関する情報。

Renesas Asynchronous SH7145Fについてご質問がありますか?

次のフォームを使用してください

見つけた説明書を読んでもRenesas Asynchronous SH7145Fの問題を解決できない場合、下記のフォームを使用して質問をしましょう。ユーザーのどなたかがRenesas Asynchronous SH7145Fで同様の問題を抱えていた場合、その解決方法を共有したいと考えるかもしれません。

画像のテキストを入力してください

コメント (0)