release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Search | Go
Wiki > Main > GigabeatSPort > GigabeatSInfo > MC13783Regs

MC13783 Register Summaries

Outline

The Freescale Atlas MC13783 power management chip has a datasheet available, but it isn't very complete - the register summaries for the entire device is missing.
Without this information, we have a hard time working out how to take advantage of the features of the device, such as reading the battery level, controlling the backlight, and controlling the basic power functions of the device.

Most of the information gleaned on this page has come from the Linux BSP provided by freescale.

Note: Registers for which no information has been gathered yet have been omitted from this page

Registers

Interrupt Status 0 (Register 0)

Bit number Information
23  
22 CKDETI (?)
21 SE1I (? - Set when charger inserted)
20  
19 IDI (?)
18  
17  
16 USB
15  
14 Low battery (H)
13 Low battery (L)
12 BPONI (?)
11 Charge current below threshold
10 CC/CV
9 Battery Charge Short Circuit
8 Battery Charge Reverse
7 Battery Charge Overvolt
6 Charger Detect
5  
4 WLOWI (?)
3 ADC Reading above high limit
2 Touchscreen
1 ADCBISDONE
0 ADC Done

Interrupt Sense 0 (Register 2)

Bit number Information
23  
22 CKDETS (?)
21 SE1S (? - Set when power cable inserted)
20 ID_GND (?)
19 ID_FLOAT (?)
18 USB 0v8
17 USB 2v0
16 USB 4v4
15  
14 Low battery (H)
13 Low battery (L)
12 BPONS (?)
11 Charger current
10 CC/CV
9 Charger short circuit
8 Charger reverse
7 Charger Overvolt
6 Charger detect
5  
4  
3  
2  
1  
0  

Interrupt Status 1 (Register 3)

Bit number Information
23  
22  
21 Detect Short circuit on AHS outputs
20 Detect thermal shudown of ALSP
19 Detect stereo headset
18 Detect headset attach
17 Microphone Bias 2 Detect
16  
15 SEMAFI (?)
14 CLKI (?)
13 THWARNHI (?)
12 THWARNLI (?)
11 Power Ready
10 MEMHLDI (?)
9 WARMI (?)
8 PCI (?)
7 RTC Reset
6 System Reset
5 ONOF3I (?)
4 Set when headphones plugged in
3 Power button pressed
2  
1 RTC Time of day
0 RTC 1HZ

Interrupt Sense 1 (Register 5)

Bit number Information
23  
22  
21 Short circuit on AHS
20 Thermal Shutdown of ALSP
19 Headset stereo
18 Headset detect
17 Microphone Bias 2
16  
15  
14 CLKS (?)
13 THWARNLS (?)
12 THWARNHS (?)
11 Power ready
10  
9  
8  
7  
6  
5 ONOFD3S (?)
4 Headphone connect - 0 if connected
3 Bit is unset when power button is held
2  
1  
0  

Power Control 0 (Register 13)

Bit number Information
23  
22  
21  
20  
19  
18  
17  
16  
15  
14  
13  
12  
11  
10  
9  
8  
7  
6 32khz clock output enable
5 32khz clock output "USER_OFF" - (?)
4  
3 Writing 1 to this bit will shut off power to the MCU (shutdown)
2  
1  
0 PC (Power control?) enable

RTC Time (Register 20)

This register counts up once per second to 86399 and wraps to 0, incrementing the RTC Day register by 1. Every time this counter is incremented an interrupt is generated and the appropriate bit is set on Interupt Status 1 (Not tested/verified yet)

RTC Alarm (Register 21)

Every time RTC Time is incremented, it is checked against this register, and if the two values match, an interrupt is generated, and the appropriate bit is set in the Interrupt Status 1 register. (Not tested/verified yet)

ADC0 (Register 43)

ADC0 is used for touchscreen interfacing - not used in the Gigabeat S.

LED Control 0 (Register 51)

Bit number Information
23  
22  
21  
20  
19  
18  
17  
16  
15  
14  
13  
12  
11  
10 "Boost" enable - only MC13783 v2.0 or higher - (?)
9  
8  
7  
6 Key backlight ramp down (fixed at 0.5s) - (?)
5 Aux backlight ramp down (fixed at 0.5s) - (?)
4 Main backlight ramp down (fixed at 0.5s) - (?)
3 Key backlight ramp up (fixed at 0.5s) - (?)
2 Aux backlight ramp up (fixed at 0.5s) - (?)
1 Main backlight ramp up (fixed at 0.5s) - (?)
0 Backlight master enable/disable bit

r3 - 02 Apr 2021 - 20:46:07 - UnknownUser

Copyright © by the contributing authors.