Figure Q3 shows the memory mapped I/O of a LPC1768 microcontroller. It shows that the microcontroller uses the same address space to address both memory and I/O devices. The memory and registers of the I/O devices are mapped to (associate with) address values. O4010 0000 APB1 peripherals LPC178 memory space OFFFF FFFF O400F Co00 31 O400C 0000 system control 30-16 reerved reserved OE010 0000 AHB peripherals O5020 0000 QEI O400B CO00 O00B 8000 1Mmotor control PWM O4008 4000 13 O400B 0000 repettive intemupt timer D40DA COD0 1 O400A 8000 O400A 4000 D O400A 0000 private peripheral bua 127-4 reserved OHECOO 0000 USB controller reserved reserved O5000 CO0 reserved O5020 0000 O5000 8000 reserved AHB periheras O5000 0000 GPDMA controler 10 O5000 4000 reserved Ethemet controller reserved ou4400 0000 Ds000 co0 peripheral bit band alias addressing O4200 0000 UARTS O4009 Co00 reserved FOu4010 0000 O4008 0000 UART2 O009 8000 O009 4000 5 O4009 0000 4 O4008 Co00 APBO peripherals 31-24 reserved APB1 peripherals D4008 0000 Timer 3 APB0 peripherale O4006 0000 O4005 CO00 O4004 CO00 O4004 8000 O4004 4000 O4004 0000 O4003 CO00 Timer 2 1 GB O4000 0000 23 reserved DAC a2400 0000 22 - 19 reserved SSPO AHB SRAM b band alas addressing 1-0 reserved O2200 0000 18 CANO O4008 0000 reserved 17 CANI GPIO 16 CAN common a2009 Co00 a2008 4000 a2007 Co00 FONTFFF 2000 OxIFFF 0000 OuT000 8000 15 CAN AF registers reserved 14 CAN AF RAM O4003 8000 O4003 4000 O4003 0000 05 08 AHB SRAM (2 bocks of 16 kB) 13 ADC reserved 12 SSPI 8 KB boot ROM pin connect O4002 CO00 O4002 8000 RTC backup regislers o402 4000 11 10 GPIO Intemupts reserved 32 KB local static RAM Hcode/Dcode ax1000 0000 SPI O4002 0000 memory space 17 O4001 CO00 O4001 B000 O4001 4000 reserved 16 PWMI O0000 0400 256 words reserved OH0008 0000 15 O0000 0000 active internupt veciors UART1 512 kB on-chip flash Jo:0000 0000 O4001 0000 UARTO O4000 CO00 12 TIMERI O4000 8000 TIMERO O4000 4000 D4000 0000 WOT
Figure Q3 shows the memory mapped I/O of a LPC1768 microcontroller. It shows that the microcontroller uses the same address space to address both memory and I/O devices. The memory and registers of the I/O devices are mapped to (associate with) address values. O4010 0000 APB1 peripherals LPC178 memory space OFFFF FFFF O400F Co00 31 O400C 0000 system control 30-16 reerved reserved OE010 0000 AHB peripherals O5020 0000 QEI O400B CO00 O00B 8000 1Mmotor control PWM O4008 4000 13 O400B 0000 repettive intemupt timer D40DA COD0 1 O400A 8000 O400A 4000 D O400A 0000 private peripheral bua 127-4 reserved OHECOO 0000 USB controller reserved reserved O5000 CO0 reserved O5020 0000 O5000 8000 reserved AHB periheras O5000 0000 GPDMA controler 10 O5000 4000 reserved Ethemet controller reserved ou4400 0000 Ds000 co0 peripheral bit band alias addressing O4200 0000 UARTS O4009 Co00 reserved FOu4010 0000 O4008 0000 UART2 O009 8000 O009 4000 5 O4009 0000 4 O4008 Co00 APBO peripherals 31-24 reserved APB1 peripherals D4008 0000 Timer 3 APB0 peripherale O4006 0000 O4005 CO00 O4004 CO00 O4004 8000 O4004 4000 O4004 0000 O4003 CO00 Timer 2 1 GB O4000 0000 23 reserved DAC a2400 0000 22 - 19 reserved SSPO AHB SRAM b band alas addressing 1-0 reserved O2200 0000 18 CANO O4008 0000 reserved 17 CANI GPIO 16 CAN common a2009 Co00 a2008 4000 a2007 Co00 FONTFFF 2000 OxIFFF 0000 OuT000 8000 15 CAN AF registers reserved 14 CAN AF RAM O4003 8000 O4003 4000 O4003 0000 05 08 AHB SRAM (2 bocks of 16 kB) 13 ADC reserved 12 SSPI 8 KB boot ROM pin connect O4002 CO00 O4002 8000 RTC backup regislers o402 4000 11 10 GPIO Intemupts reserved 32 KB local static RAM Hcode/Dcode ax1000 0000 SPI O4002 0000 memory space 17 O4001 CO00 O4001 B000 O4001 4000 reserved 16 PWMI O0000 0400 256 words reserved OH0008 0000 15 O0000 0000 active internupt veciors UART1 512 kB on-chip flash Jo:0000 0000 O4001 0000 UARTO O4000 CO00 12 TIMERI O4000 8000 TIMERO O4000 4000 D4000 0000 WOT
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Topic Video
Question
1)By referring to the memory map, identify the start and end addresses of the generalpurpose input/output (GPIO) and the Analog-to-Digital (ADC) registers.
2)For an LPC1768 microcontroller, write a sequence of assembly instruction to set the
byte 2 of port 1 as input, while the byte 3 of port 1 as output
3)
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education