| Zakładka z wyszukiwarką danych komponentów |
|
MAS3549F Arkusz danych(PDF) 30 Page - Micronas |
|
|
|||||||||||||||||||||||||||||
MAS3549F Arkusz danych(HTML) 30 Page - Micronas |
|
30 / 92 page ![]() MAS 35x9F DATA SHEET 30 June 30, 2004; 6251-505-1DS Micronas 3.3.2.9. Default Read The Default Read command is the fastest way to get information from the MAS 35x9F. Executing the Default Read in a polling loop can be used to detect a special state during decoding. The Default Read command immediately returns the lower 16 bit content of a specific RAM location as defined by the pointer D0:ffb. The pointer must be loaded before the first Default Read action occurs. If the MSB of the pointer is set, it points to a memory location in D1 rather than to one in D0. Example: For watching D1:123 the pointer D0:ffb must be loaded with 8123hex: <DW 68 e0 00 write to D0 memory 00 01 1 word to write 0f fb start address ffb 00 08 value = 8... 01 23> ...0123hex Now the Default Read commands can be issued as often as desired: <DW 69 <DR Default Read command dd dd > 16 bit content of the address as defined by the pointer <DW 69 <DR dd dd > ... and do it again 3.3.2.10.Fast Program Download (Code 6hex) The Fast Program Download command introduces a data transfer via the parallel port. n = n2,n1,n0 denotes the number of 20-bit data words to be trans- ferred, a = a3,a2,a1,a0 gives the start address. The data must be organized in two times five nibbles to get two words of 20-bit length. If the number n of 20-bit data words is odd, the very last word has to be padded with one additional nibble. The download must be initiated in the following order: – Issue Freeze command – Stop all DMA-transfers – Issue Fast Program Download command – Download code via PIO-interface – Switch appropriate memory area to act as program RAM (register EDhex) –Issue a Run command to start program execution at entry point of downloaded code Example for Fast Program Download command: Download 5 words starting at D0:800, then download 4 words starting at D1:200: <DW 68 00 00> Freeze <DW 68 b3 b0 03 18> Stop all internal transfers <DW 68 b4 30 03 00> <DW 68 b4 b0 00 00> <DW 68 b5 30 03 18> <DW 68 b6 b0 00 00> <DW 68 bb b0 03 18> <DW 68 bc 30 03 00> <DW 68 b0 60 00 00> <DW 68 60 05 initiate download of 5 words 08 00> start at address D0:800 Now transfer 5 20-bit words via the parallel PIO-port: d4,d3 d2,d1 d0,d4 d3,d2 d1,d0 d4,d3 d2,d1 d0,d4 d3,d2 d1,d0 d4,d3 d2,d1 d0,x <DW 68 60 05 initiate download of 4 words 82 00> start at address D1:200 Now transfer 4 20-bit words via the parallel PIO-port: d4,d3 d2,d1 d0,d4 d3,d2 d1,d0 d4,d3 d2,d1 d0,d4 d3,d2 d1,d0 <DW 68 b6 bc 00 00> switch the memory area D0:800 ... D0:fff from data to program usage <DW 68 10 0a> start program execution at address D0:100a 3.3.2.11.Serial Program Download Program downloads may also be performed via the I2C-interface by using the Write D0/D1 Memory com- mands. A similar command sequence as in the Fast Program Download (Freeze, stop transfers...) applies. SDW data_read S DR WA A WA P N A d3,d2 W d1,d0 SDW data_write 6,n2 n1,n0 P a3,a2 a1,a0 WA A A WA A WA |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |