MK60的NandFlash、MRII接口使用问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MK60的NandFlash、MRII接口使用问题

629 Views
txzfw
Contributor I

   目前的一个产品方案中使用了MK60xxxxxxVMD12的芯片,使用该控制器自带的NandFlash控制器管理一片镁光的大容量SLC;

   现针对设计问题有如下几个问题请教(以Document Number K60P144M120SF3,Rev. 6, 09/2015以及Document Number: K60P144M150SF3RM,Rev. 4, 10/2015文档为依据):

   一、Nand Flash 设计

   1.NFC读写速率最大是多少?

   在Reference Manual中Chapter 5 Clock Distribution中表5-1中哪个时钟回限制NFC的读写速率?

   2.对MT29F32G08ABAAAWP-ITZ:A的支持性是否良好?以及虚拟页和ECC的设置推荐值?

   NandFlash芯片的主要信息如下:

      – Page size x8: 8640 bytes (8192 + 448 bytes)

      – Block size: 128 pages (1024K + 56K bytes)

      – Plane size: 2 planes x 2048 blocks per plane

      – Device size: 32Gb: 4096 blocks;

    3.Reference Manual 的32.3.4 Row address中提及的NFC_R/B1信号,在144MAPBGA封装中的哪个引脚?

   因考虑更大容量的兼容问题,需要设置对2个die的Nand Flash,Sub-Family 8.2 K60 Signal Multiplexing and Pin Assignments中找到了CE1,但没有找到Reference Manual 的32.3.4 Row address中提及的NFC_R/B1信号,此信号在144MAPBGA封装中的哪个引脚?

   二、关于引脚PTA5用作MII0_RXER,JTAG接口中的JTAG_TRST_b(该功能在PTA5)如何处理?

   搜索相关资料JTAG接口中的JTAG_TRST_b信号是可选的,设计中需要使用MII接口外接PHY实现网络功能,而MII接口中MII0_RXER信号占用了JTAG_TRST_b信号的PTA5;

   此时若对外的JTAG接口中没有JTAG_TRST_b是否会对调试有影响?以及如何处理?

   三、时钟及供电确认

   1.不使用RTC功能,M6(EXTAL32)、M7(XTAL32)悬空可否?

   2.不使用AD功能H5(VDDA)与G5(VREFH)短接、G6(VREFL)与H6(VSSA)短接使用磁珠与MCU的3.3V供电连接可否?

   3.G2(VREGIN)、G1(VOUT33)、L5(RTC_WEAKEUP)均可悬空?

   4.MK60xxxxxxVMD12或15中是否有引脚一定不能悬空?

Tags (1)
0 Kudos
1 Reply

403 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

Please check my comments below:

   1.NFC读写速率最大是多少?

   在Reference Manual中Chapter 5 Clock Distribution中表5-1中哪个时钟回限制NFC的读写速率?

  

   TS: You need to refer and set the Reference Manual chapter5.7.5 NAND Flash Controller (NFC) clocking.

   It need to select the NFC clock source and related divider value.

We have below NAND Flash performance data:

Ipg_clk=50Mhz, ips_clk=16.67Mhz, flash_clk=20Mhz, page_size=2K+64

Page program: 130.26us (with DMA and without DMA, the two have little different)

Page read: 165.26us(without DMA), +30.76us(with DMA)

There is an easy way to estimate the operation time.

Take page read as an example:

Since one byte is read in one RE cycle, the total time of page read (2K+64 bytes)= 2112 RE cycles.

If the flash_clk’s frequency is 96/2/2.5=19.2MHz, the time is 2112*1000/19.2=110000ns=110us

It doesn’t include the time of issuing cmd and address, only the data time.

The calculation of page program is the same as the page read.

   2.对MT29F32G08ABAAAWP-ITZ:A的支持性是否良好?以及虚拟页和ECC的设置推荐值?

   NandFlash芯片的主要信息如下:

      – Page size x8: 8640 bytes (8192 + 448 bytes)

      – Block size: 128 pages (1024K + 56K bytes)

      – Plane size: 2 planes x 2048 blocks per plane

      – Device size: 32Gb: 4096 blocks;

     

    TS: Yes, K60_120MHz product supports MT29F32G08ABAAAWP NAND Flash.

        NAND Flash page size is 8192+448 bytes

        NFC_CFG[ECCMODE] based on the virtual page counter, customer can select to use 0x111 (32-error correction (60 ECC bytes));

        ECC bits: 32

        NFC_CFG[PAGECNT]: 4

        Sector size (bytes): 2160

        Virtual page user size (bytes): 2100

   

    3.Reference Manual 的32.3.4 Row address中提及的NFC_R/B1信号,在144MAPBGA封装中的哪个引脚?

   因考虑更大容量的兼容问题,需要设置对2个die的Nand Flash,Sub-Family 8.2 K60 Signal Multiplexing and Pin Assignments中找到了CE1,但没有找到Reference Manual 的32.3.4 Row address中提及的NFC_R/B1信号,此信号在144MAPBGA封装中的哪个引脚?

   TS: Please check same question thread at NXP community:

       https://community.freescale.com/message/341055#comment-341055

   二、关于引脚PTA5用作MII0_RXER,JTAG接口中的JTAG_TRST_b(该功能在PTA5)如何处理?

   搜索相关资料JTAG接口中的JTAG_TRST_b信号是可选的,设计中需要使用MII接口外接PHY实现网络功能,而MII接口中MII0_RXER信号占用了JTAG_TRST_b信号的PTA5;

   此时若对外的JTAG接口中没有JTAG_TRST_b是否会对调试有影响?以及如何处理?

   TS: It doesn't need to use JTAG_TRST_b PIN for general JTAG debugger tool. This pin can be set as a MII0_RXER function pin.

  

   三、时钟及供电确认

   1.不使用RTC功能,M6(EXTAL32)、M7(XTAL32)悬空可否?

    TS: Unused XTAL32, EXTAL32 pins, customer can left them floating, customer also can pull EXTAL32(input) to GND.

   

   2.不使用AD功能H5(VDDA)与G5(VREFH)短接、G6(VREFL)与H6(VSSA)短接使用磁珠与MCU的3.3V供电连接可否?

    TS: Connect all unused power supplies to their respective voltage. Your handle way is correct.

   

   3.G2(VREGIN)、G1(VOUT33)、L5(RTC_WEAKEUP)均可悬空?

   TS: G2(VREGIN)/G1(VOUT33) Tie to output and ground through 10kΩ

        L5(RTC_WEAKEUP) floating.

       

   4.MK60xxxxxxVMD12或15中是否有引脚一定不能悬空?

    TS: Power supply related pins;


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos