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



Search | Go
Wiki > Main > GigabeatSPort > GigabeatSInfo > MC13783Regs (r1)

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? (?)
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 CHGDETI (?)
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  
21 Bit is set when power cable inserted
20  
19  
18 Bit is set when USB cable inserted
17 Bit is set when USB cable inserted
16 Bit is set when USB cable inserted
15  
14  
13  
12  
11  
10  
9  
8  
7  
6 Bit is set when power cable inserted
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 ONOF2I? (?)
3 Power button pressed
2  
1 RTC Time of day
0 RTC 1HZ

Interrupt Sense 1 (Register 5)

Bit number Information
23  
22  
21  
20  
19  
18  
17  
16  
15  
14  
13  
12  
11  
10  
9  
8  
7  
6  
5  
4 Headphone connect - 0 if connected
3  
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)

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
Edit | Attach | Print version | History: r2 < r1 | Backlinks | View wiki text | More topic actions...
r1 - 21 Feb 2008 - 15:18:28 - WillRobertson
Copyright by the contributing authors.