Electronic Components Datasheet Search
  English  ▼

X  

CYRF69103 Datasheet(PDF) 17 Page - Cypress Semiconductor

Part # CYRF69103
Description  Programmable Radio on Chip Low Power
PDF  73 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CYPRESS [Cypress Semiconductor]
Direct Link  http://www.cypress.com
Logo CYPRESS - Cypress Semiconductor

CYRF69103 Datasheet(HTML) 17 Page - Cypress Semiconductor

Back Button CYRF69103 Datasheet HTML 13Page - Cypress Semiconductor CYRF69103 Datasheet HTML 14Page - Cypress Semiconductor CYRF69103 Datasheet HTML 15Page - Cypress Semiconductor CYRF69103 Datasheet HTML 16Page - Cypress Semiconductor CYRF69103 Datasheet HTML 17Page - Cypress Semiconductor CYRF69103 Datasheet HTML 18Page - Cypress Semiconductor CYRF69103 Datasheet HTML 19Page - Cypress Semiconductor CYRF69103 Datasheet HTML 20Page - Cypress Semiconductor CYRF69103 Datasheet HTML 21Page - Cypress Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 73 page
background image
CYRF69103
Document #: 001-07611 Rev *B
Page 17 of 73
a halt, to force the program to jump directly into the setup code
and not run into it.
halt
SSCOP: mov [KEY1], 3ah
mov X, SP
mov A, X
add A, 3
mov [KEY2], A
The SROM also features Return Codes and Lockouts.
Return Codes
Return codes aid in the determination of success or failure of
a particular function. The return code is stored in KEY1’s
position in the parameter block. The CheckSum and
TableRead functions do not have return codes because
KEY1’s position in the parameter block is used to return other
data.
Read, write, and erase operations may fail if the target block
is read or write protected. Block protection levels are set
during device programming.
The EraseAll function overwrites data in addition to leaving the
entire user Flash in the erase state. The EraseAll function
loops through the number of Flash macros in the product,
executing the following sequence: erase, bulk program all
zeros, erase. After all the user space in all the Flash macros
are erased, a second loop erases and then programs each
protection block with zeros.
SROM Function Descriptions
All SROM functions are described in the following sections.
SWBootReset Function
The SROM function, SWBootReset, is the function that is
responsible for transitioning the device from a reset state to
running user code. The SWBootReset function is executed
whenever the SROM is entered with an M8C accumulator
value of 00h; the SRAM parameter block is not used as an
input to the function. This will happen, by design, after a
hardware reset, because the M8C's accumulator is reset to
00h or when user code executes the SSC instruction with an
accumulator value of 00h. The SWBootReset function will not
execute when the SSC instruction is executed with a bad key
value and a nonzero function code. A CYRF69103 device will
execute the HALT instruction if a bad value is given for either
KEY1 or KEY2.
The SWBootReset function verifies the integrity of the
calibration data by way of a 16-bit checksum, before releasing
the M8C to run user code.
ReadBlock Function
The ReadBlock function is used to read 64 contiguous bytes
from Flash—a block.
The first thing this function does is to check the protection bits
and determine if the desired BLOCKID is readable. If read
protection is turned on, the ReadBlock function will exit setting
the accumulator and KEY2 back to 00h. KEY1 will have a
value of 01h, indicating a read failure. If read protection is not
enabled, the function will read 64 bytes from the Flash using
a ROMX instruction and store the results in SRAM using an
MVI instruction. The first of the 64 bytes will be stored in SRAM
at the address indicated by the value of the POINTER
parameter. When the ReadBlock completes successfully, the
accumulator, KEY1 and KEY2, will all have a value of 00h.
WriteBlock Function
The WriteBlock function is used to store data in the Flash. Data
is moved 64 bytes at a time from SRAM to Flash using this
function. The first thing the WriteBlock function does is to
check the protection bits and determine if the desired
BLOCKID is writable. If write protection is turned on, the Write-
Block function will exit, setting the accumulator and KEY2 back
to 00h. KEY1 will have a value of 01h, indicating a write failure.
The configuration of the WriteBlock function is straightforward.
The BLOCKID of the Flash block, where the data is stored,
must be determined and stored at SRAM address FAh.
The SRAM address of the first of the 64 bytes to be stored in
Flash must be indicated using the POINTER variable in the
parameter block (SRAM address FBh). Finally, the CLOCK
and DELAY values must be set correctly. The CLOCK value
Table 21.SROM Function Parameters
Variable Name
SRAM Address
Key1/Counter/Return Code
0,F8h
Key2/TMP
0,F9h
BlockID
0,FAh
Pointer
0,FBh
Clock
0,FCh
Mode
0,FDh
Delay
0,FEh
PCL
0,FFh
Table 22.SROM Return Codes
Return Code
Description
00h
Success
01h
Function not allowed due to level of protection
on block
02h
Software reset without hardware reset
03h
Fatal error, SROM halted
Table 23.ReadBlock Parameters
Name
Address
Description
KEY1
0,F8h
3Ah
KEY2
0,F9h
Stack Pointer value, when SSC is
executed
BLOCKID
0,FAh
Flash block number
POINTER
0,FBh
First of 64 addresses in SRAM
where returned data should be
stored
[+] Feedback
[+] Feedback



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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