This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: Usage with Hynix Nand Flash

Part Number: AM2634

Tool/software:

Hi Team,

Query form the customer on using NAND flash with AM2634. The device planned is HY27UF084G2B-TPCB  (Hynix, 512MB , x 8 bit, 25 ns).  

With respect to the read or write cycles shown in AM2634 datasheet (  Fig 7-36 to Fig 7-39), the devices are compatible.  

But no Ready/busy pin is given on the processor for GPMC.  

So, can the Ready/busy pin of the NAND flash be connected to any GPIO or you suggest a specific pin? 

And can we use any chip select, ie say GPMC Chip Select 0 (GPMC0_CSn0) for NAND flash? 

 Regards,

Chander

  • Hi Chander,

    So, can the Ready/busy pin of the NAND flash be connected to any GPIO or you suggest a specific pin?

    GPMC_WAIT0 pin can be connected to the Ready/ Busy pin from the Flash side. Please refer to AM263x TRM section 13.3.1.4.11.2 NAND Device-Ready Pin  for more details regarding the connections and usage of WAIT pin.

    And can we use any chip select, ie say GPMC Chip Select 0 (GPMC0_CSn0) for NAND flash?

    Yes, you can use any CS among the 4 available GPMC _CS in AM263x. Ensure to configure the corresponding configuration registers GPMC_CONFIG1 to GPMC_CONFIG7.

    Please refer GPMC chapter in AM263X Register Addendum for the corresponding register descriptions.


    Regards,
    Rijohn

  • That is very useful, Mr. John.

    When using NAND flash, are the other GPMC pins ( eg: GPMC0_A1 ; GPMC0_A2 ; GPMC0_A3 ; GPMC0_A4 ; GPMC0_A0; GPMC0_DIR ; GPMC0_A7  ;  GPMC0_A8  ; GPMC0_A9  ; GPMC0_A10 ; GPMC0_A6 ; GPMC0_A5 ; GPMC0_A13 ; GPMC0_A14 ; GPMC0_A15 ; GPMC0_A16 ; GPMC0_A12 ) available to be used as GPIO(s) ?

  • Hi,

    Yes, the unused GPMC signals can be configured to be as GPIO by configuring the corresponding IOMUX register to MUX MODE 7.
    Eg: Writing value 7 to  PR0_PRU0_GPIO1_CFG_REG (0x5310 0178) sets PR0_PRU0_GPIO1 pin(K18)  to GPIO mode.

    Please refer to Table 6-1. Pin Attributes (ZCZ Package) in AM263X datasheet for more details regarding pinmuxing.

    Best Regards,
    Rijohn