参数资料
型号: F350-COMPASS-RD
厂商: Silicon Laboratories Inc
文件页数: 26/234页
文件大小: 0K
描述: KIT REFERENCE DESIGN DGTL COMPSS
标准包装: 1
系列: DSiT™
传感器类型: 磁性,数字式罗盘
接口: USB
嵌入式: 是,MCU,8 位
已供物品: 板,电池,线缆,CD
已用 IC / 零件: C8051F350
相关产品: C8051F350-GQR-ND - IC 8051 MCU 8K FLASH 32LQFP
336-1270-ND - IC 8051 MCU 8K FLASH 32LQFP
其它名称: 336-1165
第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页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页
Rev. 1.1
121
C8051F350/1/2/3
15. Flash Memory
On-chip, re-programmable Flash memory is included for program code and non-volatile data storage. The
Flash memory can be programmed in-system through the C2 interface or by software using the MOVX
instruction. Once cleared to logic 0, a Flash bit must be erased to set it back to logic 1. Flash bytes would
typically be erased (set to 0xFF) before being reprogrammed. The write and erase operations are automat-
ically timed by hardware for proper execution; data polling to determine the end of the write/erase opera-
tion is not required. Code execution is stalled during a Flash write/erase operation. Refer to Table 15.1 for
complete Flash memory electrical characteristics.
15.1. Programming The Flash Memory
The simplest means of programming the Flash memory is through the C2 interface using programming
tools provided by Silicon Labs or a third party vendor. This is the only means for programming a non-initial-
ized device. For details on the C2 commands to program Flash memory, see Section “25. C2 Interface’ on
To ensure the integrity of Flash contents, it is strongly recommended that the on-chip VDD Monitor
be enabled in any system that includes code that writes and/or erases Flash memory from soft-
ware.
15.1.1. Flash Lock and Key Functions
Flash writes and erases by user software are protected with a lock and key function. The Flash Lock and
Key Register (FLKEY) must be written with the correct key codes, in sequence, before Flash operations
may be performed. The key codes are: 0xA5, 0xF1. The timing does not matter, but the codes must be
written in order. If the key codes are written out of order, or the wrong codes are written, Flash writes and
erases will be disabled until the next system reset. Flash writes and erases will also be disabled if a Flash
write or erase is attempted before the key codes have been written properly. The Flash lock resets after
each write or erase; the key codes must be written again before a following Flash operation can be per-
formed. The FLKEY register is detailed in SFR Definition 15.2.
15.1.2. Flash Erase Procedure
The Flash memory can be programmed by software using the MOVX write instruction with the address and
data byte to be programmed provided as normal operands. Before writing to Flash memory using MOVX,
Flash write operations must be enabled by: (1) setting the PSWE Program Store Write Enable bit
(PSCTL.0) to logic 1 (this directs the MOVX writes to target Flash memory); and (2) Writing the Flash key
codes in sequence to the Flash Lock register (FLKEY). The PSWE bit remains set until cleared by soft-
ware.
A write to Flash memory can clear bits to logic 0 but cannot set them; only an erase operation can set bits
to logic 1 in Flash. A byte location to be programmed should be erased before a new value is written.
The Flash memory is organized in 512-byte pages. The erase operation applies to an entire page (setting
all bytes in the page to 0xFF). To erase an entire 512-byte page, perform the following steps:
Step 1. Disable interrupts (recommended).
Step 2. Set thePSEE bit (register PSCTL).
Step 3. Set the PSWE bit (register PSCTL).
Step 4. Write the first key code to FLKEY: 0xA5.
Step 5. Write the second key code to FLKEY: 0xF1.
Step 6. Using the MOVX instruction, write a data byte to any location within the 512-byte page to
be erased.
Step 7. Clear the PSWE and PSEE bits.
Step 8. Re-enable interrupts.
相关PDF资料
PDF描述
RP10-483.3SEW/P/M2 CONV DC/DC 10W 18-75VIN 3.3VOUT
GEC25DRTN-S734 CONN EDGECARD 50POS DIP .100 SLD
MAX6440UTBJTD7+T IC BATTERY MON SNGL SOT23-6
RP10-483.3SEW/N/M2 CONV DC/DC 10W 18-75VIN 3.3VOUT
GEC25DRTH-S734 CONN EDGECARD 50POS DIP .100 SLD
相关代理商/技术参数
参数描述
F-350XP 功能描述:电源变压器 24V CT .18A XFORMER RoHS:否 制造商:Triad Magnetics 功率额定值:12 VA 初级电压额定值:115 V / 230 V 次级电压额定值:12 V / 24 V 安装风格:SMD/SMT 一次绕组:Dual Primary Winding 二次绕组:Dual Secondary Winding 长度:2.5 in 宽度:2 in 高度:1.062 in
F35100300A000G 制造商:SL Power Electronics 功能描述:AC/DC PS SGL-OUT 10V 0.3A 3W - Bulk 制造商:SL POWER ELECTRONICS INC.- AULT 功能描述:Plug-In Adapter Single-OUT 10V 0.3A 3W
F35-100300-A000G 制造商:SLPOWER 制造商全称:SL Power Electronics 功能描述:F35 UK Wall Mount 1-3 Watts Series
F35110273A000G 制造商:SL Power Electronics 功能描述:AC/DC PS SGL-OUT 11V 0.3A 3W - Bulk 制造商:SL POWER ELECTRONICS INC.- AULT 功能描述:Plug-In Adapter Single-OUT 11V 0.3A 3W
F35-110273-A000G 制造商:SLPOWER 制造商全称:SL Power Electronics 功能描述:F35 UK Wall Mount 1-3 Watts Series