I/O Emulated UART Baud Rate Calibration Application Note

Size: px
Start display at page:

Download "I/O Emulated UART Baud Rate Calibration Application Note"

Transcription

1 I/O Emulated UART Baud Rate Calibration Application Note D/N: AN0475E Introduction Not every HOLTEK MCU contains a Universal Asynchronous Receiver/Transmitter function, otherwise known as a UART. If this function is required, it can be emulated using software. However, the software accuracy will change according to the system frequency error. This application note will illustrate how to use a software method to calibrate the baud rate and how to avoid errors between the two communicating parties. It will also show how to readjust to the same transmission frequency of each other when transmission errors occur. Taking the HT66F4540 as an example, this application note describes the UART baud rate calibration method. Functional Description. UART data transmission mode: The UART transmission is implemented in a time-sharing way. The transmitter sends a data bit to the receiver at fixed time intervals, until all data bits have been transmitted. Note that the receiving speed of the receiver should be the same as the transmitter; otherwise the received data will be incorrect. UART VDD TX RX GND UART VDD RX TX GND. During data transmission, the UART will send a START (low) signal first to synchronise with the receiver, after which it will begin to transfer data from the LSB until the entire byte has been transmitted. After this, it will send a STOP (high) signal to inform the receiver that the data transmission has finished. UART data transmission format: START Bit + Data Bits + STOP Bit, as shown below: AN0475E / January, 0

2 LSB MSB START Bit 0 Bit Bit Bit Bit 4 Bit 5 Bit 6 Bit 7 STOP. UART transmission speed: This is measured in the number of transmitting bits per second, with a unit of bit/sec, commonly known as baud rate or bit rate. The common baud rates are 400, 9600, 900 and 400 in bit/sec, which can convert to a bit transmission time as shown in the following table: Baud Rate Bit Transmission Time (µs) Operating Principle When the UART is waiting for data to be received or transmitted, the RX and TX pins will remain at a high level. When data reception or transmission begins, these pins are pulled low for a period of bit, which is used to synchronise with each other as a START bit. After this the data transmission will start from bit 0. After the completion of an entire data transmission, the RX and TX pins will go high. Therefore, when the I/O emulated UART function is used, the RX pin function should be emulated using an external interrupt pin. This will start to receive data as a falling edge incoming signal. The TX pin function can be emulated using general I/O pins. However, the RX pin function can use general I/O pins for their emulation for baud rate detection. I/O Emulated TX Data Transmission Steps. When preparing to transmit, TX is at a high level.. When data transmission begins, TX will be pulled low for a period of bit. (START Bit). The data is transferred in sequence, with the least significant bit (Bit 0) first, followed by Bit, Bit, Bit, Bit 4, Bit 5, Bit 6 and Bit After the data transmission has completed, TX will be pulled high for a period of bit. (STOP Bit) 5. Then the following data can be transferred. Waiting or receiving data bits LSB MSB START Bit 0 Bit Bit Bit Bit 4 Bit 5 Bit 6 Bit 7 STOP AN0475E / January, 0

3 I/O Emulated RX Data Reception Steps. When preparing to receive, RX is at a high level.. When the RX receives a falling edge signal, it begins to count for about a 0.4 bit transmission time to determine whether the signal is low. If it is, increase the ZERO count by, otherwise increase the ONE count by. After three consecutive decisions, check whether the ZERO count is greater than or equal to. If it is, indicate that this signal refers to the correct data, otherwise to other signals.. If the correct data has been confirmed, the data will be received in sequence after a bit transmission time delay, with the least significant bit (Bit 0) first, followed by Bit, Bit, Bit, Bit 4, Bit 5, Bit 6 and Bit 7. A certain delay time, which includes about 0.5~0.6 bit time at the beginning and a bit time at the end, is allowed for to capture data at the center and to avoid fetching data before the present data or after. 4. After the data reception has completed, RX will be pulled high. 5. After this the following data is ready to be received. Waiting or receiving data bits LSB MSB START Bit 0 Bit Bit Bit Bit 4 Bit 5 Bit 6 Bit 7 STOP RX Receiving Baud Rate Steps Method. When preparing to receive, RX is at a high level.. When RX receives a low signal, start counting and record the count as COUNT.. When RX receives a high signal, stop counting. 4. After the data reception has completed, calculate the data transmission or reception time using this counting value. Note: a. This method has to ensure that Bit 0 is high, so that the received data is correct. b. The counting loop is a group of four instructions. COUNT START Bit 0 Bit Bit Bit Bit 4 Bit 5 Bit 6 Bit 7 STOP AN0475E / January, 0

4 Method. When preparing to receive, RX is at a high level.. When RX receives a low signal, which stands for an incoming START signal, prepare to start counting.. When RX receives a high signal, start counting and record the count as COUNT0. 4. When RX receives a low signal, start counting and record the count as COUNT. 5. When RX receives a high signal, start counting and record the count as COUNT. 6. When RX receives a low signal, start counting and record the count as COUNT. 7. When RX receives a high signal, start counting and record the count as COUNT4.. When RX receives a low signal, start counting and record the count as COUNT5. 9. When RX receives a high signal, start counting and record the count as COUNT6. 0. When RX receives a low signal, start counting and record the count as COUNT7.. When RX receives a high signal, stop counting.. After the data reception has completed, calculate the data transmission or reception time using the summation and average values of these counting values COUNT0~COUNT7. Note: a. This method must ensure that the data is 55H, so that the received data is correct. b. The counting loop is a group of four instructions. COUNT COUNT COUNT5 COUNT7 START Bit 0 Bit Bit Bit Bit 4 Bit 5 Bit 6 Bit 7 STOP COUNT0 COUNT COUNT4 COUNT6 Method Use the Time Base or the TM to count the bit transmission time, and calculate the data transmission or reception time. Note: The following sample program takes Method as an example. Other methods are not further explained and demonstrated here. AN0475E 4 / January, 0

