These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
abstract.h
00001 ******************** (C) COPYRIGHT 2010 NXPSemiconductors ******************* 00002 * @file UART\RS485_master\abstract.txt 00003 * @author NXP MCU SW Application Team 00004 * @version 2.0 00005 * @date 00006 * @brief Description of the RS485_Master example. 00007 ****************************************************************************** 00008 * Software that is described herein is for illustrative purposes only 00009 * which provides customers with programming information regarding the 00010 * products. This software is supplied "AS IS" without any warranties. 00011 * NXP Semiconductors assumes no responsibility or liability for the 00012 * use of the software, conveys no license or title under any patent, 00013 * copyright, or mask work right to the product. NXP Semiconductors 00014 * reserves the right to make changes in the software without 00015 * notification. NXP Semiconductors also make no representation or 00016 * warranty that such application will be suitable for the specified 00017 * use without further testing or modification. 00018 ****************************************************************************** 00019 00020 @Example description: 00021 Purpose: 00022 This example describes how to use RS485 functionality on UART1 of LPC1768 00023 in master mode. 00024 Process: 00025 RS485 function on UART1 acts as Master mode on RS485 bus. 00026 Master device will send a specified slave device address value 00027 first, then master device will send data frames. After sending 00028 completed, master device wait for response from slave device (example RS485_slave). 00029 00030 @Directory contents: 00031 \EWARM: includes EWARM (IAR) project and configuration files 00032 \Keil: includes RVMDK (Keil)project and configuration files 00033 00034 lpc17xx_libcfg.h: Library configuration file - include needed driver library for this example 00035 makefile: Example's makefile (to build with GNU toolchain) 00036 rs485_master.c: Main program 00037 00038 @How to run: 00039 Hardware configuration: 00040 This example was tested on: 00041 Keil MCB1700 with LPC1768 vers.1 00042 These jumpers must be configured as following: 00043 - VDDIO: ON 00044 - VDDREGS: ON 00045 - VBUS: ON 00046 - Remain jumpers: OFF 00047 IAR LPC1768 KickStart vers.A 00048 These jumpers must be configured as following: 00049 - PWR_SEL: depend on power source 00050 - DBG_EN : ON 00051 - Remain jumpers: OFF 00052 00053 RS485 Connection: 00054 Pls see the 'Transceiver_Master.png' in this directory for wiring information. 00055 00056 00057 Running mode: 00058 This example can run on RAM/ROM mode. 00059 00060 Note: If want to burn hex file to board by using Flash Magic, these jumpers need 00061 to be connected: 00062 - MCB1700 with LPC1768 ver.1: 00063 + RST: ON 00064 + ISP: ON 00065 - IAR LPC1768 KickStart vers.A: 00066 + RST_E: ON 00067 + ISP_E: ON 00068 00069 (Please reference "LPC1000 Software Development Toolchain" - chapter 4 "Creating and working with 00070 LPC1000CMSIS project" for more information) 00071 00072 Step to run: 00073 - Step 1: Build example. 00074 - Step 2: Burn hex file into board (if run on ROM mode) 00075 - Step 3: Connect UART0 on this board to COM port on your computer 00076 - Step 4: Connect RS485 as above instruction (using ADM485) 00077 - Step 5: Run example and using Serial display to monitor the communication between master and slave. 00078 00079 (Pls see "LPC17xx Example Description" document - chapter "Examples > UART > RS485_Master" 00080 for more details) 00081 00082 @Tip: 00083 - Open \EWARM\*.eww project file to run example on IAR 00084 - Open \RVMDK\*.uvproj project file to run example on Keil
Generated on Tue Jul 12 2022 17:28:08 by 1.7.2