User Tools

Site Tools


camera_controller

This is an old revision of the document!


Camera controller

NOTE: this is a findings dump for now. It is unclear what is what, so there may be stuff pertaining to the h265 codec in here. Not sure how interwoven it is with the camera controller.

Known registers:

Address Desc.
0xF0000800 ??? (might not be strictly camera-related)
0xF000081C ??? address for some buffer
0xF0000820 ??? set to 0x400000
0xF0000828 ??? set to same as F000081C
0xF000082C ??? set to 0x400000
0xF0008414 ???
0xF0008420 ???
0xF0008460 ??? buffer? position?
0xF0008468 IRQ status/ack for IRQ 0x11
0xF000846C ??? buffer? position?
0xF0008470 ??? buffer? position?
0xF0008474 ??? buffer? position?
0xF0008478 ??? IRQ enable flags??
0xF00084A4 buffer address for incoming h265 data?
0xF00084A8 another buffer address?
0xF00084AC ??? buffer? position?
0xF00084B0 IRQ status/ack for IRQ 0x12
0xF00084B8 ???
0xF0008800 ???
0xF0008810 ??? control reg?
0xF0008814 ???
0xF000881C+(N*8) table N, bytes 0..3 (N=0..7)
0xF0008820+(N*8) table N, byte 4
0xF000886C ???
0xF000887C+(N*8) table N, bytes 0..3 (N=0..7)
0xF0008880+(N*8) table N, byte 4
0xF00088B4 ??? (related to framerate?) (actually part of the tables above)
0xF0008C00 ???
0xF0008C04 ??? weird value, timings?
0xF0008C08 Resolution?
0xF0008C10 ???
0xF0008C28 ???
0xF0008C2C ???
0xF0008C34 ???
0xF0008C70 IRQ status/ack for IRQ 0x10
0xF0008C74 ??? related to IRQ 0x10?
0xF0009000 ??? control register?
0xF0009004 ??? vertical resolution?
0xF0009008 ???
0xF0009028 IRQ disable/status/ack for IRQ 0x14
0xF0009030 ??? (IRQ position?? think F0009508)
0xF0009034 ??? (IRQ position??)
0xF0009038 IRQ status/ack for IRQ 0x1D
0xF0009040 extra IRQ status/ack for IRQ 0x14
0xF0009044 ???

Related IRQs:

IRQ Desc.
0x10 ???
0x11 data ready?
0x14 ???
0x1D ???

0xF0009028

IRQ disable, status and acknowledge, condensed into one register.

Bits 0-7 are the status flags. Bits 8-15 are the disable flags (ie. setting a bit to 1 disables the corresponding IRQ). Bits 16-23 are the acknowledge flags, ie. writing a 1 to a bit acknowledges the corresponding IRQ.

IRQ bit Desc.
0 Vertical IRQ
1 ???
2 ???
3 ???
4 ???
5 ???
6 ???
7 ???

IRQ 1, 2 and 5 are unused by the stock firmware.

IRQ 0 fires at the position specified by register 0xF00094F8 plus 8 scanlines.

These IRQ conditions are connected to IRQ 0x14.

camera_controller.1744849007.txt.gz · Last modified: 2025/04/17 00:16 by arisotura

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki