Operation of 2.3NandFlash

Source: Internet
Author: User

Operation of 2.3NandFlash

1.NandFlash classification:

?

2.MLC and SLC comparison:

?

?

?

?

3. Signal PIN:

?

?

Nandflash's reading:

Page read: page address

Random read: Page address + column address

?

Today is to implement page-reading: The address of the page is required.

Let's look at the chip manual k9f2g08u0a.pdf: Find out how the Eucalyptus leaf Read works:

Register Nfcont:

The "1" bit in this register:

?

Here is the bit that selects the operation Nandflash:

?

  1. Nandflash's Statue Register:

    Fourth place:

    Clear RB: Fourth bit for 1 yes, clear RB.

  2. Next is the Send action:

    Register:

  3. Send:

  4. Nfdata:

    Main method:

    Make: Compile

    ?

    To implement the Nandflash read function, initialization must be performed: primarily two registers are initialized:

    We are primarily initializing the three parameters of this register: TACLS,TWRPH0,TWRPH1.

    The parameters are as follows: for our nandflash to work, we must meet his minimum value.

    Tacls=0ns

    Twfph0=12ns

    Twfph1=5ns

    ?

    The value operation of the above three parameters:

    Our Nandflash use the HCLK, the frequency is 100MHz. The corresponding time for each tremor is 10ns (1/100mhz).

    It's got a tacls>0ns.

    Twfph0>12ns

    Twfph1>5ns's formula.

    To achieve duration=hclk*tacls=10ns*tacls>0, only need to take Tacls=1, you can.

    To implement Duration=hclk* (twrph0+1) =10ns* (twrph0+1) >12ns, you need only twrph0=2 to

    To implement Duration=hclk* (twrph1+1) =10ns* (twrph1+1) >5ns, only twrph1=1 is required.

    The next step is to initialize our Nfcont, disable first, and then enable the use.

    Operation of Reset:

    The next step is to test these functions.

    Solve the hidden dangers:

    ?

    ?

    ?

    ?

    ?

    ?

    ?

    ?

    ?

    ?

Operation of 2.3NandFlash

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.