5 Hardware Description The MCU VDD and GND pins are connected to the MCU VDD and GND pins. The MCU PB5 and PA4 pins, known as the TX and RX pin functions, are connected to the MCU RX and TX pins. MCU VDD PB5 PA4/INT0 GND MCU VDD RX TX GND Software Description The MCU initial setups are shown in the table: Step Operation Content Register Setup Bits Functional Description Setup HIRC operating frequency Setup pins SCC SCC HIRCC HIRCC PAS PBS PAC PBC PAPU PBPU Setup WDT WDTC 4 Setup interrupts INTC0 INTC0 INTC0 INTEG CKS[:0] FHS HIRC[:0] HIRCEN PAS[:0] PBS[:] PAC4 PBC5 PAPU4 PBPU5 WE[4:0] WS[:0] INT0E INT0F EMI INT0S[:0] System clock selection: f H CKS[:0] = 000 High frequency clock selection: HIRC FHS = 0 HIRC frequency selection: MHz HIRC[:0] = 0 HIRC oscillator control: enable HIRCEN = PA4 pin-shared function selection: INT0/PA4 PAS[:0] = 00 PB5 pin-shared function selection: PB5 PBS[:] = 00 PA4 pin type control: input PAC4 = PB5 pin type control: output PBC5 = 0 PA4 pin pull-high resistor control: enable pull-high resistor PAPU4 = PB5 pin pull-high resistor control: enable pull-high resistor PBPU5 = WDT control: enable WE[4:0] = 000 WDT time-out period selection: /f LIRC WS[:0] = External interrupt 0 control: enable INT0E = External interrupt 0 request flag: 0 INT0F = 0 Global interrupt control: enable EMI = External interrupt 0 edge selection: falling edge INT0S[:0] = 0 AN0475E 5 / January, 0

6 The user defined registers are described below: Item Register Bit Number Functional description Note RX_DATA The received data RX_DATA_ITEMS The number of the received data TX_DATA The transmitted data 4 TX_DATA_ITEMS The number of the transmitted data 5 ONE The counting value of keeping "" for half cycle 6 ZERO The counting value of keeping "0" for half cycle 7 RX_FG Reception completion flag COUNT0 Bit 0 counting width 9 COUNT Bit counting width 0 COUNT Bit counting width COUNT Bit counting width COUNT4 Bit 4 counting width COUNT5 Bit 5 counting width 4 COUNT6 Bit 6 counting width 5 COUNT7 Bit 7 counting width 6 COUNT 6 7 BR_ONE_BIT One cycle width BR_HALF_BIT Half cycle width Points to consider: Summation and average of Bit 0 ~ Bit 7 in counting width COUNT_L COUNT_H. When using this program, special attention must be made to the system frequency and baud rate choices. In the software design only one user defined register is used to store the baud rate parameters and in the calculations the execution of one LOOP takes four instruction cycles. As a result, the maximum allowable instruction cycles are 00. Additionally, in the receiver and transmitter programs, 0 instructions are required, thus special care must be taken. The reference selections are as follows: System Frequency fsys System Period t SYS(µs) Instruction Cycle Time Instruction Cycle (µs)(4t) Available Instruction Cycles for Different Baud Rates 400 (46.67µs) 9600 (04.7µs) 900 (5.0µs) 400 (6.04µs) 500 (.6µs) M * 4* 4M * M * 6M ** Note: * is limited to 0 instruction cycles and thus cannot be used. ** is limited to 00 instruction cycles and thus cannot be used.. When receiving data, a low state bit, known as START, will first be received. However, there may be noise on the receiver input, so that this low signal is not a START bit. For this reason, it is necessary to make three decisions in the START bit reception process. If two or more ZEROs are detected, determine if this signal is correct, and continue to receive the subsequent signals. But if only one ZERO is detected, determine that the signal is incorrect and then stop reception. Then jump out and wait for the next signal. The diagram is shown below: () Correct Signals: AN0475E 6 / January, 0

7 () Error Signals: Flowchart Global Flowchart Step. Initialisation: Clear the RAM data, setup the system frequency and the Watchdog Timer, initialise the I/O and then go to Step. Step. Read the data width and then go to Step. Step. Calculate the baud rate and then go to Step 4. Step 4. Setup the external interrupt 0 enable control bit and the global interrupt enable control bit, then go to Step 5. Step 5. Setup the UART related parameters and go to Step 6. Step 6. Determine whether the RX_FG is set high. If yes, then go to Step 7. If no, then go to Step 6. Step 7. Send back the received data as well as additional data of 0xAA, then go to Step 6. INT0 ISR: When a falling edge on the INT0 pin occurs, determine whether the received START bit is correct. If it is, start to receive the data, store the data into RX_DATA and set RX_FG high. Otherwise, jump out from the interrupt. AN0475E 7 / January, 0

8 START INT0 ISR INIT RAM Read data from RX INIT SYSTEM RET INIT IO Measure_BR Calaulate_BR INIT INT INIT UART MAIN Read Data Width Flowchart Step. Determine whether the UART_RX_PIN is "". If yes, indicate that the UART_RX_PIN is ready and then go to Step. If no, indicate that the UART_RX_PIN is not ready and then repeat Step. Step. Determine whether the UART_RX_PIN is "0". If yes, indicate that the UART_RX_PIN is ready and then go to Step. If no, then repeat Step. Step. Determine whether the UART_RX_PIN is "". If yes, then go to Step 4. If no, indicate that the START bit has not transmitted completely and then repeat Step. Step 4. Increase COUNT0 by and then go to Step 5. Step 5. Determine whether the UART_RX_PIN is "0". If yes, then go to Step 6. If no, indicate that Bit 0 has not transmitted completely and then go to Step 4. Step 6. Increase COUNT by and then go to Step 7. Step 7. Determine whether the UART_RX_PIN is "". If yes, then go to Step. If no, indicate that Bit has not transmitted completely and then go to Step 6. Step. Increase COUNT by and then go to Step 9. AN0475E / January, 0

9 Step 9. Determine whether the UART_RX_PIN is "0". If yes, then go to Step 0. If no, indicate that Bit has not transmitted completely and then go to Step. Step 0. Increase COUNT by and then go to Step. Step. Determine whether the UART_RX_PIN is "". If yes, then go to Step. If no, indicate that Bit has not transmitted completely and then go to Step 0. Step. Increase COUNT4 by and then go to Step. Step. Determine whether the UART_RX_PIN is "0". If yes, then go to Step 4. If no, indicate that Bit 4 has not transmitted completely and then go to Step. Step 4. Increase COUNT5 by and then go to Step 5. Step 5. Determine whether the UART_RX_PIN is "". If yes, then go to Step 6. If no, indicate that Bit 5 has not transmitted completely and then go to Step 4. Step 6. Increase COUNT6 by and then go to Step 7. Step 7. Determine whether the UART_RX_PIN is "0". If yes, then go to Step. If no, indicate that Bit 6 has not transmitted completely and then go to Step 6. Step. Increase COUNT7 by and then go to Step 9. Step 9. Determine whether the UART_RX_PIN is "". If yes, then go to Step 0. If no, indicate that Bit 7 has not transmitted completely and then go to Step. Step 0. Return to the main program. AN0475E 9 / January, 0

10 Measure_BR COUNT = COUNT + UART_RX_PIN = =? UART_RX_PIN = =? UART_RX_PIN = = 0? COUNT4 = COUNT4 + UART_RX_PIN = =? UART_RX_PIN = = 0? COUNT5 = COUNT5 + COUNT0 = COUNT0 + UART_RX_PIN = = 0? UART_RX_PIN = =? COUNT6 = COUNT6 + COUNT = COUNT + UART_RX_PIN = =? UART_RX_PIN = = 0? COUNT7 = COUNT7 + COUNT = COUNT + UART_RX_PIN = = 0? UART_RX_PIN = =? RET AN0475E 0 / January, 0

11 Calculate Baud Rate Flowchart Step. Add up all the COUNT0 ~ COUNT7, store the result in COUNT, and then go to Step. Step. Average the COUNT, store the result in COUNT, and then go to Step. Step. Subtract 5 from the COUNT, store the result in BR_ONE_BIT, and then go to Step 4. Step 4. Subtract from the COUNT and divide by, store the result in BR_HALF_BIT, and then go to Step 5. Step 5. Return to the main program. Note:. During data transmission or reception, 0 instruction cycles are required, and in turn the conversion time is 5. Therefore, the BR_ONE_BIT value will be correct when 5 is subtracted from COUNT.. During a half cycle, three decisions will made to determine whether the START bit is correct. This will take instruction cycles, and in turn the conversion time is. Therefore, the BR_HALF_BIT value will be correct when is subtracted from COUNT. Calaulate_BR COUNT = COUNT0 + COUNT + COUNT + COUNT + COUNT4 + COUNT5 + COUNT6 + COUNT7 COUNT = COUNT / BR_ONE_BIT = COUNT - 05H BR_HALF_BIT =( COUNT - 0H) / RET AN0475E / January, 0

12 Conclusion This application note has mainly introduced how to calibrate the baud rate to ensure correct data transmission when using I/O to emulate the UART function. When UART data transmission begins, the signal will first be pulled low as a START signal and thus used as the data transmission width. However, problems will occur if the detection of the LSB is not high. Therefore, two methods are provided to compensate, one is to set the LSB high; the other is to set the data bits to 55H. Both of these have advantages and disadvantages. The first method will create a large error. The second method has a smaller error due to the detection of eight data bits, but because there is no fixed baud rate, the other communicating party must first send data to settle its transmission speed when in use. References Reference document: HT66F45x0 Data Sheet. For more information, refer to the Holtek s official website: Versions and Modification Information Date Author Issue Release and Modification 陳淑娟 (Chen, Shu-Juan) First Version Disclaimer All information, trademarks, logos, graphics, videos, audio clips, links and other items appearing on this website ('Information') are for reference only and is subject to change at any time without prior notice and at the discretion of Holtek Semiconductor Inc. (hereinafter 'Holtek', 'the company', 'us', 'we' or 'our'). Whilst Holtek endeavors to ensure the accuracy of the Information on this website, no express or implied warranty is given by Holtek to the accuracy of the Information. Holtek shall bear no responsibility for any incorrectness or leakage. Holtek shall not be liable for any damages (including but not limited to computer virus, system problems or data loss) whatsoever arising in using or in connection with the use of this website by any party. There may be links in this area, which allow you to visit the websites of other companies. These websites are not controlled by Holtek. Holtek will bear no responsibility and no guarantee to whatsoever Information displayed at such sites. Hyperlinks to other websites are at your own risk. AN0475E / January, 0

13 Limitation of Liability In any case, the Company has no need to take responsibility for any loss or damage caused when anyone visits the website directly or indirectly and uses the contents, information or service on the website. Governing Law This disclaimer is subjected to the laws of the Republic of China and under the jurisdiction of the Court of the Republic of China. Update of Disclaimer Holtek reserves the right to update the Disclaimer at any time with or without prior notice, all changes are effective immediately upon posting to the website. AN0475E / January, 0

BCM-32F7611-G01 Development Kit Application Note

BCM-32F7611-G01 Development Kit Application Note BCM-32F7611-G01 Development Kit Application Note D/N: AN0479E Introduction This application note is provided to assist users to develop the BCM-32F7611-G01 quickly. The following content will introduce

More information

HT66FB574 Single Colour Independent Light Streamer USB Keyboard Application Note

HT66FB574 Single Colour Independent Light Streamer USB Keyboard Application Note HT66FB574 Single Colour Independent Light Streamer D/: A0490E Introduction The video gaming industry is seeing continual increasing demand for multi-feature keyboards. These can include features such as

More information

HT66F43x0 Smart Card Reader MCU Integrated ISO Application Guidelines

HT66F43x0 Smart Card Reader MCU Integrated ISO Application Guidelines HT66F43x0 Smart Card Reader MCU Integrated ISO7816-3 Application Guidelines D/N: AN0447E Introduction The Holtek 8-bit Smart Card Reader Flash MCUs, the HT66F43x0 device series, include an ISO7816-3 smart

More information

Using the Library to jump from the User Code to the Bootloader Code in the HT66FB5x0 and HT68FB5x0

Using the Library to jump from the User Code to the Bootloader Code in the HT66FB5x0 and HT68FB5x0 Using the Library to jump from the User Code to the Bootloader Code in the HT66FB5x0 and HT68FB5x0 D/N : AN0322E Introduction Holtek s USB Flash MCU series devices, the HT66FB5x0 and HT68FB5x0, include

More information

Asynchronous Transmission. Asynchronous Serial Communications & UARTS

Asynchronous Transmission. Asynchronous Serial Communications & UARTS Asynchronous Transmission Asynchronous Serial Communications & UARTS 55:036 Embedded Systems and Systems Software asynchronous: transmitter and receiver do not share a common clock or explicitly coordinate

More information

Accessing Different Banks of Data Memory Using Extended Instructions

Accessing Different Banks of Data Memory Using Extended Instructions HT8 MCU Extended Instruction Set Applications D/N: AN0407E Introduction The Holtek Flash MCU extended instruction set is used to address the full data memory area. The extended instructions can directly

More information

AN2781 Application note

AN2781 Application note Application note UART emulation software in STM8S and STM8A microcontrollers Introduction This application note describes how to emulate the UART behavior and functionality using routines in STM8S microcontrollers.

More information

HT8 UL60730 Safety Library -- Program Counter Register Test

HT8 UL60730 Safety Library -- Program Counter Register Test HT8 UL60730 Safety Library -- Program Counter Register Test D/N: AN0385E Introduction In general, the UL/CSA 60730 safety standard applies to automatic electrical controls for use in, on, or in association

More information

Using the HT16K33 in DVD Player Panel Applications

Using the HT16K33 in DVD Player Panel Applications Using the HT16K33 in DVD Player Panel Applications D/N:AN0363E Introduction The HT16K33 is a memory mapping and multi-function LED controller driver. The maximum display capacity in the device is 128 dots

More information

AN10955 Full-duplex software UART for LPC111x and LPC13xx

AN10955 Full-duplex software UART for LPC111x and LPC13xx Rev. 1 13 July 2010 Application note Document information Info Content Keywords LPC111X, LPC13XX, UART, software Abstract This application note illustrates how software running on an LPC111X or LPC13XX

More information

AN4113 Application note

AN4113 Application note Application note Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32F05x USART Introduction RS-485 and IO-Link are half-duplex communication protocols that offer easy

More information

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx. User manual Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx Introduction This document describes how to use the demonstration firmware for the DMX-512

More information

Using the HT16C2x I 2 C Interface for LCD Driving and Control

Using the HT16C2x I 2 C Interface for LCD Driving and Control Using the HT16C2x I 2 C Interface for LCD Driving and Control D/N:AN0280E Introduction The Holtek HT16C2x is a series of I 2 C interface, RAM mapping LCD drivers. They include the HT16C22/HT16C22G, HT16C23/HT16C23G,

More information

MCS-51 Serial Port A T 8 9 C 5 2 1

MCS-51 Serial Port A T 8 9 C 5 2 1 MCS-51 Serial Port AT89C52 1 Introduction to Serial Communications Serial vs. Parallel transfer of data Simplex, Duplex and half-duplex modes Synchronous, Asynchronous UART Universal Asynchronous Receiver/Transmitter.

More information

HT16D35A Single Colour Matrix LED Display Application Example

HT16D35A Single Colour Matrix LED Display Application Example HT6DA Single Colour Matrix LED Display Application Example D/N: AN0E Introduction The Holtek HT6DA is an LED driver IC which includes an integrated display data memory. It communicates with MCUs via a

More information

Application Note. Binary Parity Generator and Checker AN-CM-242

Application Note. Binary Parity Generator and Checker AN-CM-242 Application Note Binary Parity Generator and Checker AN-CM-242 Abstract This app note implements a with two data input variants, a parallel data input and a serial data input. It describes the implemented

More information

Basics of UART Communication

Basics of UART Communication Basics of UART Communication From: Circuit Basics UART stands for Universal Asynchronous Receiver/Transmitter. It s not a communication protocol like SPI and I2C, but a physical circuit in a microcontroller,

More information

A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter.

A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter. a MicroConverter, Multi-Channel 12-bit ADC with Embedded FLASH MCU ADuC812 A. This Errata sheet represents the known bugs, anomalies and work-arounds for the ADuC812 MicroConverter. B. The Errata listed,

More information

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and

More information

Emulating an asynchronous serial interface (ASC0) via software routines

Emulating an asynchronous serial interface (ASC0) via software routines Microcontrollers ApNote AP165001 or æ additional file AP165001.EXE available Emulating an asynchronous serial interface (ASC0) via software routines Abstract: The solution presented in this paper and in

More information

AP16050 SAB C161V/K/O. Emulating an asynchronous serial interface (ASC) via software routines. Microcontrollers. Application Note, V 1.0, Feb.

AP16050 SAB C161V/K/O. Emulating an asynchronous serial interface (ASC) via software routines. Microcontrollers. Application Note, V 1.0, Feb. Application Note, V 1.0, Feb. 2004 SAB C161V/K/O Emulating an asynchronous serial interface (ASC) via software routines. AP16050 Microcontrollers Never stop thinking. TriCore Revision History: 2004-02

More information

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of this interface, which is widely used for serial communications.

More information

AN2430 Application note

AN2430 Application note Application note STR75x SystemMemory boot mode Introduction te: This application note describes the features of the SystemMemory boot mode developed for STR75x Flash microcontrollers providing all the

More information

M3H Group(2) Application Note Asynchronous Serial Communication Circuit (UART-C)

M3H Group(2) Application Note Asynchronous Serial Communication Circuit (UART-C) M3H Group(2) Asynchronous Serial Communication Circuit (UART-C) Outlines This application note is a erence material for developing products using the asynchronous serial communication circuit (UART) function

More information

AN-1435 APPLICATION NOTE

AN-1435 APPLICATION NOTE APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com Implementing UART Using the ADuCM3027/ADuCM3029 Serial Ports INTRODUCTION

More information

AN5123 Application note

AN5123 Application note Application note STSPIN32F0A - bootloader and USART protocol Introduction Cristiana Scaramel The STSPIN32F0A is a system-in-package providing an integrated solution suitable for driving three-phase BLDC

More information

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA CE97091- PSoC 4: Time-Stamped ADC Data Transfer Using DMA Objective This code example uses a DMA channel with two descriptors to implement a time-stamped ADC data transfer. It uses the Watch Dog Timer

More information

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n October 2012 Reference Design RD1138 Introduction The Universal Asynchronous Receiver/Transmitter (UART) performs serial-to-parallel conversion on data characters received from a peripheral device or a

More information

8051 Serial Communication

8051 Serial Communication 8051 Serial Communication Basics of serial communication Parallel: transfers eight bits of data simultaneously over eight data lines expensive - short distance fast Serial : one bit at a time is transferred

More information

Software Serial Port Implemented with the PCA

Software Serial Port Implemented with the PCA APPLICATION BRIEF Software Serial Port Implemented with the PCA BETSY JONES ECO APPLICATIONS ENGINEER August 1988 Order Number 270531-002 Information in this document is provided in connection with Intel

More information

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B ZMD400-A01 ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE 802.15.4 Standard DATA SHEET Version B Quan International Co., Ltd., ZMD400 Features Fully compliant 802.15.4 Standard

More information

HT48R30A-1/HT48C30-1 I/O Type 8-Bit MCU

HT48R30A-1/HT48C30-1 I/O Type 8-Bit MCU I/O Type 8-Bit MCU Features Operating voltage: f SYS =4MHz: 2.2V~5.5V f SYS =8MHz: 3.3V~5.5V Low voltage reset function 25 bidirectional I/O lines (max.) interrupt input shared with an I/O line 8-bit programmable

More information

HT48 & HT46 MCU UART Software Implementation Method

HT48 & HT46 MCU UART Software Implementation Method HT48 & HT46 MCU UART Software Implementation Method HT48 & HT46 MCU UART Software Implementation Method D/NHA0004E Introduction With low power consumption and high performance, Holtek s 8-bit microcontrollers

More information

UART Implementation Using the N2HET

UART Implementation Using the N2HET Application Report Lit. umber Month ear UART Implementation Using the 2HET Haixiao Weng MCU Safety Application ABSTRACT This application report describes how the Hercules 2HET peripheral can be used to

More information

Using the MPC5777M MCAN Module to Exchange CAN FD Messages

Using the MPC5777M MCAN Module to Exchange CAN FD Messages Freescale Semiconductor Document Number: AN5045 Application Note Rev. 0, 11/2014 Using the MPC5777M MCAN Module to Exchange CAN FD Messages by: Graham Rice 1 Introduction A CAN network (Controller Area

More information

RFID Reader Board 13.56MHz RFID Transceiver MLX90132

RFID Reader Board 13.56MHz RFID Transceiver MLX90132 Table of Contents 1. General Description... 2 1.1 Connector X1 (SPI/ UART Communication)... 2 2. MLX90132 Pin Definitions & Descriptions... 3 2.1 MLX90132 simplified Block Diagram... 3 3. RFID90132 Circuit

More information

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers Application Note, V1.0, Jul. 2006 AP16095 XC16x Interfacing the XC16x Microcontroller to a Serial SPI EEPROM Microcontrollers Edition 2006-07-10 Published by Infineon Technologies AG 81726 München, Germany

More information

HT8 UL60730 Safety Library -- Frequency Monitoring Via External LXT Clock Source Frequency

HT8 UL60730 Safety Library -- Frequency Monitoring Via External LXT Clock Source Frequency HT8 UL60730 Safety Library -- Frequency Monitoring Via External LXT Clock Source Frequency D/N: AN0382E Introduction In general, the UL/CSA 60730 safety standard applies to automatic electrical controls

More information

Small Package 8-Bit OTP MCU HT48R005/HT46R005

Small Package 8-Bit OTP MCU HT48R005/HT46R005 Small Package 8-Bit OTP MCU HT48R005/HT46R005 Revision: 1.00 November 29, 2011 Table of Contents Features...5 CPU Features...5 Peripheral Features...5 General...5 Selection Table...6 Block Diagram...6

More information

SH69P21 EVB. Application Note for SH69P21 EVB SH69P21 EVB SH69P21

SH69P21 EVB. Application Note for SH69P21 EVB SH69P21 EVB SH69P21 SH69P21 EVB Application Note for SH69P21 EVB The SH69P21 EVB is used to evaluate the SH69P21 chip's function for the development of application program. It contains of a SH69V21 chip to evaluate the functions

More information

FM0+ Family S6E1A1 Series, Flash Programming Guide

FM0+ Family S6E1A1 Series, Flash Programming Guide FM0+ Family S6E1A1 Series, Flash Programming Guide Doc. No. 002-05028 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com Copyrights Cypress Semiconductor Corporation,

More information

CoE3DJ4 Digital Systems Design. Chapter 5: Serial Port Operation

CoE3DJ4 Digital Systems Design. Chapter 5: Serial Port Operation CoE3DJ4 Digital Systems Design Chapter 5: Serial Port Operation Serial port 8051 includes an on-chip serial port Hardware access to the port is through TXD and RXD (Port 3 bits 1 and 0) Serial port is

More information

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Data Brief Features Enhanced 8-bit CPU with extended addressing modes 112 KBytes user ROM with partitioning 2 KBytes user RAM with partitioning

More information

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features of this USART interface, which is widely used for serial

More information

ONE PHASE POWER METER (RN8209) SOLUTION

ONE PHASE POWER METER (RN8209) SOLUTION Fujitsu Semiconductor Design (Chengdu) Co., Ltd. Application Note MCU-AN-500110-E-10 F²MC-8FX FAMILY 8-BIT MICROCONTROLLER MB95410H/470H SERIES ONE PHASE POWER METER (RN8209) SOLUTION AMR OPERATION APPLICATION

More information

SH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5)

SH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5) SH69P48A EVB Application Notes for SH69P48A EVB The SH69P48A EVB is used to evaluate the SH69P48A chip's function for the development of application program. It contains of a SH69V48A chip to evaluate

More information

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE AVR 8-bit Microcontrollers AVR134: Real Time Clock (RTC) Using the Asynchronous Timer APPLICATION NOTE Features Real Time Clock with Very Low Power Consumption (10µA @ 3.3V) Very Low Cost Solution Adjustable

More information

Mask Set Errata for Mask 5L35K

Mask Set Errata for Mask 5L35K Freescale Semiconductor MSE908GR16_5L35K Mask Set Errata Rev. 2, 12/2010 Mask Set Errata for Mask 5L35K Introduction This report applies to mask 5L35K for these products: MC68HC908GR16 The mask set is

More information

Using the HT66FB5x0 for 2D Joystick Applications C Language Example

Using the HT66FB5x0 for 2D Joystick Applications C Language Example Using the HT66FB5x0 for D Joystick Applications C Language Example D/N : AN0E Introduction The HT66FB5x0 series of devices are 8-bit A/D type Flash MCUs with a USB interface. This application note provides

More information

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers APPLICATION NOTE How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers SABRINA D QUARLES APPLICATIONS ENGINEER April 1993 Order Number 272319-001 Information in this document

More information

HP 48 I/O Technical Interfacing Guide

HP 48 I/O Technical Interfacing Guide HP 48 I/O Technical Interfacing Guide HP 48 I/0 Technical Interfacing Guide CONTENTS INTRODUCTION... 3 WIRED SERIAL I/O HARDWARE... 3 CABLE WIRING... 3 SERIAL FORMAT... 5 Example: an 'H' (48 hex)... 5

More information

HT45R0072 I/O 8-Bit MCU with USB Interface

HT45R0072 I/O 8-Bit MCU with USB Interface I/O 8-Bit MCU with USB Interface Features Operating voltage: f SYS =6M/2MHz: 3.6V~5.5V (VBUS) Low voltage reset function 34 bidirectional I/O lines (max.) 8-bit programmable timer/event counter with overflow

More information

AN2792 Application note

AN2792 Application note Application note STM8A easy programmer 1 Introduction This application note describes the easy programmer which is a low cost solution allowing the content of the STM8A Flash program memory to be updated

More information

8051 Timers and Serial Port

8051 Timers and Serial Port 8051 Timers and Serial Port EE4380 Fall 2001 Class 10 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas Timer: Mode 1 Operation (recap) 16 bit counter. Load the

More information

Enhanced Flash MCU with EEPROM HT66F016/HT66F017 HT68F016/HT68F017 HT66F016R/HT66F017R HT68F016R/HT68F017R

Enhanced Flash MCU with EEPROM HT66F016/HT66F017 HT68F016/HT68F017 HT66F016R/HT66F017R HT68F016R/HT68F017R Enhanced Flash MCU with EEPROM HT66F016/HT66F017 HT68F016/HT68F017 HT66F016R/HT66F017R HT68F016R/HT68F017R Revision: 1.40 Date: November 22, 2016 Table of Contents General Description...7 Features...7

More information

Hardware UART for the TMS320C3x

Hardware UART for the TMS320C3x TMS320 DSP DESIGNER S NOTEBOOK Hardware UART for the TMS320C3x APPLICATION BRIEF: SPRA223 Contributed by Lawrence Wong Digital Signal Processing Products Semiconductor Group Texas Instruments June 1993

More information

SCI Driver for the MC9S08GW64

SCI Driver for the MC9S08GW64 Freescale Semiconductor Application Note Document Number: AN4161 Rev. 0,8/2010 SCI Driver for the MC9S08GW64 by: Tanya Malik Reference Design and Applications Group Noida India 1 Introduction This document

More information

A/D Type 8-Bit OTP MCU HT45R2W

A/D Type 8-Bit OTP MCU HT45R2W HT45R2W Revision: 1.00 Date: February 08, 2012 Table of Contents Features... 5 CPU Features... 5 Peripheral Feature... 5 General... 6 Block Diagram... 6 Pin Assignment... 6 Pin... 7 Absolute Maximum Ratings...

More information

e-link Emulation/Programming Adapter Cable (ESTD-206) User s Guide

e-link Emulation/Programming Adapter Cable (ESTD-206) User s Guide Cable (ESTD-206) User s Guide Revision: V1.00 Date: December 12, 2018 Table of Contents e-link Emulation/Programming Adapter Cable (ESTD-206) Introduction... 3 For the e-link On-Chip Debug Function OCDS...

More information

Serial Interfacing. Asynchronous Frame

Serial Interfacing. Asynchronous Frame Serial Interfacing Serial Data Transfer used by keyboards, plotters, modems and other peripherals with low data transfer rates (low bandwidth) 2 Types: Asynchronous CPU and device are not using a common

More information

White Paper Using the MAX II altufm Megafunction I 2 C Interface

White Paper Using the MAX II altufm Megafunction I 2 C Interface White Paper Using the MAX II altufm Megafunction I 2 C Interface Introduction Inter-Integrated Circuit (I 2 C) is a bidirectional two-wire interface protocol, requiring only two bus lines; a serial data/address

More information

STA bit single chip baseband controller for GPS and telematic applications. Features

STA bit single chip baseband controller for GPS and telematic applications. Features 32-bit single chip baseband controller for GPS and telematic applications Data Brief Features Suitable for automotive applications ARM7TDMI 16/32 bit RISC CPU based host microcontroller. Complete embedded

More information

AN Entering ISP mode from user code. Document information. ARM ISP, bootloader

AN Entering ISP mode from user code. Document information. ARM ISP, bootloader Rev. 03 13 September 2006 Application note Document information Info Keywords Abstract Content ARM ISP, bootloader Entering ISP mode is normally done by sampling a pin during reset. This application note

More information

AN3154 Application note

AN3154 Application note Application note CAN protocol used in the STM32 bootloader Introduction This application note describes the CAN protocol used in the STM32 microcontroller bootloader. It details each supported command.

More information

1. Specifications Functions Used Operation Software Flowcharts Program Listing... 13

1. Specifications Functions Used Operation Software Flowcharts Program Listing... 13 APPLICATION NOTE SH7145F 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

More information

HT48R05A-1/HT48C05/ HT48R06A-1/HT48C06/HT48R08A-1 Cost-Effective I/O Type 8-Bit MCU

HT48R05A-1/HT48C05/ HT48R06A-1/HT48C06/HT48R08A-1 Cost-Effective I/O Type 8-Bit MCU HT48R5A-/HT48C5/ HT48R6A-/HT48C6/HT48R8A- Cost-Effective I/O Type 8-Bit MCU Technical Document Tools Information FAQs Application Note HA3E Communicating between the HT48 & HT46 Series MCUs and the HT93LC46

More information

Using the HT48R008 to Control a Bidirectional LED Array and Touch Keys

Using the HT48R008 to Control a Bidirectional LED Array and Touch Keys Using the HT48R008 to Control a Bidirectional LED Array and Touch Keys D/N: AN0397E Introduction The HT48R008 is an 8-bit high performance enhanced RISC architecture MCU which has the advantages of low

More information

Using the Asynchronous DMA features of the Kinetis L Series

Using the Asynchronous DMA features of the Kinetis L Series Freescale Semiconductor Document Number:AN4631 Application Note Rev. 0, 12/2012 Using the Asynchronous DMA features of the Kinetis L Series by: Chris Brown 1 Introduction The power consumption of devices

More information

F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document

F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document F2MC MB90385 series Evaluation Board Documentation Revision Date Comment V1.0 08.25.02 New document 1 Warranty and Disclaimer To the maximum extent permitted by applicable law, Fujitsu Microelectronics

More information

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.

University of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I. University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 08 UART Communication Goals: Learn about UART Communication and the

More information

MOS INTEGRATED CIRCUIT

MOS INTEGRATED CIRCUIT DATA SHEET MOS INTEGRATED CIRCUIT µpd6708 IEBus (Inter Equipment Bus ) PROTOCOL CONTROL LSI DESCRIPTION The µpd6708 is a peripheral LSI for microcontrollers that controls the protocol of the IEBus. This

More information

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series Freescale Semiconductor Document Number: AN4590 Application Note Rev 0, 9/2012 Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series by: Lukas Vaculik Rožnov pod Radhoštem Czech Republic 1 Introduction

More information

AN2442 Application note

AN2442 Application note Application note Using the STR91xFA DMA controller Introduction This application note provides information on how to use and take full advantage of the STR91xFA DMA controller. It is intended for anyone

More information

Nios Embedded Processor UART Peripheral

Nios Embedded Processor UART Peripheral Nios Embedded Processor UART Peripheral March 2001, ver. 1.1 Data Sheet General Description The Nios universal asynchronous receiver/transmitter UART implements simple RS-232 asynchronous transmit and

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

HT46R53A/HT46R54A A/D Type 8-Bit OTP MCU

HT46R53A/HT46R54A A/D Type 8-Bit OTP MCU A/D Type 8-Bit OTP MCU Features Low-power fully static CMOS design Operating voltage: f SYS =4MHz: 2.2V~5.5V f SYS =8MHz: 3.3V~5.5V Program Memory: 2K5 OTP (HT46R53A) 4K5 OTP (HT46R54A) Data memory: 928

More information

APPLICATION NOTE. How to Securely Switch Atmel s LIN Transceiver ATA6662/ATA6662C to Sleep Mode ATA6662/ATA6662C. Concerning Atmel ATA6662

APPLICATION NOTE. How to Securely Switch Atmel s LIN Transceiver ATA6662/ATA6662C to Sleep Mode ATA6662/ATA6662C. Concerning Atmel ATA6662 APPLICATION NOTE How to Securely Switch Atmel s LIN Transceiver ATA6662/ATA6662C to Sleep Mode ATA6662/ATA6662C Concerning Atmel ATA6662 The goal of this document is to describe how to switch the Atmel

More information

Emulating I2C Bus Master by using FlexIO

Emulating I2C Bus Master by using FlexIO Freescale Semiconductor, Inc. Document Number: AN5133 Application Notes Rev. 0, 06/2015 Emulating I2C Bus Master by using FlexIO 1. Introduction This application note lists the steps to use the FlexIO

More information

Data Communication/MIDI. Juan P Bello

Data Communication/MIDI. Juan P Bello Data Communication/MIDI Juan P Bello MIDI The Musical Instrument Digital Interface (MIDI) is a standard for communication between electronic musical instruments, which has also been applied to a larger

More information

Pin Assignment 2 ) # 2 ) % 2 ) $ 2 )! 2 ) 6 2 ) 2 )! " 4 # $ % /, & ' ' & % $ # "! 2 ) " : /, * ) 6 8,, * $ * 2 ) # 2 ) %

Pin Assignment 2 ) # 2 ) % 2 ) $ 2 )! 2 ) 6 2 ) 2 )!  4 # $ % /, & ' ' & % $ # ! 2 )  : /, * ) 6 8,, * $ * 2 ) # 2 ) % RF One Channel Mouse 8-bit OTP MCU Technical Document Tools Information FAQs Application Note HA0075E MCU Reset and Oscillator Circuits Application Note Features Operating voltage: f SYS = 27MHz: 2.0V~3.3V

More information

Emulating Dual SPI Using FlexIO

Emulating Dual SPI Using FlexIO Freescale Semiconductor, Inc. Document Number: AN5242 Application Note Rev. 0, 01/2016 Emulating Dual SPI Using FlexIO 1. Introduction This application note discusses one example of how to use FlexIO module

More information

AN Philips LPC2000 CAN driver. Document information

AN Philips LPC2000 CAN driver. Document information Rev. 01 02 March 2006 Application note Document information Info Keywords Abstract Content CAN BUS, MCU, LPC2000, ARM7, SJA1000 This application note describes the CAN controller hardware application programming

More information

One 32-bit counter that can be free running or generate periodic interrupts

