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.

OMAP-L138 ARM config the EMIFA

Other Parts Discussed in Thread: OMAP-L138, AM1808

1. I have an OMAP-L138 EVm board.

2. The board has CCS project for DSP side. From the DSP side, I can setup the EMIFA using the following code,

   EVMOMAPL138_lpscTransition(PSC0, DOMAIN0, LPSC_EMIFA, PSC_ENABLE);

   EVMOMAPL138_pinmuxConfig(PINMUX_EMIFA_NOR_REG_0, PINMUX_EMIFA_NOR_MASK_0, PINMUX_EMIFA_NOR_VAL_0);

   ...

   EVMOMAPL138_pinmuxConfig(PINMUX_EMIFA_NOR_REG_7, PINMUX_EMIFA_NOR_MASK_7, PINMUX_EMIFA_NOR_VAL_7);

3. In the ARM side, since I don't have sample for OMAP, I am using the following code to do the same thing, (got the bsl from AM1808 ARM code)

   EVMAM1808_lpscTransition(PSC0, DOMAIN0, LPSC_EMIFA, PSC_ENABLE);

   EVMAM1808_pinmuxConfig(PINMUX_EMIFA_NOR_REG_0, PINMUX_EMIFA_NOR_MASK_0, PINMUX_EMIFA_NOR_VAL_0);

...

   EVMAM1808_pinmuxConfig(PINMUX_EMIFA_NOR_REG_7, PINMUX_EMIFA_NOR_MASK_7, PINMUX_EMIFA_NOR_VAL_7);

BUT it failed, I can't change the SYSCFG value from ARM side.
Both side, the SYSCFG address are same, 0x01C14000.
Any idea? Do I miss any register to enable?

Does gel cause any trouble? 

  • What revision of the silicon are you using? Version 1.1 and earlier require the KICK registers to be unlocked. The board GEL file performs this function on connecting (DEVICE_kickUnlock()) so try using that to see if it helps.

    Jeff