Hardware reference

Packet RAM addressing

On this page

The same packet SRAM byte has several representations, one per hardware user. They are not interchangeable, and mixing them corrupts memory silently instead of faulting.

Address classes

Class Form Used for
CPU address, runtime pool 0x0900_7000–0x0901_662f CPU loads and stores, software ownership records
CPU address, RX FIFO 0x0940_0000–0x0940_7fff CPU access to FIFO slots
MAC packet offset cpu & 0x007f_ffff MAC registers and command-word operands
DMA bus address cpu & 0xf6ff_ffff HIF descriptors, AES source and destination, packet DMA
A-MPDU transfer word 0x6500_0000 | (cpu & 0x001f_fffc) MAC command streams only
RX FIFO offset below 0x7000 Producer and consumer registers

For example, the HIF input buffers at CPU address 0x0900_800c appear as MAC offset 0x0000_800c and bus address 0x0000_800c, and an aggregate member there is transferred with the word 0x6500_800c. A FIFO slot at offset 0x0120 is read by the CPU at 0x0940_0120.

Conversion rules