[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-692159-105":59,"doc-detail-692159-en":130,"doc-similar-692159":170},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","unit-5-serial-communication-communication-basics-of-spi-i2c-and-uart","UNIT-5 SERIAL COMMUNICATION - Communication: Basics of SPI, I2C and UART","","UNIT-5 SERIAL COMMUNICATION explains how device-to-device communication relies on shared rules, called communication protocols, and focuses on three widely used options: SPI, I2C, and UART. It compares parallel versus serial transmission, covering distance, cost, and speed trade-offs, then introduces asynchronous and synchronous serial methods. The document also describes simplex, half-duplex, and full-duplex data flow, defines protocol elements like framing and character size, and provides a comparison table. It further details how UART converts parallel data to serial using start, parity, and stop bits, then how the receiver samples using baud rate and reconstructs the original packet.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/unit-5-serial-communication-communication-basics-of-spi-i2c-and-uart/692159/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/unit-5-serial-communication-communication-basics-of-spi-i2c-and-uart/692159.png","ImageObject",300,407,{"name":92,"@type":93},"Sophia Brooks","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-19","2026-11-08",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why do electronic devices need communication protocols?","Question",{"text":112,"@type":113},"Both sender and receiver must follow the same rules so data can be interpreted correctly. In electronics, these rules are communication protocols that define how data is packed, the character size, and when a packet starts and ends.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are the key differences between parallel and serial communication?",{"text":117,"@type":113},"Parallel communication transmits all bits simultaneously over separate lines and uses multiple wires, making it faster but more costly and usually suited to shorter distances. Serial communication sends bits one by one over a single line, uses fewer wires, is cheaper, and supports longer-distance transmission.",{"name":119,"@type":110,"acceptedAnswer":120},"How does UART communicate asynchronously?",{"text":121,"@type":113},"UART transmission is asynchronous because it does not use a clock signal. Instead, the transmitter adds start and stop bits to the data packet, and the receiver detects the start bit and samples incoming bits using the baud rate, with both sides operating at about the same baud rate.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},692159,1794180297,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":29,"preview_urls":145},962084925636,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","UNIT-5 SERIAL COMMUNICATION  \nCOMMUNICATION:  \nCommunication between electronic devices is like communication between humans. Both sides need to speak the same language. In electronics, these languages are called communication protocols. Luckily for us, there are only a few communication protocols we need to know when building most electronics projects. In this series of articles, we will discuss the basics of the three most common protocols: SPI, I2C and UART.  \nSPI, I2C, and UART are quite a bit slower than protocols like USB, Ethernet, Bluetooth, and Wi-Fi, but they’re a lot simpler and use less hardware and system resources. SPI, I2C, and UART are ideal for communication between microcontrollers and between microcontrollers and sensors where large amounts of high speed data don’t need to be transferred.  \nDATA COMMUNICATION TYPES: (1) PARALLEL  \n(2) SERIAL: (I) ASYNCHRONOUS (II)  \nSYNCHRONOUS  \nParallel Communication:  \n􀁸 In parallel communication, all the bits of data are transmitted simultaneously on separate communication lines.  \n􀁸 Used for shorter distance.  \n􀁸 In order to transmit n bit, n wires or lines are used.  \n􀁸 More costly.  \n􀁸 Faster than serial transmission.  \n􀁸 Data can be transmitted in less time.  \nExample: printers and hard disk  \nSerial Communication Basics:  \n􀁸 In serial communication the data bits are transmitted serially one by one i.e. bit by bit on single communication line  \n􀁸 It requires only one communication line rather than n lines to transmit data from sender to receiver.  \n􀁸 Thus all the bits of data are transmitted on single lines in serial fashion.  \n􀁸 Less costly.  \n􀁸 Long distance transmission.  \nExample: Telephone.  \nSerial communication uses two methods:  \n􀁸 Asynchronous.  \n􀁸 Synchronous.  \nAsynchronous:  \n􀀾 Transfers single byte at a time.  \n􀀾 No need of clock signal  \n􀂙 Example: UART (universal asynchronous receiver transmitter)  \nSynchronous:  \n􀀾 Transfers a block of data (characters) at a time.  \n􀀾 Requires clock signal  \n􀂙 Example: SPI (serial peripheral interface), I2C (inter integrated circuit) .  \nData Transmission: In data transmission if the data can be transmitted and received, it is a duplex transmission.  \nSimplex: Data is transmitted in only one direction i. e. from TX to RX only one TX and one RX only  \nHalf duplex: Data is transmitted in two directions but only one way at a time i. e. two TX's, two RX’s and one line  \nFull duplex: Data is transmitted both ways at the same time i. e. two TX's, two  \nRX’s and two lines  \n􀂾 A protocol is a set of rules agreed by both the sender and receiver on  \n􀁸 How the data is packed  \n􀁸 How many bits constitute a character  \n􀁸 When the data begins and ends  \nVarious Serial Communication Protocols  \n\n| Serial Protocol | Synchronous /Asynchronous | Type | Duplex | Data transfer rate (kbps) |\n| --- | --- | --- | --- | --- |\n| UART | Asynchronous | peer-to-peer | Full-duplex | 20 |\n| I2C | Synchronous | multi-master | Half-duplex | 3400 |\n| SPI | Synchronous | multi-master | Full-duplex | >1,000 |\n| MICROWIRE | Synchronous | master/slave | Full-duplex | > 625 |\n| 1-WIRE | Asynchronous | master/slave | Half-duplex | 16 |\n\nUART COMMUNICATION  \nIn UART communication, two UARTs communicate directly with each other. The transmitting UART converts parallel data from a controlling device like a CPU into serial form, transmits it in serial to the receiving UART, which then converts the serial data back into parallel data for the receiving device. Only two wires are needed to transmit data between two UARTs. Data flows from the Tx pin of the transmitting UART to the Rx pin of the  \nreceiving UART:  \nUARTs transmit data asynchronously, which means there is no clock signal to synchronize the output of bits from the transmitting UART to the sampling of bits by the receiving UART. Instead of a clock signal, the transmitting UART adds start and stop bits to the data packet being transferred. These bits define the beginning and end of the data packet so ","cbCaiqY559Ra7fq7","https://ap.wps.com/l/cbCaiqY559Ra7fq7","pdf",2471160,51,"English","# UNIT-5 SERIAL COMMUNICATION\n## Communication and protocol basics\n## Data communication types (parallel and serial)\n## Asynchronous vs synchronous serial\n## Duplex transmission types\n## Serial communication protocols comparison\n## UART communication principles\n## How UART works (packet framing and sampling)","[{\"question\":\"Why do electronic devices need communication protocols?\",\"answer\":\"Both sender and receiver must follow the same rules so data can be interpreted correctly. In electronics, these rules are communication protocols that define how data is packed, the character size, and when a packet starts and ends.\"},{\"question\":\"What are the key differences between parallel and serial communication?\",\"answer\":\"Parallel communication transmits all bits simultaneously over separate lines and uses multiple wires, making it faster but more costly and usually suited to shorter distances. Serial communication sends bits one by one over a single line, uses fewer wires, is cheaper, and supports longer-distance transmission.\"},{\"question\":\"How does UART communicate asynchronously?\",\"answer\":\"UART transmission is asynchronous because it does not use a clock signal. Instead, the transmitter adds start and stop bits to the data packet, and the receiver detects the start bit and samples incoming bits using the baud rate, with both sides operating at about the same baud rate.\"}]","UNIT-5 SERIAL COMMUNICATION - Communication: Basics of SPI, I2C and UART | PDF",129,[146,150,154,158,162,166],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/39cb1bf210bdcd96cefe7da9cd870e05.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a8d8c4c20b825a62b1cf5cee506d990b.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5a025f846c9b9b3078f8d83a614abf76.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/8ca9a6345b0523a14cb95f2cc375ac0f.webp",980,1385,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7f74aab07d0264489f47299cc467c33e.webp",979,1384,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b4b77051c69ba2e5a51b85c773e77f32.webp",978,1383,{"list":171,"token":66},[172,178,185,192,199,205,211,217,223,229],{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":39,"category_name":30,"create_tm":177},692116,"FREESCALE’S 8-BIT PRODUCTS SUMMARY - continued","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002899481/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=x43F07trF93b68UqP7z5IBiHerY%3D","freescales-8-bit-products-summary-continued",1794178959,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":30,"create_tm":184},689858,"XIAO RP2040 - Powerful MCU, GPIO, Interfaces and Example Functions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002159951/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=JLfE0ngEaZgYyVS33m%2FBUJri108%3D","xiao-rp2040-powerful-mcu-gpio-interfaces-and-example-functions",11,1794129633,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":30,"create_tm":191},670889,"Arduino Uno - Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988352154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=voGgPZtAYCexroA%2BAibTuyAle9M%3D","arduino-uno-datasheet",17,1793572479,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":30,"create_tm":198},690266,"PSoC 4: PSoC 4200DS Family Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002607521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=TaKhsp%2FTs%2B1lnC6eR7mNPx1pq1c%3D","psoc-4-psoc-4200ds-family-datasheet",12,1794160150,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":19,"category_name":30,"create_tm":204},720576,"Gyroscope (BNO085) UART-RVC Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400360/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=wPCgOcQdxEbxD9bITsvlgvQm3gQ%3D","gyroscope-bno085-uart-rvc-guide",1795038236,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":24,"category_name":30,"create_tm":210},700222,"GD32F407xx Datasheet - Rev1.0 - Reference document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011564297/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=A0%2B4K87jsEyAZerG%2BxlT3zSdl%2BA%3D","gd32f407xx-datasheet-rev10-reference-document",1794517308,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":24,"category_name":30,"create_tm":216},721085,"UM232R USB-Serial UART Development Module Datasheet - Version 1.04","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024086972/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=jtlVEa6PHzNhiNg32wCoyok6pnQ%3D","um232r-usb-serial-uart-development-module-datasheet-version-104",1795041702,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":34,"category_name":30,"create_tm":222},720348,"Arduino Nano  - Overview - Hardware and I/O Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393373/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=Bs5C2EQY%2FJlXzUB0uhKTvSS8J68%3D","arduino-nano-overview-hardware-and-io-specifications",1795036749,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":24,"category_name":30,"create_tm":228},720253,"Arduino Nano Technical Overview - Pinout, Power, Memory, Communication","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024390057/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=3XM6qGnqEnTA%2FY9cROpA5qb%2BlOU%3D","arduino-nano-technical-overview-pinout-power-memory-communication",1795035966,{"doc_id":230,"doc_title":231,"file_type":137,"home_preview_img_url":232,"slug":233,"view_count":24,"category_name":30,"create_tm":234},699701,"MC74HC595A - 8-Bit Serial-Input/Serial or Parallel-Output Shift Register","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010871852/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796205059&Signature=LbVu%2FLXiKvf0EozEY1ZyQ8Q6JFA%3D","mc74hc595a-8-bit-serial-inputserial-or-parallel-output-shift-register",1794490208]