介绍

芯片手册下载链接

点击下载
树莓派4B使用的是BCM2711

步入正题

BCM2711上面的外设:

  • 定时器
  • 中断控制器
  • GPIO
  • USB
  • PCM / I2S
  • DMA
  • IIC
  • SPI
  • PWM
  • UARTS

地址映射介绍 --- 简单记录下

  • full 35-bit address bus

该部分,分为两个模式:normal(相对于后一个模式,实际上并没有),Low Peripheral

两个模式都是采用的35位的地址

区别在于:外设的地址位置,详情可看下图。

The ARM section of the RAM starts at 0x0_0000_0000 and extends up to the size of installed SDRAM.
The VideoCore section of the RAM is mapped in from 0x0_4000_0000 downwards.

VideoCore 部分的大小取决于config文件

  • 32-bit Legacy Master

在芯片手册中的外设地址都是32位下的
VideoCore需要将外设的地址翻译为35位

Address map

posted @ 2022-05-01 21:19  sunshineoier  阅读(527)  评论(0)    收藏  举报