03.08.2013 Views

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

17.4.6.13 Set Field Margin Level Command<br />

<strong>MC9S12VR</strong> <strong>Family</strong> Reference Manual, Rev. 2.8<br />

64 KByte Flash Module (S12FTMRG64K512V1)<br />

The Set Field Margin Level command, valid in special modes only, causes the Memory Controller to set<br />

the margin level specified for future read operations of the P-Flash or EEPROM block.<br />

Table 17-55. Set Field Margin Level Command FCCOB Requirements<br />

CCOBIX[2:0] FCCOB Parameters<br />

000 0x0E<br />

001 Margin level setting<br />

Global address [17:16] to identify the Flash<br />

block<br />

Upon clearing CCIF to launch the Set Field Margin Level command, the Memory Controller will set the<br />

field margin level for the targeted block and then set the CCIF flag.<br />

NOTE<br />

When the EEPROM block is targeted, the EEPROM field margin levels are<br />

applied only to the EEPROM reads. However, when the P-Flash block is<br />

targeted, the P-Flash field margin levels are applied to both P-Flash and<br />

EEPROM reads. It is not possible to apply field margin levels to the P-Flash<br />

block only.<br />

Valid margin level settings for the Set Field Margin Level command are defined in Table 17-56.<br />

Table 17-56. Valid Set Field Margin Level Settings<br />

CCOB<br />

(CCOBIX=001)<br />

Level Description<br />

0x0000 Return to Normal Level<br />

0x0001 User Margin-1 Level1 0x0002 User Margin-0 Level<br />

1<br />

Read margin to the erased state<br />

2<br />

0x0003 Field Margin-1 Level<br />

2 Read margin to the programmed state<br />

1<br />

0x0004 Field Margin-0 Level2 <strong>Freescale</strong> <strong>Semiconductor</strong> 499

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!