RTC device driver - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

RTC device driver

Description:

Title: PowerPoint Author: bread Last modified by: SuperXP Created Date: 8/16/2004 3:16:08 AM Document presentation format: Company – PowerPoint PPT presentation

Number of Views:99
Avg rating:3.0/5.0
Slides: 17
Provided by: brea76
Category:
Tags: rtc | device | driver | uart

less

Transcript and Presenter's Notes

Title: RTC device driver


1
RTC device driver
  • ??? 693415077 ???
  • ???? 691440019 ???

2
Outline
  • ??
  • Collie ??????
  • ??RTC
  • ??????????
  • RTC?????
  • RTC???
  • CCR EEPROM???
  • X1226?ML-I0101?????
  • ??

3
??
  • ??Project???????ML-I0101????RTC???,????
    ????,?????ML-I0101???????,?????????RTC???(??????),
    ????ML-I0101?????????,???RTC??,??ML-I0101???,?????
    ?????????????X1226?????,512 bytes
    EEPROM,????????,?????????

4
MicroLinks Collie Platform??
  • ????
  • Collie ????????????
  • SDRAM ?????????
  • FlashROM (NOR Flash) ??????????????
  • Boot ROM ??????,?????????Flash ROM ??

5
???
8. Audio input/output 9. 10BaseT Ethernet
10. Touch panel 11. USB host 12. VGA 13.
UART
1. Collie chip 2. 32MB SDRAM 3. 8MB Flash
Rom 4. 512 KB Boot Rom 5. STN/TFT-LCD
interface 6. IDE interface 7. PCMCIA interface
6
  • uClinux
  • uClinux???????????????(MMU)?OS?
  • uClinux?????,Dragon Ball?MC68328?ARM7TDMI??
  • Collie I0101????uClinux??Embedded Linux system?

7
??RTC (1/2)
  • RTC Real Time Clock ( Calendar )
  • ??????,??????,??????????,RTC????????????
  • ???????Chip,X1226,????
  • ???????????,???????????????????????
  • ??alarms,?????????????????
  • ?????,????????,??????????

8
??RTC (2/2)
  • ??512 Bytes ? EEPROM ???
  • ??i2c???????????????????
  • ????CMOS,?????????0.6uA,?????????1uA,

9
RTC?????
  • X1226 ???i2c?????
  • i2c ??????
  • Serial Clock(SCL) ????
  • Serial Data(SDA) ??????,?????????

10
RTC??? (1/2)
1.   
  • RTC ???-Clock/Control Register(CCR)

11
RTC??? (2/2)
  • Alarm ??????CCR?

12
CCR EEPROM???
  • EEPROM
  • EEPROM?X1226??512 Bytes
  • ???0x0?0x1ff
  • ???CCR(Clock/Control Register)?????????,???EEPROM?
    ???10101110?Slave Address (RTC?),?????EEPROM
  • ????CCR????11011110?Slave Address (RTC?) ,?????RTC

13
X1226?ML-I0101?????
  • ??GPIO??i2c???,??SCL?SDA??GPIO?

14
???MLI-0101
15
??
  • ??RTC?????(Driver)??????,??????????(Application)??
    ??RTC?????????????????????????,???????????
  • RTC????????
  • ??ioctl()??????RTC???,????RTC?????,??????????
  • ??insmod driver???,???????????
  • EEPROM???
  • ??????EERPOM?

16
  • END
Write a Comment
User Comments (0)
About PowerShow.com