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.

AM5728: MMC1_CLK_ACTIVE bit configuration

Guru 10235 points
Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X

Hello, TI Experts,

 

Our customer sent us a question about the Pad Configuration for MMC1 of AM5728.

 

Their understanding is as below from TRM(SPRUHZ6H)"Table 18-1583. CTRL_CORE_PAD_MMC1_CLK"

   - If this PAD is used as clock output,

     "MMC1_CLK_ACTIVE" should be set to 0x0 (Input buffer is disabled).

 

Is this understanding correct?

 

Best regards

  • Hi,

    Their understanding is as below from TRM(SPRUHZ6H)"Table 18-1583. CTRL_CORE_PAD_MMC1_CLK"

    - If this PAD is used as clock output,

    "MMC1_CLK_ACTIVE" should be set to 0x0 (Input buffer is disabled).


    I am not aware of such requirement. In fact, I checked the pinmuxing in u-boot source code, and CTRL_CORE_PAD_MMC1_CLK (at address 0x4A003754) is set as:
    0x354 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */

    The results from user space (both in u-boot & linux kernel) are the same:

    u-boot:
    => md 0x4A003754
    4a003754: 00060000

    linux kernel:
    root@am57xx-evm:~# devmem2 0x4A003754
    /dev/mem opened.
    Memory mapped at address 0xb6fbc000.
    Read at address 0x4A003754 (0xb6fbc754): 0x00060000

    The result 0x00060000 shows:
    CTRL_CORE_PAD_MMC1_CLK[17]MMC1_CLK_PULLTYPESELECT = 0x1 => 0x1: Pull Up is selected
    CTRL_CORE_PAD_MMC1_CLK[18]MMC1_CLK_ACTIVE = 0x1 => Input buffer is enabled

    Best Regards,
    Yordan
  • Hi,

    Thank you for your providing us the register checking result.
    I really appreciate your help.

    Our checking result of created SD-card-booting by "PROCESSOR-SDK-LINUX-AM57X 03_02_00_05"
    on TMDSEVM572X is as follows;
    - root@am57xx-evm:~# devmem2 0x4A003754
    /dev/mem opened.
    Memory mapped at address 0xb6fd2000.
    Read at address 0x4A003754 (0xb6fd2754): 0x000201B0

    Result:
    - "MMC1_CLK_ACTIVE=0x0 (Input buffer is disabled)"
    (It seems reasonable because this pin is used as clock output.)

    Our customer just want to know the recommended register value of "MMC1_CLK_ACTIVE"
    from the DataSheet point of view.

    Can we answer to the customer as follows?
     - If this PAD is used as clock output,
       "MMC1_CLK_ACTIVE" should be set to 0x0 (Input buffer is disabled).

    If there are additional recommended comment, please tell us.

    Best regards

  • Hello Yordan,

     

    Our customer is waiting for the answer.

    So I'd like to answer to the customer as below. 

     - If this PAD is used as clock output,

       "MMC1_CLK_ACTIVE" is set to 0x0 in general.

     

    If you have some comment/recommendation, please tell us.

     

    Best regards,

  • Hi,

    Sorry for the delayed response.

    Yes, you could provide this feedback.

    Best Regards,
    Yordan
  • Hi,

    Thank you for your kindness.
    I really appreciate your help.

    Best regards,