Dspic33/PIC24 Family Reference Manual, UART

Total Page:16

File Type:pdf, Size:1020Kb

Dspic33/PIC24 Family Reference Manual, UART Universal Asynchronous Receiver Transmitter (UART) HIGHLIGHTS This section of the manual contains the following major topics: 1.0 Introduction ....................................................................................................................... 2 2.0 Control Registers .............................................................................................................. 4 3.0 UART Baud Rate Generator ........................................................................................... 12 4.0 UART Configuration........................................................................................................ 14 5.0 UART Transmitter ........................................................................................................... 15 6.0 Data Bit Detection ...........................................................................................................20 7.0 UART Receiver ............................................................................................................... 21 8.0 Using the UART for 9-Bit Communication ...................................................................... 26 9.0 Other Features of the UART ........................................................................................... 29 10.0 UART Operation with DMA ............................................................................................. 31 11.0 UART Operation During CPU Sleep and Idle Modes ..................................................... 33 12.0 Operation of UxCTS and UxRTS Control Pins ............................................................... 35 13.0 Infrared Support .............................................................................................................. 37 14.0 LIN/J2602 Support .......................................................................................................... 40 15.0 Smart Card Support ........................................................................................................ 42 16.0 Registers Map................................................................................................................. 51 17.0 Related Application Notes............................................................................................... 52 18.0 Revision History .............................................................................................................. 53 2009-2013 Microchip Technology Inc. DS70000582E-page 1 dsPIC33/PIC24 Family Reference Manual Note: This family reference manual section is meant to serve as a complement to device data sheets. Depending on the device variant, this manual section may not apply to all dsPIC33 and PIC24 devices. Please consult the note at the beginning of the “Universal Asynchronous Receiver Transmitter (UART)” chapter in the current device data sheet to check whether this document supports the device you are using. Device data sheets and family reference manual sections are available for download from the Microchip worldwide web site at: http://www.microchip.com This document supersedes the following PIC24 and dsPIC Family Reference Manual sections: DS Number Section Number Title DS39708 21 UART: PIC24F Family Reference Manual DS70232 17 UART: PIC24H Family Reference Manual DS70582 17 UART: dsPIC33E/PIC24E Family Reference Manual DS70066 19, 34 UART: dsPIC30F Family Reference Manual DS70188 17 UART: dsPIC33F/PIC24H Family Reference Manual DS70582 17 UART: dsPIC33E/PIC24E Family Reference Manual 1.0 INTRODUCTION The Universal Asynchronous Receiver Transmitter (UART) module is one of the serial I/O modules available in the dsPIC33 and PIC24 device families. The UART is a full-duplex, asynchronous communication channel that communicates with peripheral devices and personal computers, using protocols such as RS-232, RS-485, LIN/J2602 and IrDA®. The module also supports the hardware flow control option with the UxCTS and UxRTS pins and includes the IrDA encoder and decoder. The primary features of the UART module are as follows: • Full-duplex, 8-bit or 9-bit data transmission through the UxTX and UxRX pins • Even, odd or no parity options (for 8-bit data) • One or two Stop bits • Hardware auto-baud feature • Hardware flow control option with the UxCTS and UxRTS pins (These pins are not available on all devices. Refer to the “Universal Asynchronous Receiver Transmitter (UART)” chapter of the specific device data sheet for availability.) • Fully integrated Baud Rate Generator (BRG) with 16-bit prescaler • Baud rates up to 17.5 Mbps • Four-deep First-In First-Out (FIFO) transmit data buffer • Four-deep FIFO receive data buffer • Parity, framing and buffer overrun error detection • Support for 9-bit mode with address detect (9th bit = 1) • Transmit and receive interrupts • Loopback mode for diagnostic support • IrDA encoder and decoder logic • LIN/J2602 bus support (v1.3 and 2.0) • 16x baud clock output for external IrDA encoder/decoder support • Optional ISO 7816 Smart Card support DS70000582E-page 2 2009-2013 Microchip Technology Inc. UART A simplified block diagram of the UART is illustrated in Figure 1-1. The UART module consists of the following key hardware elements: • Baud Rate Generator • Asynchronous Transmitter • Asynchronous Receiver Figure 1-1: UARTx Simplified Block Diagram Baud Rate Generator ISO 7816 Support IrDA® BCLKx UxRTS Hardware Flow Control UxCTS UARTx Receiver UxRX UARTx Transmitter UxTX 2009-2013 Microchip Technology Inc. DS70000582E-page 3 dsPIC33/PIC24 Family Reference Manual 2.0 CONTROL REGISTERS Note: Each dsPIC33/PIC24 family device variant may have one or more UART modules. An ‘x’ used in the names of pins, control/status bits and registers denotes the par- ticular UART module number. Refer to the “Universal Asynchronous Receiver Transmitter (UART)” chapter of the specific device data sheet for more details. This section outlines the specific functions of each register that controls the operation of the UART module: • UxMODE: UARTx Mode Register - Enables or disables the UART module - Enables or disables the IrDA encoder and decoder - Enables or disables the WAKE, ABAUD bits and Loopback features - Enables or disables the UxRTS and UxCTS pins - Configures the UxRTS pin for the desired mode of operation - Configures the polarity of the UxRX pin - Selects the type of baud rate - Selects the number of data bits, parity and Stop bits • UxSTA: UARTx Status and Control Register - Selects the Transmission Interrupt mode - Selects the Receive Interrupt mode - Enables or disables the UART transmission - Controls the Address Detect mode - Indicates various status conditions, such as transmit and receive buffer state, parity error, framing error and overflow error • UxADMD: UARTx Address Mask Detect Register - Stores address match and mask values • UxRXREG: UARTx Receive Register - Stores the received data • UxTXREG: UARTx Transmit Register (Write-Only) - Provides the data to be transmitted • UxBRG: UARTx Baud Rate Register - Stores the baud rate value of the transmitted or received data DS70000582E-page 4 2009-2013 Microchip Technology Inc. UART Register 2-1: UxMODE: UARTx Mode Register R/W-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 UARTEN(3) — USIDL IREN(1) RTSMD ALTIO(2) UEN1(2) UEN0(2) bit 15 bit 8 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 WAKE(4) LPBACK ABAUD(5) URXINV BRGH PDSEL1 PDSEL0 STSEL bit 7 bit 0 Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ -n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown bit 15 UARTEN: UARTx Enable bit(3) 1 = UARTx is enabled; UARTx pins are controlled by UARTx as defined by the UEN<1:0> and UTXEN control bits 0 = UARTx is disabled; UARTx pins are controlled by the corresponding PORTx, LATx and TRISx bits bit 14 Unimplemented: Read as ‘0’ bit 13 USIDL: UARTx Stop in Idle Mode bit 1 = Discontinues operation when the device enters Idle mode 0 = Continues operation in Idle mode bit 12 IREN: IrDA® Encoder and Decoder Enable bit(1) 1 = IrDA encoder and decoder are enabled 0 = IrDA encoder and decoder are disabled bit 11 RTSMD: Mode Selection for UxRTS Pin bit 1 = UxRTS is in Simplex mode 0 = UxRTS is in Flow Control mode bit 10 ALTIO: UARTx Alternate I/O Selection bit(2) 1 = UARTx communicates using UxATX and UxARX I/O pins 0 = UARTx communicates using UxTX and UxRX I/O pins bit 9-8 UEN<1:0>: UARTx Enable bits(2) 11 = UxTX, UxRX and BCLKx pins are enabled and used; UxCTS pin is controlled by port latches 10 = UxTX, UxRX, UxCTS and UxRTS pins are enabled and used 01 = UxTX, UxRX and UxRTS pins are enabled and used; UxCTS pin is controlled by port latches 00 = UxTX and UxRX pins are enabled and used; UxCTS, UxRTS and BCLKx pins are controlled by port latches bit 7 WAKE: Enable Wake-up on Start bit Detect During Sleep Mode bit(4) 1 = Wake-up is enabled 0 = Wake-up is disabled bit 6 LPBACK: UARTx Loopback Mode Select bit 1 = Enables Loopback mode 0 = Loopback mode is disabled Note 1: This feature is only available for Standard Speed mode (BRGH = 0). Refer to the “Universal Asynchronous Receiver Transmitter (UART)” chapter of the specific device data sheet for availability. 2: These features may not be available on all devices. Refer to the “Universal Asynchronous Receiver Transmitter (UART)” chapter of the specific device data sheet for availability. 3: Enable this bit before enabling the UTXEN bit (UxSTA<10>). 4: The UARTx module does not recognize the first character received on a wake. 5: The use of this feature may consume the corresponding
Recommended publications
  • An Open-Source Platform for Learning Embedded Systems Based on Algorithm Visualizations and Digital Signal Controllers
    electronics Article DSCBlocks: An Open-Source Platform for Learning Embedded Systems Based on Algorithm Visualizations and Digital Signal Controllers Jonathan Álvarez Ariza Department of Electronics Technology, Engineering Faculty, Corporación Universitaria Minuto de Dios (UNIMINUTO), 111021 Bogotá, Colombia; [email protected]; Tel.: +57-310-557-9255 Received: 17 January 2019; Accepted: 29 January 2019; Published: 18 February 2019 Abstract: DSCBlocks is an open-source platform in hardware and software developed in JavaFX, which is focused on learning embedded systems through Digital Signal Controllers (DSCs). These devices are employed in industrial and educational sectors due to their robustness, number of peripherals, processing speed, scalability and versatility. The platform uses graphical blocks designed in Google’s tool Blockly that can be used to build different Algorithm Visualizations (AVs). Afterwards, the algorithms are converted in real-time to C language, according to the specifications of the compiler for the DSCs (XC16) and they can be downloaded in one of the two models of development board for the dsPIC 33FJ128GP804 and dsPIC 33FJ128MC802. The main aim of the platform is to provide a flexible environment, drawing on the educational advantages of the AVs with different aspects concerning the embedded systems, such as declaration of variables and functions, configuration of ports and peripherals, handling of Real-Time Operating System (RTOS), interrupts, among others, that are employed in several fields such as robotics, control, instrumentation, etc. In addition, some experiments that were designed in the platform are presented in the manuscript. The educational methodology and the assessment provided by the students (n = 30) suggest that the platform is suitable and reliable to learn concepts relating to embedded systems.
    [Show full text]
  • Pickit 3 Programmer Application User's Guide
    PICkit™ 3 Programmer Application User’s Guide 2013 Microchip Technology Inc. DS50002158A Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, dsPIC, and may be superseded by updates. It is your responsibility to FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • Pickit 2 Programmer/Debugger Overview 1.1 Introduction
    PICkit™ 2 Programmer/Debugger User’s Guide © 2008 Microchip Technology Inc. DS51553E Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • COOLANT OIL CONTROL SYSTEM in VMC MACHINE ”Is the Bonafide Work Of
    COOLANT OIL CONTROL SYSTEM IN VMC MACHINE A PROJECT REPORT Submitted by RAJAGANAPATHY.S (13BEI111) GOWTHAMVEL.P (13BEI018) SANTHOSE PRABU.R (13BEI050) in partial fulfillment for the award of the degree of BACHELOR OF ENGINEERING in ELECTRONICS AND INSTRUMENTATION ENGINEERING KUMARAGURU COLLEGE OF TECHNOLOGY (An Autonomous Institution, Affiliated to Anna University,Chennai) COIMBATORE 641049 APRIL 2017 1 COOLANT OIL CONTROL SYSTEM IN VMC MACHINE A PROJECT REPORT Submitted by RAJAGANAPATHY.S (13BEI111) GOWTHAMVEL.P (13BEI018) SANTHOSE PRABU.R (13BEI050) in partial fulfillment for the award of the degree of BACHELOR OF ENGINEERING in ELECTRONICS AND INSTRUMENTATION ENGINEERING KUMARAGURU COLLEGE OF TECHNOLOGY (An Autonomous Institution, Affiliated to Anna University,Chennai) COIMBATORE 641049 APRIL 2017 2 BONAFIDE CERTIFICATE Certified that this project report “COOLANT OIL CONTROL SYSTEM IN VMC MACHINE ”is the bonafide work of RAJAGANAPATHY.S (13BEI111) GOWTHAMVEL.P (13BEI018) SANTHOSE PRABU.R (13BEI050) who carried out the project work under my supervision. SIGNATURE SIGNATURE Dr.N.EZHILARASI Mr.S.SARAVANA KUMAR HEAD OF THE DEPARTMENT SUPERVISOR Dept. of Electronics and Instrumentation Assistant Professor Kumaraguru College of Technology Dept. of Electronics and Instrumentation Coimbatore-641049 Kumaraguru College of Technology Coimbatore-641049 The candidates were examined by us in the project viva voce examination held on INTERNAL EXAMINER EXTERNAL EXAMINER 3 ACKNOWLDEGEMENT The satisfaction that accompanies the successful completion of any task would be incomplete without mentioning about the people whose constant guidance and encouragement crowns all effort with success. We are greatly indebted to our beloved Principal Dr.R.S.KUMAR, who has been the backbone of all our deeds. We express our gratitude to Dr.N.EZHILARASI, Head, Department of Electronics and Instrumentation Engineering, Kumaraguru College of Technology for her constant encouragement.
    [Show full text]
  • Microchip Miwi P2P Wireless Protocol
    AN1204 Microchip MiWi™ P2P Wireless Protocol This application note assumes that readers know C Author: Yifeng Yang programming. However, it also recommends that Microchip Technology Inc. readers review the IEEE 802.15.4 specification and Microchip MiMAC/MiApp interfaces before starting this application note or working with the MiWi P2P wireless INTRODUCTION protocol. The demand is growing for more and more applications to move to wireless communication. Protocol Overview The benefits are reduced costs and ease The MiWi P2P protocol modifies the IEEE 802.15.4 implementation. Wireless communication does not specification’s Media Access Control (MAC) layer by require cabling and other hardware, and the associated adding commands that simplify the handshaking installation costs. It also can be implemented in locations process. It simplifies link disconnection and channel where installing cable is difficult. hopping by providing supplementary MAC commands. Since the IEEE released the Wireless Personal Area However, application-specific decisions, such as when Network (WPAN) specification (IEEE 802.15.4™) in to perform an energy detect scan or when to jump 2003, it has become the real industry standard for low- channels, are not defined in the protocol. These issues rate WPANs (LR-WPAN). The specification applies to are left to the application developer. low data rate applications with low-power and low-cost requirements. Protocol Features Microchip MiWi™ P2P Wireless Protocol is one of the wireless protocols that are supported in MiWi The MiWi P2P Wireless Protocol has the following Development Environment (DE). It is a variation of features: IEEE 802.15.4, using Microchip’s IEEE 802.15.4 • Operates on Microchip PIC18, PIC24, dsPIC33 compliant and other proprietary RF transceivers, which and PIC32 platforms are controlled by Microchip 8, 16 or 32-bit • Supports Microchip C18, C30 and C32 compilers microcontroller with a Serial Peripheral Interface (SPI).
    [Show full text]
  • Pickit 3 Starter Kit User's Guide
    PICkit™ 3 Starter Kit User’s Guide 2012 Microchip Technology Inc. DS41628B Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, dsPIC, and may be superseded by updates. It is your responsibility to FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • Pickit 3 Programmer/Debugger User's Guide
    PICkit™ 3 Programmer/Debugger User’s Guide © 2009 Microchip Technology Inc. DS51795A Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • Zena(TM) Wireless Network Analyzer User's Guide
    ZENA™ Wireless Network Analyzer User’s Guide © 2008 Microchip Technology Inc. DS51606C Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • Pickit 2 Programmer/Debugger User's Guide
    PICkit™ 2 Programmer/Debugger User’s Guide © 2008 Microchip Technology Inc. DS51553E Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • PIC24FJ128GA Family Data Sheet General Purpose, 16-Bit Flash Microcontrollers
    PIC24FJ128GA Family Data Sheet General Purpose, 16-Bit Flash Microcontrollers © 2006 Microchip Technology Inc. Preliminary DS39747C Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates.
    [Show full text]
  • TB3208 Basic Operation of UART with Protocol Support
    TB3208 Basic Operation of UART with Protocol Support Introduction Author: Michael Wyman and Christopher Best, Microchip Technology Inc. The Universal Asynchronous Receiver Transmitter (UART) module with built-in protocol support is a serial communications peripheral that allows users to interface other UART compatible devices. The UART module is designed for full-duplex communication, and supports the following protocols: • LIN Master and Slave modes • DMX mode • DALI Control Gear and Control Device modes This technical brief highlights the use of this UART module in Basic mode stand-alone, without the use of the other UART protocol support. Info: For more technical detail regarding any of the supported protocol functions of this UART module, view the device data sheet, along with any other supporting documentation. © 2018 Microchip Technology Inc. 90003208A-page 1 TB3208 Table of Contents Introduction......................................................................................................................1 1. Overview....................................................................................................................3 1.1. Transmit and Receive Buffers...................................................................................................... 4 1.2. Character Length..........................................................................................................................5 1.3. Address Mode.............................................................................................................................
    [Show full text]
  • 28-Pin Demo Board User's Guide
    28-PIN DEMO BOARD USER’S GUIDE © 2006 Microchip Technology Inc. DS41301A Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART, ensure that your application meets with your specifications.
    [Show full text]