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.

Problem with SPI0 in Starterware LCDK6748

dear all,

i'm using starterware for my LCDK6748 and use SPI example..

in the starterware example, it used SPI1 and it has no problem..

but when i try to use SPI0 by converting all register SPI1 --> SPI0, it emit nothing to SPI0 output pin..

is the starterware only utilize SPI1 port?

NB : i also found the same problem with EHRPWM, which only EHRPWM1 can work..

thank you

  • Moving this thread to the C67x forum.

  • Hi Frank,

    As C6748LCDK SPI0 lines are hard-wired for LAN8710A-EZK, that is the reason you are not getting anything on output pin.

    Regarding your additional query,
    e2e.ti.com/.../250803

    [query]
    is it possible to use it as SPI since i didn't use the LAN?
    [/query]

    Let me check with hardware expert and will update you.
  • Hi Franz,
    What is your C6748 LCDK board revision?
    In older revision LCDK boards, SPI1 is connected to finger print sensor device.
    And now it is not populated in newer LCDK boards due to obsolete of finger print sensor (U26).

    Also SPI0 pins are pinmuxed with RMII pins i.e Ethernet peripheral.

    You won't get no outputs unless you connect any SPI devices on SPI0 bus.
    Please check out the LCDK schematics.

    The example given for demonstrating the SPI bare-metal code. User can use this code for their custom designs.

    Why do you want to change the SPI1 to SPI0 ?
  • hi titus,

    thank you for your explanation.. so it is because of hardware configuration of LCDK C6748 board..

    i use newer LCDK boards without finger print sensor..

    you mean that SPI0 can have output signal if i connect my SPI device to SPI0 bus ?

    currently i'm still checking the signal using scope before connecting my device..

    i use SPI0 because i need to use EHRPWM1 which is multiplexed with SPI1..

    because i also cannot use EHRPWM0 (same problem, have no output) , so i must use EHRPWM1..

    but i already found the solution by using both of EHRPWM1A and SPI1 working together..

  • Hello Franz,

    Thanks for the update. If you need further support on this, please let us know.

    Regards,
    Senthil