Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

CY8C22113 Datasheet(PDF) 47 Page - Cypress Semiconductor

Part # CY8C22113
Description  PSoC Mixed Signal Array
Download  304 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CYPRESS [Cypress Semiconductor]
Direct Link  http://www.cypress.com
Logo CYPRESS - Cypress Semiconductor

CY8C22113 Datasheet(HTML) 47 Page - Cypress Semiconductor

Back Button CY8C22113 Datasheet HTML 43Page - Cypress Semiconductor CY8C22113 Datasheet HTML 44Page - Cypress Semiconductor CY8C22113 Datasheet HTML 45Page - Cypress Semiconductor CY8C22113 Datasheet HTML 46Page - Cypress Semiconductor CY8C22113 Datasheet HTML 47Page - Cypress Semiconductor CY8C22113 Datasheet HTML 48Page - Cypress Semiconductor CY8C22113 Datasheet HTML 49Page - Cypress Semiconductor CY8C22113 Datasheet HTML 50Page - Cypress Semiconductor CY8C22113 Datasheet HTML 51Page - Cypress Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 304 page
background image
December 22, 2003
Document No. 38-12009 Rev. *D
47
CY8C22xxx Preliminary Data Sheet
4. Supervisory ROM (SROM)
SWBootReset to get a good checksum, the fail count would
be 01h.
4.1.2.2
Read Block Function
The ReadBlock function is used to read 64 contiguous bytes
from Flash: a block. The number of blocks in a device is sim-
ply the total number of bytes divided by 64. For the
CY8C22xxx, the Flash contains 32 blocks of 64 bytes.
The first thing this function does is check the protection bits
and determine if the desired BLOCKID is readable. If read
protection is turned on, the ReadBlock function will exit set-
ting 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.
4.1.2.3
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 check the pro-
tection bits and determine if the desired BLOCKID is write-
able. If write protection is turned on, the WriteBlock 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 straight for-
ward. The BLOCKID of the Flash block, where the data is
stored, must be determined and stored at SRAM address
FAh. Valid BLOCKID values are between 00h and.
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 value must be set correctly.
The CLOCK value determines the length of the write pulse
that will be used to store the data in the Flash. The CLOCK
and DELAY values are dependent on the CPU speed and
must be set correctly. Refer to “Clocking” on page 49 for
additional information.
4.1.2.4
EraseBlock Function
The EraseBlock function is used to erase a block of 64 con-
tiguous bytes in Flash.
The first thing the EraseBlock function does is check the
protection bits and determine if the desired BLOCKID is
writeable. If write protection is turned on, the EraseBlock
function will exit setting the accumulator and KEY2 back to
00h. KEY1 will have a value of 01h, indicating a write failure.
To set up the parameter block for the EraseBlock function,
correct key values must be stored in KEY1 and KEY2. The
block number to be erased must be stored in the BLOCKID
variable and the CLOCK and DELAY values must be set
based on the current CPU speed. For more information on
setting the CLOCK and DELAY values, see “Clocking” on
page 49.
Table 4-6. ReadBlock Parameters (01h)
Name
Address
Description
KEY1
0,F8h
3Ah
KEY2
0,F9h
Stack Pointer value, when SSC is exe-
cuted.
BLOCKID
0,FAh
Flash block number
POINTER
0,FBh
First of 64 addresses in SRAM where
returned data should be stored.
Table 4-7. WriteBlock Parameters (02h)
Name
Address
Description
KEY1
0,F8h
3Ah
KEY2
0,F9h
Stack Pointer value, when SSC is exe-
cuted.
BLOCKID
0,FAh
Flash block number (00h – 3Fh).
POINTER
0,FBh
First of 64 addresses in SRAM, where
the data to be stored in Flash is located
prior to calling WriteBlock.
CLOCK
0,FCh
Clock divider used to set the write pulse
width.
DELAY
0,FEh
For a CPU speed of 12 MHz set to 56h.
Table 4-8. EraseBlock Parameters (03h)
Name
Address
Description
KEY1
0,F8h
3Ah
KEY2
0,F9h
Stack Pointer value, when SSC is exe-
cuted.
BLOCKID
0,FAh
Flash block number (00h – 3Fh).
CLOCK
0,FCh
Clock divider used to set the erase
pulse width.
DELAY
0,FEh
For a CPU speed of 12 MHz set to 56h.


Similar Part No. - CY8C22113

ManufacturerPart #DatasheetDescription
logo
Cypress Semiconductor
CY8C22113 CYPRESS-CY8C22113 Datasheet
754Kb / 36P
   PSoC??Mixed Signal Array
CY8C22113-24PI CYPRESS-CY8C22113-24PI Datasheet
754Kb / 36P
   PSoC??Mixed Signal Array
CY8C22113-24SI CYPRESS-CY8C22113-24SI Datasheet
754Kb / 36P
   PSoC??Mixed Signal Array
CY8C22113-24SIT CYPRESS-CY8C22113-24SIT Datasheet
754Kb / 36P
   PSoC??Mixed Signal Array
CY8C22113 CYPRESS-CY8C22113_04 Datasheet
754Kb / 36P
   PSoC??Mixed Signal Array
More results

Similar Description - CY8C22113

ManufacturerPart #DatasheetDescription
logo
Cypress Semiconductor
CY8C22113 CYPRESS-CY8C22113_04 Datasheet
754Kb / 36P
   PSoC??Mixed Signal Array
CY8C24123 CYPRESS-CY8C24123 Datasheet
632Kb / 41P
   PSoC Mixed Signal Array
CY8C27143 CYPRESS-CY8C27143 Datasheet
542Kb / 44P
   PSoC Mixed Signal Array
CY8C21123 CYPRESS-CY8C21123 Datasheet
330Kb / 33P
   PSoC??Mixed-Signal Array
CY8C24123A CYPRESS-CY8C24123A Datasheet
499Kb / 47P
   PSoC Mixed-Signal Array
CY8C21534 CYPRESS-CY8C21534 Datasheet
376Kb / 35P
   PSoC Mixed-Signal Array
CY8C27466 CYPRESS-CY8C27466 Datasheet
799Kb / 39P
   PSoC??Mixed Signal Array
CY8C29466 CYPRESS-CY8C29466 Datasheet
474Kb / 40P
   Mixed Signal Array
CY8C21323 CYPRESS-CY8C21323_08 Datasheet
956Kb / 37P
   PSoC짰 Mixed Signal Array
CY8C29866 CYPRESS-CY8C29866 Datasheet
668Kb / 49P
   PSoC짰 Mixed-Signal Array
More results


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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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