| 전자부품 데이터시트 검색엔진 |
|
DSPIC33F 데이터시트(PDF) 56 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DSPIC33F 데이터시트(HTML) 56 Page - Microchip Technology |
|
56 / 80 page ![]() dsPIC33F/PIC24H PROGRAMMING SPECIFICATION DS70152D-page 56 Preliminary © 2007 Microchip Technology Inc. 5.2.1 SIX SERIAL INSTRUCTION EXECUTION The SIX control code allows execution of dsPIC33F/ PIC24H Programming Specification assembly instruc- tions. When the SIX code is received, the CPU is sus- pended for 24 clock cycles, as the instruction is then clocked into the internal buffer. Once the instruction is shifted in, the state machine allows it to be executed over the next four clock cycles. While the received instruction is executed, the state machine simultaneously shifts in the next 4-bit command (see Figure 5-2). 5.2.2 REGOUT SERIAL INSTRUCTION EXECUTION The REGOUT control code allows for data to be extracted from the device in ICSP mode. It is used to clock the contents of the VISI register out of the device over the PGD pin. After the REGOUT control code is received, the CPU is held Idle for 8 cycles. After these eight cycles, an additional 16 cycles are required to clock the data out (see Figure 5-3). The REGOUT code is unique because the PGD pin is an input when the control code is transmitted to the device. However, after the control code is processed, the PGD pin becomes an output as the VISI register is shifted out. FIGURE 5-2: SIX SERIAL EXECUTION FIGURE 5-3: REGOUT SERIAL EXECUTION Note 1: Coming out of Reset, the first 4-bit control code is always forced to SIX and a forced NOP instruction is executed by the CPU. Five additional PGC clocks are needed on start-up, thereby resulting in a 9-bit SIX command instead of the normal 4-bit SIX command. After the forced SIX is clocked in, ICSP operation resumes as normal (the next 24 clock cycles load the first instruction word to the CPU). 2: TBLRDH, TBLRDL, TBLWTH and TBLWTL instructions must be followed by a NOP instruction. Note: Data is transmitted on the falling edge and latched on the rising edge of PGC. For all data transmissions, the Least Significant bit (LSb) is transmitted first. P4 23 12 3 23 24 1 2 3 4 P1 PGC P4a PGD 24-Bit Instruction Fetch Execute 24-Bit Instruction, Execute PC – 1, 14 00 0 0 Fetch SIX Control Code Fetch Next Control Code 45 6 7 8 18 19 20 21 22 17 LSB X X X X X X X X X X X X X X MSB PGD = Input P2 P3 P1B P1A 56 7 00 0 0 00 0 Only for Program Memory Entry 89 00 1 2 34 12 7 8 PGC P4 PGD PGD = Input Execute Previous Instruction, CPU Held in Idle Shift Out VISI Register<15:0> P5 PGD = Output 12 3 12 3 4 P4a 11 13 15 16 14 12 No Execution Takes Place, Fetch Next Control Code 0 00 0 0 PGD = Input MSb 1 2 3 4 1 45 6 LSb 14 13 12 ... 11 10 0 Fetch REGOUT Control Code 0 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |