12 Serial Communication.pdf

12 Serial Communication.pdf - 12-Feb-182:52 PM Serial...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
12-Feb-18—2:52 PM 1 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Communication EEL 3744 1 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Menu • References: > Serial Communication [Doty, 1979: 293-311] • Asynchronous Data Communication > Communication Terminology > ASCII Communication Codes > Serial Communication Principles > XMEGA SCI Serial I/O Hardware > 68HC12: SCI Serial I/O Hardware > TI F28335 (DSC) SCI Serial I/O Hardware > SCI Programming Example See docs/examples on web-site: doc8331, “Our ATxmega128A1U Register Descriptions , SCI_Pol9600.asm, uPAD schematics Look into my ... EEL 3744 2 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Communication Terminology • Simplex Communication Duplex Communication > Half-duplex > Full-duplex
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
12-Feb-18—2:52 PM 2 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Communication EEL 3744 3 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo ASCII Communication Codes • ASCII ( A merican S tandard C ommittee for I nformation I nterchange) codes (see asciitable.com) • Error Detection >Parity bits [Example] A C >Parity algorithms 7-bit ASCII 100 0001 100 0011 » Even parity 0 100 0001 1 100 0011 » Odd parity 1 100 0001 0 100 0011 » Mark parity 1 100 0001 1 100 0011 » Space parity 0 100 0001 0 100 0011 EEL 3744 4 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo ASCII Table (from Wikipedia)
Image of page 2
12-Feb-18—2:52 PM 3 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Communication EEL 3744 5 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Communication Principles • Serial Signals >20mA current loop – Use solenoid. (Ex: Teletype machine) – It has greater immunity to interference from electrical noise than some voltage-level signal systems – Logical 1 (20mA of current) – Logical 0 (no current) >RS-232 (EIA-232) – Signal level: High (+3 ~ +25VDC) & Low (-3 ~ -25VDC) – Using large nonzero voltages for each level provides better immunity to electrical interference – Logical 0 ( positive voltage); Logical 1 ( negative voltage) EEL 3744 6 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo RS232C Interface
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
12-Feb-18—2:52 PM 4 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Communication EEL 3744 7 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Communication Principles • Serial Signal Format >Start bit: Space >8 data bits, LSB first >Stop bit: Mark >Idle: Mark • Baud Rate: ~Hz = bits/sec = f >Bit time, T = 1/f – ex: 300Hz => 1/300 sec/bit One character requires 10-bit times Time Mark, 1 Space, 0 idle start bit stop bit LSB MSB idle Telegraph Key Player Piano Player Piano: EEL 3744 8 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Data Operation [Doty: 295]
Image of page 4
12-Feb-18—2:52 PM 5 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Communication EEL 3744 9 University of Florida, EEL 3744 – File 12 © Drs. Schwartz & Arroyo Serial Data Communication Options [Doty: 310] EEL 3744
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern