⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 ST的ARM9,STR912F44W,串口程序,调试通过,可以做为大家参考,是IAR的开发环境
💻 TXT
字号:
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Date First Issued  :  05/18/2006 : Version 1.0
* Description        : Description of the UART Example1.
********************************************************************************
* History:
* 05/24/2006 : Version 1.1
* 05/18/2006 : Version 1.0
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/


Example description
===================
This example provides a description of how  to use the UART with hardware flow
control and communicate with the Hyperterminal.
First, the UART0 sends the TxBuffer to the hyperterminal and still waiting for
a string from the hyperterminal that you must enter which must end by '\r'
character (keypad ENTER button). Each byte received is retransmitted to the
Hyperterminal. 
The string that you have entered is stored in the RxBuffer array. The receive
buffer have a RxBufferSize bytes as maximum.

The UART0 is configured as follow:
  - Word Length = 7 Bits
  - Two Stop Bit
  - No parity
  - BaudRate = 115200 baud
  - Hardware flow control disabled
  - Receive and transmit enabled
  - Receive and transmit FIFOs are enabled
  - Transmit and Receive FIFOs levels have 8 bytes depth 


Directory contents
==================
91x_conf.h  Library Configuration file
91x_it.c    Interrupt handlers
main.c      Main program


Hardware environment
====================
 - All the UART0 signals (Rx, Tx) must be connected to a DB9 
   connector using a RS232 transceiver.
   + UART0_Rx (P5.1)
   + UART0_Tx (P3.4)

 - Connect a null-modem female/female RS232 cable between the DB9 connector 
   and PC serial port.  

 - Hyperterminal configuration:
    - Word Length = 7 Bits
    - Two Stop Bit
    - No parity
    - BaudRate = 115200 baud
    - flow control: None
  
  
How to use it
=============
In order to make the program work, you must do the following :

- Put the Jumpers U0TX to  on the position 1-3(only for STR912-SK IAR Board)
- Run the example


******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -