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 L137 EVM]Problem using SPI on expansion connector

Other Parts Discussed in Thread: OMAP-L137

Hi,

I'm having issues using the SPI ports on the expansion connector on the OMAP-L137 EVM via the available prototype daughter card.  In particular, the ports available to the connectors on the EVM require several other pins on the same connectors to be pulled high which enable their associated ports on the L137.

I'm booting the OMAP-L137 EVM as described on the tiexpressdsp wiki using SPI0 flash and tftp server. So as far as I know, I need four devices for my setup to boot correctly:

1) SPI0 flash  2) EEPROM on the EVM(what is this interfaced through?)  3) Ethernet (for tftp)  4) UART1for console.

When I enable SPI0 (and for that matter SPI1, Ethernet/McASP0, QEP0, and timer) to allow use on the L137 protoboard the EVM will not boot.  There must be a way around this, otherwise it seems the SPI ports (amongst others) would not be available at all (at least on the EVM).   I'm not quite sure if I am phrasing the problem correctly other than to say that the EVM just doesn't boot with the above conditions.   Is there a way to get around this because I really need to have access to these ports for a daughter card I am developing.

Thanks for the help,

Chris

  • Hi Chris,

    When using the QEP0 (SEL_EXP2_QEP = '1' on expension connector) the SPI Flash will be disabled. So if booting (u-boot, ubl, etc) from Flash, this wil not be functional anymore and your board will not start-up.

    If you use a GPIO pin to control the SEL_EXP2_QEP, u can switch to QEP0 after booting, for example in U-Boot (board_late_init function).

    Regards,

    Joost