| 数据搜索系统,热门电子元器件搜索 |
|
MAS3587F 数据表(PDF) 25 Page - Micronas |
|
|
|||||||||||||||||||||||||||||
MAS3587F 数据表(HTML) 25 Page - Micronas |
|
25 / 82 page ![]() ADVANCE INFORMATION MAS 3587F Micronas 25 3.3.1.1. Run and Freeze The Run command causes the start of a program part at address a = (a3,a2,a1,a0). Since nibble a3 is also the com- mand code (see Table 3–4), it is restricted to values between 0 and 3. If the start address is 1000hex ≤ a < 3FFFhex and the respective RAM area has been configured as program RAM (see Table 3–5 on page 32), the MAS 3587F continues execution with a custom program already downloaded to this area. Example 1: Start program execution at address 345hex: <DW 68 03 45> Example 2: Start execution of a downloaded code at address 3000hex: <DW 68 30 00> Freeze is a special run command with start address 0. It suspends all normal program execution. The operating sys- tem will enter an idle loop so that all registers and memory cells can be watched. This state is useful for operations like downloading code or contents of memory cells because the internal program cannot overwrite these values. This freezing will be required if alternative software is downloaded into the internal RAM of the MAS 3587F. Freeze has the following I2C protocol: <DW 68 00 00> 3.3.1.2. Read Register (Code Ahex) Some registers (r = r1,r0 in the figure above) are direct control inputs for various hardware blocks, others control the internal program flow. In contrast to memory cells, registers cannot be accessed as a block but must always be addressed individually. Example: Read the content of the PIO data register (C8hex): <DW 68 ac 80> define register <DW 69 <DR xx xd dd dd> and read S DW A W $68 A W a3,a2 A a1,a0 A W P S DW A W $68 A W S DW A W $68 A W a,r1 A r0,0 A W P x,x A x,d4 A W d3,d2 A d1,d0 N W P 2) get register value S DR A W 1) send command |
|
链接网址 |
| 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 |