| 数据搜索系统,热门电子元器件搜索 |
|
CYWUSB6953 数据表(PDF) 25 Page - Cypress Semiconductor |
|
|
|||||||||||||||||||||||||||||
CYWUSB6953 数据表(HTML) 25 Page - Cypress Semiconductor |
|
25 / 68 page ![]() CYRF69103 Document #: 001-07611 Rev *F Page 25 of 68 Trim values for the IOSCTR register: The trim values are stored in SROM tables in the part as shown in Figure 15-1. on page 24. The trim values are read out from the part based on voltage settings and written to the IOSCTR register at location 0x34. The following pseudo code shows how this is done. _main: mov A, 2 mov [SSC_BLOCKID], A Call SROM operation to read the SROM table (Refer to section SROM Table Read Description) //After this command is executed, the trim values for 3.3, 3.0, 2.85 and 2.7 are stored at locations FC through FF in the RAM. SROM calls are explained in the previous section of this datasheet ; mov A, [FCh] // trim values for 3.3V mov A, [FDh] // trim values for 3.0V ; mov A, [FEh] // trim values for 2.85V ; mov A, [FFh] // trim values for 2.70V mov reg[IOSCTR],A // Loading IOSCTR with trim values for 3.0V .terminate: jmp .terminate 15.1 SROM Table Read Description The Silicon IDs for CYRF69103 devices are stored in SROM tables in the part, as shown in Figure 15-1. on page 24. The Silicon ID can be read out from the part using SROM Table reads. This is demonstrated in the following pseudo code. As mentioned in the section “SROM” on page 20, the SROM variables occupy address F8h through FFh in the SRAM. Each of the variables and their definition in given in the section “SROM” on page 20. AREA SSCParmBlkA(RAM,ABS) org F8h // Variables are defined starting at address F8h SSC_KEY1: ; F8h supervisory key SSC_RETURNCODE: blk 1 ; F8h result code SSC_KEY2 : blk 1 ;F9h supervisory stack ptr key SSC_BLOCKID: blk 1 ; FAh block ID SSC_POINTER: blk 1 ; FBh pointer to data buffer SSC_CLOCK: blk 1 ; FCh Clock SSC_MODE: blk 1 ; FDh ClockW ClockE multiplier SSC_DELAY: blk 1 ; FEh flash macro sequence delay count SSC_WRITE_ResultCode: blk 1 ; FFh temporary result code _main: mov A, 0 mov [SSC_BLOCKID], A// To read from Table 0 - Silicon ID is stored in Table 0 //Call SROM operation to read the SROM table mov X, SP ; copy SP into X mov A, X ; A temp stored in X add A, 3 ; create 3 byte stack frame (2 + pushed A) mov [SSC_KEY2], A ; save stack frame for supervisory code ; load the supervisory code for flash operations mov [SSC_KEY1], 3Ah ;FLASH_OPER_KEY - 3Ah mov A,6 ; load A with specific operation. 06h is the code for Table read Table 14-1 on page 20 SSC ; SSC call the supervisory ROM // At the end of the SSC command the silicon ID is stored in F8 (MSB) and F9(LSB) of the SRAM .terminate: jmp .terminate [+] Feedback |
|
链接网址 |
| 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 |