| Datenblatt-Suchmaschine für elektronische Bauteile |
|
CC1010-RTR1 Datenblatt(PDF) 39 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
CC1010-RTR1 Datenblatt(HTML) 39 Page - Texas Instruments |
|
39 / 152 page ![]() CC1010 SWRS047 Page 39 of 152 Figure 5. SPI Flash Programming Timing Symbol Min Max Units Conditions Fsck - fXOSC / 8 Tsck, high 4 ⋅ TXOSC - The minimum time SCK must be held high Tsck, low 4 ⋅ TXOSC - The minimum time SCK must be held low Tsck, rise - TXOSC /2 ns The maximum rise time on SCK Tsck, fall - TXOSC /2 ns The maximum fall time on SCK Tsi, setup TXOSC - The minimum setup time for SI before the positive edge on SCK Tsi, hold TXOSC - The minimum hold time for SI after the positive edge on SCK Tso, delay - TXOSC The delay from the negative edge on SCK to valid data on SO Table 17. SPI Flash Programming Timing Parameters 15.12.2 Programming Enable Programming Enable is always the first instruction to be sent. It must be sent to synchronise the data flow and enable CC1010 to receive further instructions. Synchronisation is achieved when byte 2 of the instruction (0x53) is echoed back from the SPI interface as byte 3. If synchronisation is not achieved, byte 3 will return all zeros. In this case, an extra clock pulse should be inserted on SCK, and the Programming Enable instruction should be resent. If synchronisation is not successful within 32 attempts, Programming Enable is unsuccessful and further debugging is needed. 15.12.3 Set Flash Timing The Set Flash Timing instruction is needed to generate internal timing for the Flash module. FLTIM must be set in instruction byte 4 so that: MHz f MHz f XOSC XOSC 4 . 0 8 . 0 ≤ ≤ FLTIM It is recommended to set FLTIM to the smallest number satisfying the equation above, to reduce the time needed for Flash programming. For a 3.6864 MHz crystal, FLTIM should be set to 5. 15.12.4 Chip Erase The Chip Erase instruction erases all data in the Flash memory, including the lock bits. All bits will be set high. Wait 450 ms (depending on Set Flash Timing) after sending the Chip Erase instruction before issuing a new instruction. 15.12.5 Load Program Memory Page The Load Program Memory Page instruction is used to load the 128 bytes of data in a page to a buffer in RAM. Each instruction writes one byte to the 7 bit address specified in the instruction. SCK (P0.0) SI (P0.1) SO (P0.2) 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 Tsck, high Tsck, low Tsck, rise Tsck, fall Tsi, setup Tsi, hold Tso, delay |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller All Rights Reserved©Alldatasheet.com |
| 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 |