Electronic Components Datasheet Search |
|
V3020SO8B Datasheet(PDF) 12 Page - EM Microelectronic - MARIN SA |
|
|
V3020SO8B Datasheet(HTML) 12 Page - EM Microelectronic - MARIN SA |
12 / 17 page R V3020 Copyright © 2005, EM Microelectronic-Marin SA 12 www.emmicroelectronic.com Status Information The RAM addresses 0 and 1 contain status control data for the V3020. The function of each ibt (0 and 7) within address locations 0 and 1 is shown in Table 7a and 7b respectively. Status Word Status 0 - address 0 0 - inactive 7654 3210 1 - active Read / Write bits Frequency Measurement Mode Reserved Test Mode 0 Test Mode 1 Time Set Lock Reserved Reserved Reserved Table 7a Status 1 - address 1 0 - No change from last Copy_clock_to_RAM 76543210 1 - Change from last Read ONLY bits Copy_clock_to_RAM Seconds Minutes Hours Day of month Month Year Week day Week number Table 7b Reset and Initialization Upon microprocessor recovery from a system reset, the V3020 must be initialized by software in order to guarantee that it is expecting a communication cycle (ie. the internal serial buffer is waiting for the address bit A0). Software can initialize the V3020 to expect a communication cycle by executing 8 microprocessor reads (see Fig. 10). Initializing Access to the V3020 Fig. 10 On first startup or whenever power has failed (VDD < 1.2V) the status register 0 and the clock must be initialized by software Having initialized the interface to expect the address bit A0, write 0 to status register 0, then set the clock (see section "Clock and Calendar"). Time and Date Status Bits There are time and date status bits at address 1 in the RAM. Upon executing a Copy_clock_to_RAM command, the time and date status bits in the RAM show which time and date parameters changed since the last time this command was used. A logic 1 in the seconds status bit (address1, bit 0) in the RAM indicates that the seconds location in the RAM (address 2) changed since the last Copy_clock_to_RAM command and thus need to be read. The seconds location must change before any other time or date location can change. If the seconds status bit is clear, then no time or date location changed since the last Copy_clock_to_RAM command and so the RAM need not to be read by software. Table 7b shows the seconds, minutes, hours, day of the month, month, year, week day, and week number status bit locations. They are set or cleared similar to the seconds location. It should be noted that if the minutes status bit is clear, then the seconds bit may be set, but ail other status bits are clear. Similarly with hours, the bits representing the units less than hours may have been set, but the bits for the higher units will be clear. This rule holds true for the week day or day of month locations also. The time and date status bits can be used to drive software routines which need to be executed every -second, -minute, -hour, -day of month / weekday, -month, -year, or -week. In this application it is necessary to poll the V3020 at least once every time interval used as it does not generate an interrupt. Upon executing a Copy _RAM_to_clock command, the time and date status bits in the RAM are cleared. Time Set Lock The time set lock control bit is located at address 0, bit 4 (see Table 7a). When set by software, the bit disables the Copy_RAM_to_clock command (see section "Commands".) A set bit prevents unauthorized overwriting of the current time and date in the clock. Clearing the time set lock bit by software will re-enable the Copy_RAM_to_clock command. On first startup or whenever power has failed (VDD < 1.2 V), the time set lock bit must be setup by software. |
Similar Part No. - V3020SO8B |
|
Similar Description - V3020SO8B |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |