1 / 6

The Silicon Laboratories C8051F020

The Silicon Laboratories C8051F020. Enhanced 8051 Part 1 External RAM. Memory Interface. address. data. CPU. Memory. control. On-chip “External” RAM. “external” RAM accessed with movx instruction. Can add MORE memory Interfaced using External Data Memory Bus. Memory Expansion.

fadhila
Download Presentation

The Silicon Laboratories C8051F020

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Silicon Laboratories C8051F020 Enhanced 8051 Part 1 External RAM ECE/CS-352: Embedded Microcontroller Systems

  2. Memory Interface address data CPU Memory control ECE/CS-352: Embedded Microcontroller Systems

  3. On-chip “External” RAM “external” RAM accessed with movx instruction Can add MORE memory Interfaced using External Data Memory Bus ECE/CS-352: Embedded Microcontroller Systems

  4. Memory Expansion Can add more external RAM port 4 implements control lines ports 5 and 6 implement address bus port 7 implements data bus ECE/CS-352: Embedded Microcontroller Systems

  5. Using External RAM • Used to hold large data sets • Accessed with movx instruction • MOVX A, @Ri Move external data to A register • MOVX @Ri, A Move A to external data (8-bit address) • MOVX A, @DPTR Move external data (16-bit address) to A • MOVX @DPTR, A Move A to external data (16-bit address) ECE/CS-352: Embedded Microcontroller Systems

  6. Points to Remember • Remember that the data pointer can be incremented, but not decremented. • Always remember to setup the DPTR with the location to be written to: • mov DPTR, #0100h • If using a register Ri, only R0 or R1 can be used. ECE/CS-352: Embedded Microcontroller Systems

More Related