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)
0xF0008414 ???
0xF0008420 ???
0xF0008468 IRQ status/ack for IRQ 0x11
0xF0008470 IRQ status/ack for IRQ 0x12
0xF0008474 ???
0xF0008478 ??? IRQ enable flags??
0xF00084B0 ???
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
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.1744842188.txt.gz · Last modified: 2025/04/16 22:23 by arisotura

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki