Project Blacksphere Intro Hardware 331x/3330 ARM DSP Phone models Peripherals CCont Initialisation Register I/O A/D converters Port map LCD MBUS Nokia OS Software Glossary of Terms Todo Credits Forum Guestbook

CCont ports

The Nokia OS uses a different numbering scheme for reading and writing CCont addresses than we do, (we use the hardware addresses). Their IDs (for reading writing) for each address are given with the "(Nokia w/0x00)" clause.
Addr r/w Size [class] Description
00 w 1 [ccont] Control register (Nokia w/0x00)
bits r/w Description
00000100 w SIM VSel (0=3V 1=5V)
00001000 w Enable AD converters
01110000 w AD converter ID to read
10000000 w (charger, EM) Enable PWM
01 w 1 [ccont] PWM (charger) (Nokia w/0x01)
Describes the speed at which charging is done

=0x00 BATT TEMP POWER OFF
=0x01 CHARGER OVERCURRENT CHECK
=0x70
=0x3F
=0xFF Fast charge mode
02 r 1 [ccont] A/D read (Nokia r/0x02)
bits r/w Description
11111111 r AD value (bit 7-0)
03 rw 1 [ccont] A/D read (Nokia r/0x04,w/0x03)
bits r/w Description
00000011 r AD value (bit 9-8)
11111100 r CCont interface test (must be 101100)
04 rw 1 [ccont] (Nokia r/0x03,w/0x05)
bits r/w Description
00100000 w Set in IRQ 6(HEADDET/HOOKDET) handling
05 w 1 [ccont] Watchdog (WDReg) (Nokia w/0x06)
Watchdog timer setting

=0x00 power off now
=0x20 Initial default 32 seconds
=0x31 (ccont_iets - watchdog?)
=0x3F disable watchdog?
06 w 1 [ccont] (Nokia w/0x07)
bits r/w Description
00000010 w RTC enabled
07 rw 1 [ccont] (Nokia r/0x09,w/0x08)
bits r/w Description
00111111 r RTC second
10000000 r RTC ??
08 r 1 [ccont] (Nokia r/0x0A)
bits r/w Description
00111111 r RTC minute
09 r 1 [ccont] (Nokia r/0x0B)
bits r/w Description
00011111 r RTC hour
0A rw 1 [ccont] (Nokia r/0x0C,w/0x0C)
bits r/w Description
00111111 rw RTC day
0B rw 1 [ccont] (Nokia r/0x0D,w/0x0D)
bits r/w Description
00111111 rw RTC alarm minute
0C rw 1 [ccont] (Nokia r/0x0E,w/0x0E)
bits r/w Description
00011111 rw RTC alarm hour
10000000 rw RTC ??
0D rw 1 [ccont] RTC calibration value (Nokia r/0x0F,w/0x0F)
bits r/w Description
00111111 rw RTC ?? value
01000000 rw RTC ?? value is large (>60)
10000000 rw RTC ?? value sign 0 negative 1 positive
0E rw 1 [ccont] Interrupt lines (Nokia r/0x10,w/0x10)
0=inactive 1=pending
Write 1 to a bit to release pending interrupt.
bits r/w Description
00000001 rw RTC battery present Please note the 33xx series has no RTC battery and loses time when batt is disconnected.
00001000 rw CContINT 3
00010000 rw CContINT 4
00100000 rw CContINT 5
01000000 rw CContINT 6
10000000 rw CContINT 7
0F rw 1 [ccont] Interrupt mask (Nokia r/0x11,w/0x11)
0=passed 1=masked

Last updated: 2005-02-21 14:19

This site is the result of a great deal of assembly code reading, research, countless (mostly futile) searches for data sheets, cross-referencing and analysing. If you use this information in any way please mention wumpus <blacksphere@goliath.darktech.org> (and others in the credits section) in the credits of your program/document. And tell me :) If you have more information please contribute. If you just copy this, stick your name on it and call it yours I hope you get your genitals bitten off by a three headed monkey. Have a nice day.

No mobile phones were harmed in the production of this site.