Altera_Forum
Honored Contributor
19 years agoabout:MaxII UFM SPI Mode
//****** My first queation ******
//****** It has been solved by Joe D in# 2***** Hi, In MaxII Device Handbook, in Chapter 9, about the UFM, it talks about writing to or reading from the UFM. SPI has two modes: Base Mode and Extended Mode. How can i confirm which mode the cpld uses? Is there any data that should be write into the cpld to make sure which mode i use? Thanks. :) //****** My second question ****** So, if i choose Extended Mode, can i do like this? 1. Read State Register, if bit0 == 0 , go to step 2 2. Enable write to UFM (make bit1 <= 1) 3. Set BP0 and BP1 (<=0) 4. Sector Erase 5. Read State Register, if bit0 == 0, go to step6 6. Read From UFM My puzzle: 1. After finishing these 6 steps above, can i get (FFFF)H from the address which i just indicated in Sector Erase Step? 2. The step sequence is right? Or i miss some stpes? 3. Can i write data to UFM after finishing first 5 steps? Thanks:)