Texas Instruments TMS320F20x/F24x DSP Computer Drive User Manual


 
Programming (or Clear) Algorithm
PRELIMINARY
3-9
Algorithm Implementations and Software Considerations
PRELIMINARY
Before each program pulse is applied, a read of the byte is performed to deter-
mine which bits have reached the programmed level. Any bits that have
reached the programmed level are masked (set to 1 in the WDATA register).
This method of programming provides uniform charge levels among pro-
grammed bits, whereas using a single, long program pulse could result in
some bits having much more charge than others. The uniformity of charge lev-
els among bits has the primary effect of reducing programming time and the
secondary effect of reducing the time for a subsequent erase operation. To as-
sure that the bits are programmed with enough margin, the reads associated
with programming use the VER0 read mode.