| Electronic Components Datasheet Search |
|
DP8344 Datasheet(PDF) 41 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP8344 Datasheet(HTML) 41 Page - National Semiconductor (TI) |
|
41 / 184 page ![]() 20 CPU Description (Continued) The CPU will be stopped after RESET is asserted low The CPU can be externally controlled by changing the state of the start bit STRT in RIC The CPU starts executing instructions from the current address in the program control register when a one is written to STRT and stops when STRT is cleared The CPU will complete the current in- struction before stopping Controlling the CPU from RIC requires a processor to access RIC If no external proces- sor is present the CPU can be made to start automatically after reset by holding REM-WR and REM-RD low and RAE high while RESET is transitioning from low to high The CPU ‘‘kick-starts’’ and will begin executing instructions from ad- dress zero The timing for kick-starting the CPU is shown in Figure 2-32 ICLK rises on the rising edge of CPU-CLK one T-state after RESET is de-asserted The falling edge of ICLK signifies the beginning of the first instruction fetch Three instruction wait states and T2 precede the first in- struction A functional state diagram describing the timing of the CPU is shown in Figure 2-33 The functional state diagram is sim- ilar to a flow chart except that transitions to a new state (states are denoted as rectangular boxes) can only occur on the rising edge of the CPU-CLK A state box can specify several actions and each action is separated by a horizon- tal line A signal name listed in a state box indicates that that pin will be asserted high when Timing Control has entered that state When the signal is omitted from a box it is as- serted low (Note this requires using the inversion of a sig- nal in some cases) Decision blocks are shown as diamonds and their meaning is the same as in a flow chart The func- tional state diagram is a generalized approach to determin- ing instruction flow while allowing for any combination of wait states and control signals Timing Control always starts from a reset in the state IDLE After RESET goes high Tim- ing Control remains in IDLE until STRT is written high If the BCP kick-starts Timing Control enters TST on the next rising edge of CPU-CLK Timing Control starts with a dummy instruction cycle in order to fetch the first instruction ICLK goes high in T1 and the instruction wait state counter is loaded ICLK falls when either T2 or TW is entered as deter- mined by the value of iIW and WAIT The normal instruction flow begins after T2 at B on the diagram As an example consider a three T-state data memory write instruction with one data wait state The instruction cycle path for this in- struction would begin at T1 following the decision block for data memory access In T1 ICLK is asserted high the in- struction wait state counter is loaded and a bus request to RIAS is generated Also ALE is asserted high on the falling edge of CPU-CLK during T1 A branch decision is now made based on the state of LOCK and the response from RIAS to the bus request Assuming that LOCK is not asserted and a remote access is not in progress Timing Control enters TX on the next rising edge of CPU-CLK In TX the data wait state counter is loaded and the instruction wait state coun- ter is decremented In this example the instruction wait state counter is at zero and is not counting The data wait state counter is loaded with one ALE goes low on the fall- ing edge of CPU-CLK during TX The next decision block checks for a read of data memory This example is a write to data memory so the decision is no and the branch is to the right The wait state conditions are evaluated in the follow- ing decision block iDW is one and Timing Control enters TW on the next rising edge of CPU-CLK WRITE is asserted low when TW is entered and the data wait state counter is dec- remented to zero The decision on iDW iIW and WAIT is now true and T2 is entered on the next rising edge of CPU- CLK WRITE remains low The CPU will stop execution if STRT is low at B in the diagram Otherwise the next in- struction will be executed beginning at A To summarize this instruction went through the following states T1 TX TW and T2 The complete instruction cycle is shown in Fig- ure 2-21 Any instruction cycle can be analyzed in a similar manner using this functional state diagram TLF9336 – F5 FIGURE 2-32 CPU Start-Up Timing 41 |
|
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 |