| Electronic Components Datasheet Search |
|
7721 Datasheet(PDF) 538 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7721 Datasheet(HTML) 538 Page - Renesas Technology Corp |
|
538 / 577 page ![]() APPENDIX 7721 Group User’s Manual 17–75 Appendix 9. 7721 Group Q & A DRAM, WIT instruction A (2) Method using timer A or timer B Return from the wait mode by a timer A ( or timer B) interrupt every definite time. Control ____ ____ ports P104, P105 by software and perform the CAS-before-RAS-refresh. Example 2: A case in 512 refresh cycles, every 64 ms, f(XIN) = 25 MHz, timer A0 used •DRAM refresh is performed 512 times by timer A0 interrupts. This interrupt occurs every 64 ms. (See flow chart .) (2/2) N Y N Y Flow chart Main routine ← “1” Bits 4, 5 of port P10 direction register (address 1816) ← “1” Bits 4, 5 of port P10 register (address 1616) DRAM validity bit (bit 7 at address 6416) ← “0” Timer A0 mode register (address 5616) ← “110000002” Timer A0 register (addresses 4716, 4616) ← 3124 Timer A0 interrupt control register (address 7516) ← “XXXX00012” Timer A0 count start bit (bit 0 at address 4016) ← “1” Interrupt enable flag I ← “0” WIT instruction Wait mode completed ? Wait mode Timer A0 interrupt routine ← “0” Bit 4 of port P10 register (address 1616) ← “0” Bit 5 of port P10 register (address 1616) ← “1” Bit 4 of port P10 register (address 1616) ← “1” Bit 5 of port P10 register (address 1616) 512 times ? RTI Return to main routine Port P105 (RAS): “H” level output Port P104 (CAS): “H” level output Port P105 (RAS): “L” level output Port P104 (CAS): “L” level output Ports P104, P105: “H” level output DRAMC stopped f512 counted Timer value set: One cycle = 64 ms Interrupt priority level set: Level 1 or more (Interrupt enabled) Timer A0 count started Interrupt enabled Note: By using 1 bit of RAM, judge whether this interrupt is for return from the wait mode or for refresh. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |