SPI - Serial Peripheral Interface

Size: px
Start display at page:

Download "SPI - Serial Peripheral Interface"

Transcription

1 SPI - Serial Peripheral Interface Boards with SPI: ZWERG11A ZWERG11plus IC11B ZWERG332 SCOTTY332 MEGA332 DIL2106 LC2194 Preface With this article, the possibilities of serial communication with peripheral devices via SPI (Serial Peripheral Interface) will be discussed. More and more serial bus systems are preferred instead of a parallel bus, because of the simpler wiring. As the efficiency of serial buses increases, the speed advantage of the parallel data transmission gets less important. The clock frequencies of SPI devices can go up to some Megahertz and more. There are a lot of application where a serial transmission is perfectly sufficient. The usage of SPI is not limited to the measuring area, also in the audio field this type of transmission is used. The SPI (this name was created by Motorola) is also known as Microwire, trade mark of National Semiconductor. Both have the same functionality. There are also the extensions QSPI (Queued Serial Peripheral Interface) and MicrowirePLUS. The popularity of other serial bus system like I 2 C, CAN bus or USB shows, that serial busses get used more and more. Below is a list of SPI devices. However this list neither claims to be complete nor is the availablability of the listed components guaranteed. In addition there is a list of manufacturers with the type of SPI components they produce. Martin Schwerdtfeger, 06/2000 The Principle The Serial Peripheral Interface is used primarily for a synchronous serial communication of host processor and peripherals. However, a connection of two processors via SPI is just as well possible and is described at the end of the chapter. In the standard configuration for a slave device (see illustration 1), two control and two data lines are used. The data output SDO serves on the one hand the reading back of data, offers however also the possibility to cascade several devices. The data output of the preceding device then forms the data input for the next IC. 1 of 21 18/02/

2 Illustration 1: SPI slave There is a MASTER and a SLAVE mode. The MASTER device provides the clock signal and determines the state of the chip select lines, i.e. it activates the SLAVE it wants to communicate with. CS and SCKL are therefore outputs. The SLAVE device receives the clock and chip select from the MASTER, CS and SCKL are therefore inputs. This means there is one master, while the number of slaves is only limited by the number of chip selects. A SPI device can be a simple shift register up to an independent subsystem. The basic principle of a shift register is always present. Command codes as well as data values are serially transferred, pumped into a shift register and are then internally available for parallel processing. Here we already see an important point, that must be considered in the philosophy of SPI bus systems: The length of the shift registers is not fixed, but can differ from device to device. Normally the shift registers are or integral multiples of it. Of course there also exist shift registers with an odd number of bits. For example two cascaded 9Bit s can store 1 data. If a SPI device is not selected, its data output goes into a high-impedance state (hi-z), so that it does not interfere with the currently activated devices. When cascading several SPI devices, they are treated as one slave and therefore connected to the same chip select. Thus there are two meaningful types of connection of master and slave devices. illustration 2 shows the type of connection for cascading several devices. 2 of 21 18/02/

3 Illustration 2: Cascading several SPI devices In illustration 2 the cascaded devices are evidently looked at as one larger device and receive therefore the same chip select. The data output of the preceding device is tied to the data input of the next, thus forming a wider shift register. If independent slaves are to be connected to a master an other bus structure has to be chosen, as shown in illustration 3. Here, the clock and the SDI data lines are brought to each slave. Also the SDO data lines are tied together and led back to the master. Only the chip selects are separately brought to each SPI device. Illustration 3: Master with independent slaves Last not least both types may be combined. It is also possible to connect two micro controllers via SPI. For such a network, two protocol variants are possible. In the first, there is only one master and several slaves and in the second, each micro controller can take the role of the master. For the selection of slaves again two versions would be possible but only one variant is supported by hardware. The hardware supported variant is with the chip selects, while in the other the selection of the slaves is done by means of an ID packed into the frames. The assignment of the IDs is done by software. Only the selected slave drives its output, all other slaves are in high-impedancd state. The output remains active as long as the slave is selected by its address. The first variant, named single-master protocol, resembles the normal master-slave communication. The micro controller configured as a slave behaves like a normal peripheral device. The second possibility works with several masters and is therefore named multi-master protocol. Each micro processor has the possibility to take the roll of the master and to address another micro processor. One controller must permanently provide a clock 3 of 21 18/02/

4 signal. The MC68HC11 provides a harware error recognition, useful in multiple-master systems. There are two SPI system errors. The first occurs if several SPI devices want to become master at the same time. The other is a collision error that occurs for example when SPI devices work with with different polarities. More details can be found in the MC68HC11 manual. Data and Control Lines of the SPI The SPI requires two control lines (CS and SCLK) and two data lines (SDI and SDO). Motorola names these lines MOSI (Master-Out-Slave-In) and MISO (Master-In-Slave-Out). The chip select line is named SS (Slave-Select). With CS (Chip-Select) the corresponding peripheral device is selected. This pin is mostly active-low. In the unselected state the SDO lines are hi-z and therefore inactive. The master decides with which peripheral device it wants to communicate. The clock line SCLK is brought to the device whether it is selected or not. The clock serves as synchronization of the data communication. The majority of SPI devices provide these four lines. Sometimes it happens that SDI and SDO are multiplexed, for example in the temperature sensor LM74 from National Semiconductor, or that one of these lines is missing. A peripheral device which must or can not be configured, requires no input line, only a data output. As soon as it gets selected it starts sending data. In some s therefore the SDI line is missing (e.g. MCCP3001 from ). There are also devices that have no data output. For example LCD controllers (e.g. COP472-3 from National Semiconductor), which can be configured, but cannot send data or status messages. SPI Configuration Because there is no official specification, what exactly SPI is and what not, it is necessary to consult the data sheets of the components one wants to use. Important are the permitted clock frequencies and the type of valid transitions. There are no general rules for transitions where data shouls be latched. Although not specified by Motorola, in practice four modes are used. These four modes are the combinations of CPOL and CPHA. In table 1, the four modes are listed. SPI-mode CPOL CPHA Table 1: SPI Modes If the phase of the clock is zero, i.e. CPHA = 0, data is latched at the rising edge of the clock with CPOL = 0, and at the falling edge of the clock with CPOL = 1. If CPHA = 4 of 21 18/02/