One 32-bit counter that can be free running or generate periodic interrupts PSoC Creator Component Datasheet Multi-Counter Watchdog (MCWDT_PDL) 1.0 Features Configures up to three counters in a multi-counter watchdog (MCWDT) block Two 16-bit counters that can be free running,

More information

HT48F70E I/O Flash Type MCU with EEPROM

HT48F70E I/O Flash Type MCU with EEPROM I/O Flash Type MCU with EEPROM Features Operating voltage: f SYS =4MHz: 2.2V~5.5V f SYS =8MHz: 3.3V~5.5V f SYS =12MHz: 4.5V~5.5V Multi-programmable Flash Type Program Memory: 819216 EEPROM Data Memory:

More information

Section 16. Basic Sychronous Serial Port (BSSP)

Section 16. Basic Sychronous Serial Port (BSSP) M 16 Section 16. Basic Sychronous Serial Port (BSSP) BSSP HIGHLIGHTS This section of the manual contains the following major topics: 16.1 Introduction...16-2 16.2 Control Registers...16-3 16.3 SPI Mode...16-6

More information

Figure 1: TSSOP-24 ( Top View ) Figure 2: TQFN 4x4-24 ( Top View )

Figure 1: TSSOP-24 ( Top View ) Figure 2: TQFN 4x4-24 ( Top View ) 16-bit I2C-bus and SMBus I/O port with interrupt Features Operation power supply voltage from 2.3V to 5.5V 16-bit I/O pins which can be programmed as Input or Output 5V tolerant I/Os Polarity inversion

More information

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage Freescale Semiconductor Document Number: AN4495 Application Note Rev. 0, 3/2012 Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage by: Tomas Kulig Automotive and Industrial Solutions

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-391 Technical notes on using Analog Devices products and development tools Visit our Web resources http://www.analog.com/ee-notes and http://www.analog.com/processors or e-mail

More information

Multi-channel RGB LED Flash MCU HT45F0062

Multi-channel RGB LED Flash MCU HT45F0062 Revision: V1.00 Date: August 27, 2018 Table of Contents Features... 5 CPU Features...5 Peripheral Features...5 General Description... 6 Block Diagram... 6 Pin Assignment... 7 Pin Description... 7 Absolute

More information

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter C8051F38X DEVELOPMENT KIT USER S GUIDE 1. Kit Contents The C8051F38x Development Kit contains the following items: C8051F380 Target Board C8051Fxxx Development Kit Quick-start Guide Silicon Laboratories

More information

RFIC TX/RX Configuration

RFIC TX/RX Configuration RFIC TX/RX Configuration RFIC TX/RX Configuration 01/19/17 1 of 10 www.murata.com RXC101 Configuration When the RXC101 is configured in microcontroller mode, data can be received in three ways; directly

More information

However, if an event comes in when the new value is being written to the pulse accumulator counter, that event could be missed. One solution to this p

However, if an event comes in when the new value is being written to the pulse accumulator counter, that event could be missed. One solution to this p Engineering Bulletin 7/2003 HC11 and HC12 Families Pulse Accumulator By Darci Ernst Systems Engineering Austin, TX Introduction and Background Detailed Description The timer module is one of the peripherals

More information

Chapter 2. Overview of Architecture and Microcontroller-Resources

Chapter 2. Overview of Architecture and Microcontroller-Resources Chapter 2 Overview of Architecture and Microcontroller-Resources Lesson 4 Timers, Real Time Clock Interrupts and Watchdog Timer 2 Microcontroller-resources Port P1 Port P0 Port P2 PWM Timers Internal Program

More information

TMS320C5x Interrupt Response Time

TMS320C5x Interrupt Response Time TMS320 DSP DESIGNER S NOTEBOOK TMS320C5x Interrupt Response Time APPLICATION BRIEF: SPRA220 Jeff Beinart Digital Signal Processing Products Semiconductor Group Texas Instruments March 1993 IMPORTANT NOTICE

More information

AN Sleep programming for NXP bridge ICs. Document information

AN Sleep programming for NXP bridge ICs. Document information Rev. 01 5 January 2007 Application note Document information Info Keywords Abstract Content SC16IS750, Bridge IC, Sleep programming The sleep programming of NXP Bridge ICs such as SC16IS750 (I 2 C-bus/SPI

More information

EE 354 November 13, 2017 ARM UART Notes

EE 354 November 13, 2017 ARM UART Notes EE 354 November 13, 2017 ARM UART Notes For serial communications you should be familiar with the following terms: UART/USART Baud rate Synchronous/Asynchronous communication Half-Duplex/Full-Duplex The

More information

ED1021 I/O Expander with UART interface & analog inputs

ED1021 I/O Expander with UART interface & analog inputs Preliminary Highlights 2.7V 5V power supply range. 12 GPIOs. Up to 40mA maximum current in each output except GPIO8 (up to a total device current of 175mA). Most GPIOs can be an input to a 10bit ADC. Simple

More information

AP16051 SAB C161K/V/O. Emulating an asynchronous serial interface (ASC) via the on-chip synchronous serial interface (SSC) Microcontrollers

AP16051 SAB C161K/V/O. Emulating an asynchronous serial interface (ASC) via the on-chip synchronous serial interface (SSC) Microcontrollers Application Note, V 1.0, Feb. 2004 SAB C161K/V/O Emulating an asynchronous serial interface (ASC) via the on-chip synchronous serial interface (SSC). AP16051 Microcontrollers Never stop thinking. SAB C161K/V/O

More information

Concepts of Serial Communication

Concepts of Serial Communication Section 6. Serial Communication Communication Using Serial Interfaces: UART and SPI Concepts of Serial Communication Limitations of Parallel Bus Clock skew becomes a serious issue for high speed and long

More information

ECE251: Thursday November 8

ECE251: Thursday November 8 ECE251: Thursday November 8 Universal Asynchronous Receiver & Transmitter Text Chapter 22, Sections 22.1.1-22.1.4-read carefully TM4C Data Sheet Section 14-no need to read this A key topic but not a lab

More information