5 1, the polarities are reversed. CPOL = 0 means falling edge, CPOL = 1 rising edge. The micro controllers from Motorola allow the polarity and the phase of the clock to be adjusted. A positive polarity results in latchig data at the rising edge of the clock. However data is put on the data line already at the falling edge in order to stabilize. Most peripherals which can only be slaves, work with this configuration. If it should become necessary to use the other polarity, transitions are reversed. The different Peripheral Types The question is of course, which peripheral types exist and which can be connected to the host processor. The available types and their characteristics are now discussed. Peripheral types can be subdivided into the following categories: Converters ( and ) Memories ( and FLASH) Real Time Clocks (RTC) Sensors (temperature, pressure) Others (signalmixer, potentiometer, LCD controller, UART, CAN controller, USB controller, amplifier) In the three categories converters, memories and RTCs, there is a great variety of component. Devices belonging to the last both groups are more rarely. There are lots of converters with different resolutions, clock frequencies and number of channels to choose from. 8, 10, 12 up to 24Bit with clock frequencies from 30ksps up to 600ksps. Memory devices are mostly variants. There are also a few SPI flash memories. Capacities range from a couple of bits up to 64KBit. Clock frequencies up to 3MHz. Serial S SPI are available for different supply voltages (2.7V to 5V) allowing their use in low-voltage applications. The data retention time duration from 10 years to 100 years. The permitted number of write accesses is 1 million cycles for most components. By cascading memory devices any number of bits/word can be obtained. RTCs are ideally suited for serial communication because only small amounts of data have to be transferred. There is also a great variety of RTCs with supply voltages from 2.0V. In addition to the standard functions of a "normal" clock, some RTCs offer an alarm function, non-volatile RAM etc. Most RTCs come from DALLAS and EPSON. The group of the sensors is yet weakly represented. Only a temperature and a pressure sensor could be found. CAN and USB controllers with SPI make it easier to use these protocols on a micro controller and inerfacing a LCD via SPI saves the troublesome parallel wiring. Manufacturer List Manufacturer Device Types Internet address 5 of 21 18/02/

6 AKM DSP,, digital Poti Atmel, digital Poti Crystal Dallas RTC EPSON RTC Fairchild Infineon Pressure Sensor Intel CAN Controller Temperature Sensor + Voltage Monitor,, UART, Analog Switches Micro controller,,, CAN controller Motorola DSP, MCU National Semiconductor LCD Controller, dig. Temperature Sensor, USB Controller NeXFlash FLASH RAMTRON FRAM SanDisk FLASH, MultiMediaCard SGS-Thomson, Micro controller DSP,, Xicor CPU Supervisor, s, FLASH Zilog DSP Device List (Peripherals) No. Device Type Features Manufacturer 1 AK93C85A AK93C95A AK93C10A Low power consumption 0.8µA standby AKM 6 of 21 18/02/

7 2 SSM2163 8x2 Audio Mixer 63dB attenuation in 1dB steps 3 AD1893 Sample Rate Converter Converts 1:2 to 2:1 4 AD5302 AD5312 AD5322 8/10/ buffered outputs dual 5 AD5530 AD /14Bit cascadeable 6 AD7303 clock rate up to 30MHz 7 AD7394 AD / 8 AD7715 Sigma-Delta 9 AD7811 AD7812 4/8 channel 300ksps 10 AD7816 AD7817 AD Temperature Sensor 11 AD AD AD ksps 3V to 5V operation, 8 channel 200ksps dual 14 AD8400 AD8402 AD8403 Digital Poti 1/2/4 channel 256 positions 1, 10, kOhm 10MHz update rate cascadeable quad wide supply range 7 of 21 18/02/

8 17 AT25010 AT25020 AT25040 Low voltage operation 1.8V/2.7V/5.0V block write protection 100 years data retention ATMEL 18 AT25080 AT25160 AT25320 AT25640 Low voltage operation 1.8V/2.7V/5.0V block write protection ATMEL 19 AT25P AT25HP AT45D011 FLASH 22 AT45D021 FLASH 23 AT45DB021 FLASH 24 AT45DB041 FLASH 25 AT45D081 FLASH 26 AT45DB161 FLASH Low voltage operation 1.8V/2.7V/5.0V block write protection Low voltage operation 1.8V/2.7V/5.0V block write protection 5V 1MBit 15MHz clock rate 5V 2MBit 10MHz 2.7V 2MBit 5MHz clock rate 5V 4MBit 10MHz 5V 8MBit 10MHz 2.7V 16MBit 13MHz ATMEL ATMEL ATMEL ATMEL ATMEL ATMEL ATMEL ATMEL 27 ADS1210 ADS Bit BURR-BROWN 8 of 21 18/02/

9 28 ADS1212 ADS Bit BURR-BROWN 29 ADS ADS ADS ADS ADS ADS7835 micro power 20ksps, multiple input ranges 40ksps 16Bit 40ksps 500ksps 500ksps 500ksps BURR-BROWN BURR-BROWN BURR-BROWN BURR-BROWN BURR-BROWN BURR-BROWN 35 ADS7846 Touch-screen controller 2.2V to 5.25V BURR-BROWN 36 ADS ADSS ADS Bit 2.7V to 5.5V 52ksps 2.7V to 5V 100ksps 16Bit 5V 100ksps BURR-BROWN BURR-BROWN BURR-BROWN 39 CS5531 CS Bit, 2 channel Low noise up to 23Bit selectable word rates Crystal 40 CS5532 CS Bit, 2 channel Low noise up to 23Bit Crystal 9 of 21 18/02/

10 41 DS1267 Digital potentiomenter selectable word rates Dual 10k, 50k and 100k DALLAS 42 DS1305 RTC 43 DS1306 RTC 96-byte User-RAM 96-byte User-RAM DALLAS DALLAS 44 DS1722 Digital Thermometer -55 C to 120 C accuracy +/- 2 C wide supply range DALLAS 45 DS1844 Digital Poti 46 RTC4553 RTC 4 channel, linear 64 positions 10, 50 and 100kOhm built-in crystal RAM 30x4Bit DALLAS EPSON 47 NM25C020 NM25C040 NM25C041 NM25C160 NM25C640 data retention >40 years hard- and software write protection Fairchild 48 NM93C06 NM93C56 NM93C66 data retention >40 years hard- and software write protection Fairchild 49 NM93C46 NM93C56 1k/2k Fairchild 50 NM93C46A NM93C46A 1k/2k selectable organization Fairchild 51 NM93S46 NM93S56 1K/2K data protect sequential read Fairchild 52 KP100 Pressure Sensor range kPa infineon CAN Controller Flexible CPU-interface CAN 2.0 Programmable Bit rate intel 54 IS93C46-3 issi 10 of 21 18/02/

11 55 LTC1091 LTC1092 LTC1093 LTC /2-/6-/8-Kanal wide supply range : 5V to 10V 56 LTC1096 LTC1098 A/D-Wabdler 33ksps 57 LTC1197 LTC ksps low-power version 58 LTC1285 LTC ksps/6.5ksps 3V 59 LTC LTC LTC LTC V 30ksps 25ksps 3.3V 50ksps variable word length 5V 63 LTC LTC LTC1329A-50 Wide supply range 2.7V to 6.5V Current output 64 LTC1392 Temperatur+Power Monitor Technilogy 65 LTC LTC ksps 14Bit 200ksps serial/parallel I/O 67 LTC1451 LTC1452 LTC1453 kaskadierbar 68 LTC1594 LTC1598 4/8 channel 11 of 21 18/02/

12 69 LTC LTC LTC Bit kaskadierbar 24Bit Sigma/Delta 24Bit Sigma/Delta no latency 72 LTC Bit 73 LTC Bit, no latency 74 MAX144 MAX145 Low power 2 channel 108ksps 75 MAX146 MAX147 Low power 8 channel 76 MAX157 MAX159 2 channels 77 MAX186 MAX188 8 channel 133ksps 78 MAX349 MAX350 MUX 8-to-1 dual 4-to-1 79 MAX395 Switch 8 channel 80 MAX MAX MAX MAX MAX534 5MHz quad rail-to-rail output buffers 10MHz clock rate 12 of 21 18/02/

13 85 MAX535 MAX Bit schmitt-trigger inputs 86 MAX536 MAX537 quad calibrated 87 MAX 548 MAX549 MAX550 single/dual 10MHz clock rate 88 MAX551 MAX MHz clock rate schmitt-trigger inputs 89 MAX1084 MAX ksps/400ksps 90 MAX1106 MAX ksps 91 MAX1110 MAX1111 multi-channel 92 MAX1112 MAX ksps multi-channel 93 MAX1202 MAX channel 133ksps 94 MAX channel 133ksps 95 MAX1240 MAX ksps 96 MAX1242 MAX channel 73ksps 13 of 21 18/02/

14 97 MAX1270 MAX channel multi-range 110ksps 98 MAX MAX MAX MAX MAX3100 UART 1, Sigma-Delta multi-channel programmable gain+offset 480sps 1, Sigma-Delta multichannel 480sps 1, Sigma-Delta multi-channel 480sps 1 multi-channel Up to 230kBaud Schmitt-trigger inputs 103 MAX3110E MAX3111E UART ESD-protected internal capacitors 104 MAX3140 UART 105 MAX4548 Switch Triple 3x2-crosspoint switch 106 MAX4550 MAX4570 Switch Dual 4x2 crosspoint switch 107 MAX4562 MAX4573 Switch Clickless Audio/Video Switch 108 MAX4571 MAX4574 Switch Audio/Video 109 MAX4588 MUX Dual 4 channel 180MHz bandwidth 14 of 21 18/02/

15 110 MAX4589 MUX Dual 2 channel 200MHz bandwidth 111 MAX MAX5120 MAX MAX5122 MAX5123 buffered output can drive up to 20mA 114 MAX5130 MAX Bit 115 MAX5132 MAX Bit 116 MAX5150 MAX Bit, dual 16 us settling time 117 MAX5152 MAX Bit dual configurable outputs drive up to 20mA 118 MAX5156 MAX5157 dual configurable outputs drive up to 20mA 119 MAX5170 MAX Bit 120 MAX5171 MAX Bit Force/Sense voltage output 121 MAX5174 MAX MAX5175 MAX5177 Force/Sense voltage output 123 MAX5222 dual 25MHz clock rate 15 of 21 18/02/

16 124 MAX MAX5251 quad schmitt-trigger inputs quad schmitt-trigger inputs 126 MAX MAX MAX MAX MAX MAX5544 5V schmitt-trigger inputs schmitt-trigger inputs 16Bit schmitt-trigger inputs 10MHz clock rate 14Bit schmitt-trigger inputs 10MHz 132 MAX7219 Max7221 LED display driver 8-digit 10MHz clock rate digital/analog brightness control AA040 25LC040 25C040 4k max. 3MHz clock data retention >200 years AA080 25LC080 25C080 8k, max 3MHz clock data retention >200 years AA160 25LC160 25C160 16k, max 3MHz clock data retention >200 years 16 of 21 18/02/

17 136 25LC320 25C320 32k, max 3MHz clock data retention >200 years AA640 25LC640 64k, max 3MHz clock data retention >200 years 138 MCP MCP3002, 2.7V to 5V 5V, 2.7V to 5V, 2 channel 5V 140 MCP3004 MCP3008 4/8 channel 5V 2.7V to 5V 141 MCP MCP MCP3204/ MCP2510 CAN Controller 145 MC68HC86T1 RTC + RAM 100ksps 2.7V to 5V industrial temp range 2 channel 5V 4/8 channel 5V Programmable Bit rate up tp 1MHz Bytes message frame 32x static-ram Motorola 146 CLC5506 GTA (Gain Trim Amplifier) 600MHz bandwidth control range 16dB National Semiconductor 147 COP472-3 LCD Controller Keine SDO-Leitung National Semiconductor 17 of 21 18/02/

18 148 LM74 Temperature Sensor 149 MM5483 LCD Controller + sign 3V to 5V -55 C to +150 C max resolution: 1.25 C 31 segment outputs cascadable National Semiconductor National Semiconductor 150 MM58342 High Voltage Display Drive 35V max. cascadeable National Semiconductor 151 TP3465 Microwire Interface Device Allows memory-mapped SPI devices Clock 5MHz/20MHz National Semiconductor 152 USBN9602 USB Controller DMA-Support Several FIFOs National Semiconductor 153 NX25F011A NX25F041A FLASH Data retention 10 years Clock 16MHz NexFlash 154 NX25F080A FLASH 155 NX25M FLASH 8MBit data retention 10 years DOS-compatible sectors Serial FLASH module, removeable NexFlash NexFlash 156 FM25L256 FM25W256 FRAM Ferroelectric RAM, 256KB 3V/wide range, endurance 1E16 cycles RAMTRON 157 FM25CL64 FM25640 FRAM Ferroelectric RAM, 64KB 3V/5V, endurance 1E16 cycles RAMTRON 158 FM25CL160 FRAM Ferroelectric RAM, 16KB 5V, endurance 1E16 RAMTRON 18 of 21 18/02/

19 cycles 159 FM25CL04 FM25040 FRAM Ferroelectric RAM, 4KB 3V/5V, endurance 1E16 cycles RAMTRON 160 SDMB-4 SDMB-8 SDMB-16 SDMB-32 MultiMediaCard Up to 32MB FLASH SPI and PCMCIA interfaces SanDisk 161 M KBit 5MHz clock rate data retention >40 years SGS-Thomson 162 M93C86 M93C76 M93C66 M93C56 M93C46 M93C06 Word or byte organization 16K/8K/4K /2K/1K/256 data retention: 40 years SGS-Thomson 163 M93S46 M93S56 M93S66 Block protection 1k/2K/4kx16Bit SGS-Thomson 164 M95010 M95020 M MHz clock rate SGS-Thomson 165 M95080 M95160 M95320 M /16/32/64KBit 5MHz clock rate SGS-Thomson 166 M95128 M /256KBit 5MHz SGS-Thomson 167 ST95010 ST95020 ST K,2K,4K 2MHz SGS-Thomson 168 TLV1504 TLV ksps 4/8 channel 169 TLV1544 4/8 channel 19 of 21 18/02/

20 170 TLV TLV Msps 1.25Msps 172 TLC1514 TLC1518, 400ksps DSP-compatible 20MHz 173 TLV2541 TLV2542 TLV2545, 200ksps DSP-compatible 20MHz 174 TLV2544 TLV ksps 4/8 channel 175 TLC2554 TLC ksps 4/8 channel 176 TLV TLV TLV5616 TLV TLV5617 TLV5617A dual programmable settling time 180 TLV5618A dual 181 TLV5623 TLV TLV TLV TLV channel programmable 20 of 21 18/02/

21 reference 185 TLV X X X K 256x clock 1MHz 4K 512x clock 1MHz 16k 2048x clock 2MHz XICOR XICOR XICOR 189 X25F008 X25F016 X25F032 X25F064 FLASH 1.8V to 3.6V data retention 100 years clock 1MHz XICOR 190 X25F128 FLASH 191 X5001 CPU Supervisor Block Lock Protection 5 Reset voltage levels XICOR XICOR 192 X5043 CPU Supervisor 4K XICOR 193 X5163 X5165 CPU Supervisor 16K XICOR 194 X5323 CPU Supervisor 32K XICOR Literature [1] Motorola MC68HC11 Reference Manual, Prentice Hall 1989 [2] Motorola MC68332 User Manual [3] Various application notes [4] Data sheets 21 of 21 18/02/

The different SPI Peripheral Types

The different SPI Peripheral Types The different SPI Peripheral Types The SPI peripheral types can be subdivided into the following categories: Converters ( and ) Memories ( and FLASH) Real Time Clocks (RTC) Sensors (temperature, pressure)

More information

Understanding SPI with Precision Data Converters

Understanding SPI with Precision Data Converters Understanding SPI with Precision Data Converters By: Tony Calabria Presented by: 1 Communication Comparison SPI - Serial Peripheral Interface Bus I2C - Inter- Integrated Circuit Parallel Bus Advantages

More information

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI Embedded Systems and Software Serial Interconnect Buses I 2 C (SMB) and SPI I2C, SPI, etc. Slide 1 Provide low-cost i.e., low wire/pin count connection between IC devices There are many of serial bus standards

More information

Lecture 14 Serial Peripheral Interface

Lecture 14 Serial Peripheral Interface www.atomicrhubarb.com/systems Lecture 14 Serial Peripheral Interface Section Topic Where in the books Zilog PS220 "Enhanced Serial Peripheral Interface" Assorted datasheets Synchronous Serial Buses 1-wire

More information

Real Time Embedded Systems. Lecture 1 January 17, 2012

Real Time Embedded Systems.  Lecture 1 January 17, 2012 SPI 4-Wire 3-Wire Real Time Embedded Systems www.atomicrhubarb.com/embedded Lecture 1 January 17, 2012 Topic Section Topic Where in the books Catsoulis chapter/page Simon chapter/page Zilog UM197 (ZNEO

More information

Amarjeet Singh. January 30, 2012

Amarjeet Singh. January 30, 2012 Amarjeet Singh January 30, 2012 Website updated - https://sites.google.com/a/iiitd.ac.in/emsys2012/ Lecture slides, audio from last class Assignment-2 How many of you have already finished it? Final deadline

More information

UART TO SPI SPECIFICATION

UART TO SPI SPECIFICATION UART TO SPI SPECIFICATION Author: Dinesh Annayya dinesha@opencores.org Table of Contents Preface... 3 Scope... 3 Revision History... 3 Abbreviations... 3 Introduction... 3 Architecture... 4 Baud-rate generator

More information

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses Serial Peripheral Interface What is it? Basic SPI Capabilities Protocol Serial Peripheral Interface http://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/ SPI_single_slave.svg/350px-SPI_single_slave.svg.png

More information

PIN ASSIGNMENT PIN DESCRIPTION

PIN ASSIGNMENT PIN DESCRIPTION www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from -55 C to +120 C. Fahrenheit equivalent is -67 F to +248 F Thermometer accuracy is ±2.0 C Thermometer

More information

power supply Tamper Detect function will detect possible data modification from outside magnetic

power supply Tamper Detect function will detect possible data modification from outside magnetic FEATURES High bandwidth Read and Write at 52MB/sec Quad I/O with the use of dual purpose pins to maintain a low pin count Operates in both standard, single SPI mode and high speed quad SPI mode Fast quad

More information

Arduino Uno R3 INTRODUCTION

Arduino Uno R3 INTRODUCTION Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running

More information

Design Development and Implementation of SPI

Design Development and Implementation of SPI MIT International Journal of Electronics and Communication Engineering, Vol. 4, No. 2, August 2014, pp. 65 69 65 Design Development and Implementation of SPI A. Sirisha Kurnool (DT), A.P, INDIA M. Sravanthi

More information

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Microcontroller It is essentially a small computer on a chip Like any computer, it has memory,

More information

PARALLEL COMMUNICATIONS

PARALLEL COMMUNICATIONS Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you do this? You could connect PORTA of the sending computer (set up as an output port) to PORTA of the receiving

More information

ARDUINO MEGA INTRODUCTION

ARDUINO MEGA INTRODUCTION ARDUINO MEGA INTRODUCTION The Arduino MEGA 2560 is designed for projects that require more I/O llines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for

More information

EE 456 Fall, Table 1 SPI bus signals. Figure 1 SPI Bus exchange of information between a master and a slave.

EE 456 Fall, Table 1 SPI bus signals. Figure 1 SPI Bus exchange of information between a master and a slave. EE 456 Fall, 2009 Notes on SPI Bus Blandford/Mitchell The Serial Peripheral Interface (SPI) bus was created by Motorola and has become a defacto standard on many microcontrollers. This is a four wire bus

More information

FM24CL04 4Kb FRAM Serial Memory

FM24CL04 4Kb FRAM Serial Memory 4Kb FRAM Serial Memory Features 4K bit Ferroelectric Nonvolatile RAM Organized as 512 x 8 bits Unlimited Read/Writes 45 Year Data Retention NoDelay Writes Advanced High-Reliability Ferroelectric Process

More information

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2,.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS2 to another. How can you do

More information

The Serial Peripheral Interface

The Serial Peripheral Interface (SPI) ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it L.S.M. 1 Course What is SPI? The SPI Serial Peripheral

More information

AT89S4D12. 8-Bit Microcontroller with 132K Bytes Flash Data Memory AT89S4D12. Features. Description. Pin Configurations

AT89S4D12. 8-Bit Microcontroller with 132K Bytes Flash Data Memory AT89S4D12. Features. Description. Pin Configurations Features Compatible with MCS-51 Products 128K Bytes of In-System Reprogrammable Flash data memory and 4K Bytes of Downloadable Flash Program Memory Endurance: 1,000 Write/Erase Cycles per Sector Data Retention:

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

Serial Buses in Industrial and Automotive Applications

Serial Buses in Industrial and Automotive Applications Serial Buses in Industrial and Automotive Applications Presented by Neelima Chaurasia Class: #368 1 Overview As consumer electronics, computer peripherals, vehicles and industrial applications add embedded

More information

Universität Dortmund. IO and Peripheral Interfaces

Universität Dortmund. IO and Peripheral Interfaces IO and Peripheral Interfaces Microcontroller System Architecture Each MCU (micro-controller unit) is characterized by: Microprocessor 8,16,32 bit architecture Usually simple in-order microarchitecture,

More information

Part 1 Using Serial EEPROMs

Part 1 Using Serial EEPROMs Part 1 Using Serial EEPROMs copyright 1997, 1999 by Jan Axelson If you have a project that needs a modest amount of nonvolatile, read/write memory, serial EEPROM may be the answer. These tiny and inexpensive

More information

Microcontrollers and Interfacing week 10 exercises

Microcontrollers and Interfacing week 10 exercises 1 SERIAL PERIPHERAL INTERFACE (SPI) HARDWARE Microcontrollers and Interfacing week 10 exercises 1 Serial Peripheral Interface (SPI) hardware Complex devices (persistent memory and flash memory cards, D/A

More information

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003 Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003 S3C2440X is a derivative product of Samsung s S3C24XXX family of microprocessors for mobile communication market. The S3C2440X s main enhancement

More information

University Program Advance Material

University Program Advance Material University Program Advance Material Advance Material Modules Introduction ti to C8051F360 Analog Performance Measurement (ADC and DAC) Detailed overview of system variances, parameters (offset, gain, linearity)

More information

Serial Communication. Simplex Half-Duplex Duplex

Serial Communication. Simplex Half-Duplex Duplex 1.5. I/O 135 Serial Communication Simplex Half-Duplex Duplex 136 Serial Communication Master-Slave Master Master-Multi-Slave Master Slave Slave Slave (Multi-)Master Multi-Slave Master Slave Slave Slave

More information

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang, Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete

More information

DS1305EN. Serial Alarm Real-Time Clock

DS1305EN. Serial Alarm Real-Time Clock Serial Alarm Real-Time Clock www.maxim-ic.com FEATURES Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid up to

More information

DS1306. Serial Alarm Real Time Clock (RTC)

DS1306. Serial Alarm Real Time Clock (RTC) www.dalsemi.com FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 96-byte nonvolatile RAM for data

More information

± 2g Tri-axis Accelerometer Specifications

± 2g Tri-axis Accelerometer Specifications Product Description The is a Tri-axis, silicon micromachined accelerometer with a full-scale output range of +/-2g (19.6 m/s/s). The sense element is fabricated using Kionix s proprietary plasma micromachining

More information

Raspberry Pi - I/O Interfaces

Raspberry Pi - I/O Interfaces ECE 1160/2160 Embedded Systems Design Raspberry Pi - I/O Interfaces Wei Gao ECE 1160/2160 Embedded Systems Design 1 I/O Interfaces Parallel I/O and Serial I/O Parallel I/O: multiple input/output simultaneously

More information

FM25CL64 64Kb FRAM Serial 3V Memory

FM25CL64 64Kb FRAM Serial 3V Memory 64Kb FRAM Serial 3V Memory Features 64K bit Ferroelectric Nonvolatile RAM Organized as 8,192 x 8 bits Unlimited Read/Write Cycles 10 Year Data Retention NoDelay Writes Advanced High-Reliability Ferroelectric

More information

Growing Together Globally Serial Communication Design In Embedded System

Growing Together Globally Serial Communication Design In Embedded System Growing Together Globally Serial Communication Design In Embedded System Contents Serial communication introduction......... 01 The advantages of serial design......... 02 RS232 interface......... 04 RS422

More information

Serial Peripheral Interface Bus SPI

Serial Peripheral Interface Bus SPI Serial Peripheral Interface Bus SPI SPI Bus Developed by Motorola in the mid 1980 s Full-duplex, master-slave serial bus suited to data streaming applications for embedded systems Existing peripheral busses

More information

Groking the Linux SPI Subsystem FOSDEM Matt Porter

Groking the Linux SPI Subsystem FOSDEM Matt Porter Groking the Linux SPI Subsystem FOSDEM 2017 Matt Porter Obligatory geek reference deobfuscation grok (/gräk/) verb to understand intuitively or by empathy, to establish rapport with. Overview What is SPI?

More information

FM24C Kb FRAM Serial Memory Features

FM24C Kb FRAM Serial Memory Features Preliminary FM24C512 512Kb FRAM Serial Memory Features 512Kbit Ferroelectric Nonvolatile RAM Organized as 65,536 x 8 bits High Endurance 10 Billion (10 10 ) Read/Writes 45 year Data Retention NoDelay Writes

More information

DS1305EN. Serial Alarm Real-Time Clock

DS1305EN. Serial Alarm Real-Time Clock Serial Alarm Real-Time Clock www.maxim-ic.com FEATURES Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid up to

More information

SPI Overview and Operation

SPI Overview and Operation White Paper Abstract Communications between semiconductor devices is very common. Many different protocols are already defined in addition to the infinite ways to communicate with a proprietary protocol.

More information

Serial Communication. Spring, 2018 Prof. Jungkeun Park

Serial Communication. Spring, 2018 Prof. Jungkeun Park Serial Communication Spring, 2018 Prof. Jungkeun Park Serial Communication Serial communication Transfer of data over a single wire for each direction (send / receive) Process of sending data one bit at

More information

< W3150A+ / W5100 Application Note for SPI >

< W3150A+ / W5100 Application Note for SPI > < W3150A+ / W5100 Application Note for SPI > Introduction This application note describes how to set up the SPI in W3150A+ or W5100. Both the W3150A+ and W5100 have same architecture. W5100 is operated

More information

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus Application Note An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus AN012703-0608 Abstract This Application Note provides an overview of Zilog s Z8 Encore! Serial Peripheral Interface (SPI)

More information

DS1305 Serial Alarm Real Time Clock (RTC)

DS1305 Serial Alarm Real Time Clock (RTC) Serial Alarm Real Time Clock (RTC) www.dalsemi.com FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100

More information

64-Kbit (8K 8) SPI nvsram

64-Kbit (8K 8) SPI nvsram 64-Kbit (8K 8) SPI nvsram 64-Kbit (8K 8) SPI nvsram Features 64-Kbit nonvolatile static random access memory (nvsram) internally organized as 8K 8 STORE to QuantumTrap nonvolatile elements initiated automatically

More information

DS1305 Serial Alarm Real-Time Clock

DS1305 Serial Alarm Real-Time Clock Serial Alarm Real-Time Clock www.maxim-ic.com FEATURES Real-Time Clock (RTC) Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 10 Serial communication with devices: Serial Peripheral Interconnect (SPI) and Inter-Integrated Circuit (I 2 C) protocols College of Information Science and Engineering

More information

Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314

Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314 a FEATURES 10-Bit Temperature-to-Digital Converter 35 C to +85 C Operating Temperature Range 2 C Accuracy SPI and DSP Compatible Serial Interface Shutdown Mode Space-Saving MSOP Package APPLICATIONS Hard

More information

PIC Serial Peripheral Interface (SPI) to Digital Pot

PIC Serial Peripheral Interface (SPI) to Digital Pot Name Lab Section PIC Serial Peripheral Interface (SPI) to Digital Pot Lab 7 Introduction: SPI is a popular synchronous serial communication protocol that allows ICs to communicate over short distances

More information

FM25L16-DG. 16Kb FRAM Serial 3V Memory. Features. Pin Configuration

FM25L16-DG. 16Kb FRAM Serial 3V Memory. Features. Pin Configuration 16Kb FRAM Serial 3V Memory Features 16K bit Ferroelectric Nonvolatile RAM Organized as 2,048 x 8 bits Unlimited Read/Write Cycles 45 Year Data Retention NoDelay Writes Advanced High-Reliability Ferroelectric

More information

DS1306 Serial Alarm Real-Time Clock

DS1306 Serial Alarm Real-Time Clock Serial Alarm Real-Time Clock www.maxim-ic.com FEATURES Real-Time Clock (RTC) Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to

More information

AN510 Using SPI protocol with pressure sensor modules

AN510 Using SPI protocol with pressure sensor modules 1 USING SPI PROTOCOL WITH PRESSURE SENSOR MODULES This application note describes the possibility of communication between a microcontroller and MEAS Switzerland's pressure sensor modules (MS55XX series)

More information

DS1305. Serial Alarm Real Time Clock (RTC) FEATURES PIN ASSIGNMENT ORDERING INFORMATION

DS1305. Serial Alarm Real Time Clock (RTC) FEATURES PIN ASSIGNMENT ORDERING INFORMATION DS135 Serial Alarm Real Time Clock (RTC) FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 21 96 byte

More information

FM24C Kb FRAM Serial Memory Features

FM24C Kb FRAM Serial Memory Features 256Kb FRAM Serial Memory Features 256Kbit Ferroelectric Nonvolatile RAM Organized as 32,768 x 8 bits High Endurance 10 Billion (10 10 ) Read/Writes 45 year Data Retention NoDelay Writes Advanced High-Reliability

More information

Micron M25P40 Serial Flash Embedded Memory

Micron M25P40 Serial Flash Embedded Memory Micron M25P40 Serial Flash Embedded Memory M25P40-VMB6Txx M25P40-VMC6Gx; M25P40-VMC6Txx M25P40-VMN3Px; M25P40-VMN3Txx M25P40-VMN6Pxx; M25P40-VMN6Txxx M25P40-VMP6Gx; M25P40-VMP6Txx M25P40-VMS6Gx; M25P40-VMS6Tx

More information

Digital Thermometers and Thermostats with SPI/3-Wire Interface

Digital Thermometers and Thermostats with SPI/3-Wire Interface 19-5629; Rev 0; 11/10 Digital Thermometers and Thermostats General Description The digital thermometers and thermostats with an SPI /3-wire interface provide temperature readings that indicate the device

More information

SPI Block User Guide V02.07

SPI Block User Guide V02.07 DOCUMENT NUMBER S12SPIV2/D SPI Block User Guide V02.07 Original Release Date: 21 JAN 2000 Revised: 11 Dec 2002 Motorola, Inc. Motorola reserves the right to make changes without further notice to any products

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

Remote Keyless Entry In a Body Controller Unit Application

Remote Keyless Entry In a Body Controller Unit Application 38 Petr Cholasta Remote Keyless Entry In a Body Controller Unit Application Many of us know this situation. When we leave the car, with a single click of a remote control we lock and secure it until we

More information

512 Kbit / 1 Mbit / 2 Mbit / 4 Mbit SPI Serial Flash SST25VF512 / SST25VF010 / SST25VF020 / SST25VF040

512 Kbit / 1 Mbit / 2 Mbit / 4 Mbit SPI Serial Flash SST25VF512 / SST25VF010 / SST25VF020 / SST25VF040 FEATURES: SST25VF512 / 010 / 020 / 040512Kb / 1Mb / 2Mb / 4Mb Serial Peripheral Interface (SPI) flash memory Single 2.7-3.6V Read and Write Operations Serial Interface Architecture SPI Compatible: Mode

More information

Review for Exam III. Analog/Digital Converters. The MC9S12 has two 10-bit successive approximation A/D converters - can be used in 8-bit mode

Review for Exam III. Analog/Digital Converters. The MC9S12 has two 10-bit successive approximation A/D converters - can be used in 8-bit mode Methods used for A/D converters Flash (Parallel) Successive Approximation Review for Exam III Analog/Digital Converters A/D converters are classified according to: Resolution (number of bits) Speed (number

More information

8 Mbit / 16 Mbit SPI Serial Flash SST25VF080 / SST25VF016

8 Mbit / 16 Mbit SPI Serial Flash SST25VF080 / SST25VF016 FEATURES: 8 Mbit / 16 Mbit SPI Serial Flash SST25VF080 / 0168Mb / 16Mb Serial Peripheral Interface (SPI) flash memory Single 2.7-3.6V Read and Write Operations Serial Interface Architecture SPI Compatible:

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

Block Diagram. mast_sel. mast_inst. mast_data. mast_val mast_rdy. clk. slv_sel. slv_inst. slv_data. slv_val slv_rdy. rfifo_depth_log2.

Block Diagram. mast_sel. mast_inst. mast_data. mast_val mast_rdy. clk. slv_sel. slv_inst. slv_data. slv_val slv_rdy. rfifo_depth_log2. Key Design Features Block Diagram Synthesizable, technology independent IP Core for FPGA, ASIC and SoC reset Supplied as human readable VHDL (or Verilog) source code mast_sel SPI serial-bus compliant Supports

More information

24AA128/24LC128/24FC128

24AA128/24LC128/24FC128 18K I C CMOS Serial EEPROM Device Selection Table Part Number Range Max. Clock Frequency Temp. Ranges Temperature ranges: - Industrial (I): -0 C to +8 C - Automotive (E): -0 C to +1 C A8 1.-.V 00 khz (1)

More information

FM24C16C-GTR. 16Kb Serial 5V F-RAM Memory. Features. Description. Pin Configuration NC NC NC VSS VDD WP SCL SDA. Ordering Information.

FM24C16C-GTR. 16Kb Serial 5V F-RAM Memory. Features. Description. Pin Configuration NC NC NC VSS VDD WP SCL SDA. Ordering Information. Preliminary FM24C16C 16Kb Serial 5V F-RAM Memory Features 16K bit Ferroelectric Nonvolatile RAM Organized as 2,048 x 8 bits High Endurance (10 12 ) Read/Write Cycles 36 year Data Retention at +75 C NoDelay

More information

Level Translator For SPI and I²C Bus Signals

Level Translator For SPI and I²C Bus Signals Level Translator For SPI and I²C Bus Signals APN007 Abstract A serial interface is often used for board-level communication between different integrated circuits, especially in space-constrained applications

More information

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an Microcontroller Basics MP2-1 week lecture topics 2 Microcontroller basics - Clock generation, PLL - Address space, addressing modes - Central Processing Unit (CPU) - General Purpose Input/Output (GPIO)

More information

spi 1 Fri Oct 13 13:04:

spi 1 Fri Oct 13 13:04: spi 1 Fri Oct 1 1:: 1.1 Introduction SECTION SERIAL PERIPHERAL INTERFACE (SPI) The SPI module allows full-duplex, synchronous, serial communication with peripheral devices.. Features Features of the SPI

More information

Microcontroller interfaces

Microcontroller interfaces Microcontroller interfaces 1 Microcontroller interfaces Microcontroller interfaces Digital Analog Serial Parallel Binary (on/off) Voltage Current Asynchronous Synchronous 1-wire RS232/485 Ethernet 2-wire

More information

64-Kbit (8 K 8) SPI nvsram with Real Time Clock

64-Kbit (8 K 8) SPI nvsram with Real Time Clock 64-Kbit (8 K 8) SPI nvsram with Real Time Clock 64-Kbit (8 K 8) SPI nvsram with Real Time Clock Features 64-Kbit nonvolatile static random access memory (nvsram) Internally organized as 8 K 8 STORE to

More information

S25FL204K. 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kb Sectors. Data Sheet

S25FL204K. 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kb Sectors. Data Sheet S25FL204K 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kb Sectors Data S25FL204K Cover Notice to Readers: This document states the current technical specifications regarding the Spansion product(s) described

More information

AT-501 Cortex-A5 System On Module Product Brief

AT-501 Cortex-A5 System On Module Product Brief AT-501 Cortex-A5 System On Module Product Brief 1. Scope The following document provides a brief description of the AT-501 System on Module (SOM) its features and ordering options. For more details please

More information

PRACTICAL DESIGN TECHNIQUES FOR SENSOR SIGNAL CONDITIONING

PRACTICAL DESIGN TECHNIQUES FOR SENSOR SIGNAL CONDITIONING 9 PRACTICAL DESIGN TECHNIQUES FOR SENSOR SIGNAL CONDITIONING 1 Introduction 2 Bridge Circuits 3 Amplifiers for Signal Conditioning 4 Strain, Force, Pressure, and Flow Measurements 5 High Impedance Sensors

More information

Architectural design proposal for real time clock for wireless microcontroller unit

Architectural design proposal for real time clock for wireless microcontroller unit Architectural design proposal for real time clock for wireless microcontroller unit Muhammad Nor Azwan Mohd Alias 1, *, and Shaiful Nizam Mohyar 1 1 School of Microelectronic Engineering, University Malaysia

More information

C8051F700 Serial Peripheral Interface (SPI) Overview

C8051F700 Serial Peripheral Interface (SPI) Overview C8051F700 Serial Peripheral Interface (SPI) Overview Agenda C8051F700 block diagram C8051F700 device features SPI operation overview SPI module overview Where to learn more 2 Introducing The C8051F700

More information

SPI 3-Wire Master (VHDL)

SPI 3-Wire Master (VHDL) SPI 3-Wire Master (VHDL) Code Download Features Introduction Background Port Descriptions Clocking Polarity and Phase Command and Data Widths Transactions Reset Conclusion Contact Code Download spi_3_wire_master.vhd

More information

S25FL1-K. Data Sheet. S25FL1-K Cover Sheet

S25FL1-K. Data Sheet. S25FL1-K Cover Sheet S25FL1-K S25FL116K 16 Mbit (2 Mbyte) S25FL132K 32 Mbit (4 Mbyte) S25FL164K 64 Mbit (8 Mbyte) CMOS 3.0-Volt Flash Non-Volatile Memory Serial Peripheral Interface (SPI) with Multi-I/O Industrial and Extended

More information

1-Mbit (128K 8) Serial (SPI) nvsram with Real-Time Clock

1-Mbit (128K 8) Serial (SPI) nvsram with Real-Time Clock 1-Mbit (128K 8) Serial (SPI) nvsram with Real-Time Clock 1-Mbit (128K 8) Serial (SPI) nvsram with Real Time Clock Features 1-Mbit nonvolatile static random access memory (nvsram) Internally organized as

More information

ECE 471 Embedded Systems Lecture 20

ECE 471 Embedded Systems Lecture 20 ECE 471 Embedded Systems Lecture 20 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 20 October 2017 Announcements Project coming Only one person was in class Wednesday due to Career

More information

AT25PE40. 4-Mbit DataFlash-L Page Erase Serial Flash Memory ADVANCE DATASHEET. Features

AT25PE40. 4-Mbit DataFlash-L Page Erase Serial Flash Memory ADVANCE DATASHEET. Features 4-Mbit DataFlash-L Page Erase Serial Flash Memory Features ADVANCE DATASHEET Single 1.65V - 3.6V supply Serial Peripheral Interface (SPI) compatible Supports SPI modes 0 and 3 Supports RapidS operation

More information

An SPI interface for the 65(C)02 family of microprocessors

An SPI interface for the 65(C)02 family of microprocessors Rev 4/B Dec 30, 2011 65SPI/B An SPI interface for the 65(C)02 family of microprocessors This device was created to provide a basic SPI interface for the 65xx family of microprocessors. Currently, the only

More information

FM25L04 4Kb FRAM Serial 3V Memory

FM25L04 4Kb FRAM Serial 3V Memory 4Kb FRAM Serial 3V Memory Features 4K bit Ferroelectric Nonvolatile RAM Organized as 512 x 8 bits Unlimited Read/Write Cycles 45 Year Data Retention NoDelay Writes Advanced High-Reliability Ferroelectric

More information

S25FL Family (Serial Peripheral Interface)

S25FL Family (Serial Peripheral Interface) S25FL Family (Serial Peripheral Interface) S25FL002D, S25FL001D 2 Megabit, 1 Megabit CMOS 3.0 Volt Flash Memory with 25 MHz SPI Bus Interface Distinctive Characteristics PRELIMINARY INFORMATION ARCHITECTURAL

More information

FM24C64C-GTR. 64Kb Serial 5V F-RAM Memory Features. Pin Configuration. Description A0 A1 A2 VSS VDD SCL SDA. Ordering Information.

FM24C64C-GTR. 64Kb Serial 5V F-RAM Memory Features. Pin Configuration. Description A0 A1 A2 VSS VDD SCL SDA. Ordering Information. Preliminary FM24C64C 64Kb Serial 5V F-RAM Memory Features 64K bit Ferroelectric Nonvolatile RAM Organized as 8,192 x 8 bits High Endurance 1 Trillion (10 12 ) Read/Writes 36 Year Data Retention at +75

More information

93C76/86. 8K/16K 5.0V Microwire Serial EEPROM FEATURES DESCRIPTION PACKAGE TYPES BLOCK DIAGRAM

93C76/86. 8K/16K 5.0V Microwire Serial EEPROM FEATURES DESCRIPTION PACKAGE TYPES BLOCK DIAGRAM 8K/16K 5.0V Microwire Serial EEPROM FEATURES PACKAGE TYPES Single 5.0V supply Low power CMOS technology - 1 ma active current typical ORG pin selectable memory configuration 1024 x 8- or 512 x 16-bit organization

More information

Serial Communication. Simplex Half-Duplex Duplex

Serial Communication. Simplex Half-Duplex Duplex 1.5. I/O 128 Serial Communication Simplex Half-Duplex Duplex 129 Serial Communication Master-Slave Master Master-Multi-Slave Master Slave Slave Slave (Multi-)Master Multi-Slave Master Slave Slave Slave

More information

2FOC. Dual Field Oriented Controller for brushless motors. icub

2FOC. Dual Field Oriented Controller for brushless motors. icub 2FOC Dual Field Oriented Controller for brushless motors The 2FOC board is a high performance motor controller capable of driving up to two 200W permanent magnet synchronous motors with vectorial algorithms

More information

EE 308 Spring Using the 9S12 SPI

EE 308 Spring Using the 9S12 SPI Using the 9S12 SPI The SPI has a data register (SPIDR) and a shift register. To write data to the SPI, you write to the SPIDR data register. The 9S12 automatically transfers the data to the shift register

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

FM24C16B-GTR. 16Kb Serial 5V F-RAM Memory. Features. Pin Configuration. Description. Ordering Information NC NC NC VSS VDD WP SCL SDA.

FM24C16B-GTR. 16Kb Serial 5V F-RAM Memory. Features. Pin Configuration. Description. Ordering Information NC NC NC VSS VDD WP SCL SDA. Preliminary FM24C16B 16Kb Serial 5V F-RAM Memory Features 16K bit Ferroelectric Nonvolatile RAM Organized as 2,048 x 8 bits High Endurance (10 12 ) Read/Write Cycles 38 year Data Retention NoDelay Writes

More information

AT45DQ321. Features. 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory with Dual-I/O and Quad-I/O Support

AT45DQ321. Features. 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory with Dual-I/O and Quad-I/O Support 32-Mbit DataFlash (with Extra 1-Mbits), 2.3V Minimum SPI Serial Flash Memory with Dual-I/O and Quad-I/O Support Features Single 2.3V - 3.6V supply Serial Peripheral Interface (SPI) compatible Supports

More information

EMBEDDED HARDWARE. Core Board. ARM7 Development board. ARM7 Evaluation Board. Page 1 of 5

EMBEDDED HARDWARE. Core Board. ARM7 Development board. ARM7 Evaluation Board. Page 1 of 5 Core Board * Size: 71.2mm *50.8mm * Industrial grade 32-bit RISC micro-controller * Mass storage device support * Industrial grade 16C550 Serial Interface * 10/100M Industrial Ethernet interface * USB

More information

(Serial Periphrial Interface (SPI) Synchronous Bus)

(Serial Periphrial Interface (SPI) Synchronous Bus) NM25C040 4K-Bit Serial CMOS EEPROM (Serial Peripheral Interface (SPI) Synchronous Bus) General Description The NM25C040 is a 4096-bit CMOS EEPROM with an SPI compatible serial interface. The NM25C040 is

More information

AT45DB021E. 2-Mbit DataFlash (with Extra 64-Kbits), 1.65V Minimum SPI Serial Flash Memory PRELIMINARY DATASHEET. Features

AT45DB021E. 2-Mbit DataFlash (with Extra 64-Kbits), 1.65V Minimum SPI Serial Flash Memory PRELIMINARY DATASHEET. Features AT45DB021E 2-Mbit DataFlash (with Extra 64-Kbits), 1.65V Minimum SPI Serial Flash Memory Features PRELIMINARY DATASHEET Single 1.65V - 3.6V supply Serial Peripheral Interface (SPI) compatible Supports

More information

FPGA Implementation Of SPI To I2C Bridge

FPGA Implementation Of SPI To I2C Bridge FPGA Implementation Of SPI To I2C Bridge Abhilash S.Warrier Akshay S.Belvadi Dhiraj R.Gawhane Babu Ravi Teja K Abstract Today s electronic system is not a standalone unit instead working in a group, where

More information

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab AVR Training Board-I V., Konkuk Univ. Tae Pyeong Kim What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small

More information

Design with Microprocessors

Design with Microprocessors Design with Microprocessors Lecture 6 Interfaces for serial communication Year 3 CS Academic year 2017/2018 1 st Semester Lecturer: Radu Dănescu Serial communication modules on AVR MCUs Serial Peripheral

More information

McMaster University Embedded Systems. Computer Engineering 4DS4 Lecture 6 Serial Peripherals Amin Vali Feb. 2016

McMaster University Embedded Systems. Computer Engineering 4DS4 Lecture 6 Serial Peripherals Amin Vali Feb. 2016 McMaster University Embedded Systems Computer Engineering 4DS4 Lecture 6 Serial Peripherals Amin Vali Feb. 2016 Serial Peripherals I2C Inter-IC Bus X/Y Coord. RGB data LCD config controller LCD data controller

More information

More on the 9S12 SPI Using the Dallas Semiconductor DS1302 Real Time Clock with the 9S12 SPI

More on the 9S12 SPI Using the Dallas Semiconductor DS1302 Real Time Clock with the 9S12 SPI More on the 9S12 SPI Using the Dallas Semiconductor DS1302 Real Time Clock with the 9S12 SPI Using the 9S12 SPI The SPI has a data register (SPIDR) and a shift register. To write data to the SPI, you write

More information