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.

AM572x IDK industrial input example

Other Parts Discussed in Thread: AM5718

Champs,

My customer struggles to enable SPI3 on custom AM5718 board (SPI2 works fine). AM572x IDK board has J37 expansion header for capturing digital inputs and then serializing and sending data to SOC over SPI3. I am looking for an RTOS example (preferably IPU based, if not A15/c66 will do) that captures incoming data on SPI3. Does such an example exist (I am hoping some simple project must have been used to validate the industrial inputs on EVM) ? I would greatly appreciate you sharing one here, if possible

Thanks,

Michael

  • Hi Michael,

    The RTOS team have been notified. They will respond here.
  • Michael,

    See the MCSPI example in P-PDK 3.0 or 3.1,

    * \details This application will read the input data generated from the
    * industrial input module. The data will be read through MCSPI
    * interface. This application will read one byte of data from the
    * industrial input module. To generate the data from the industrial
    * input module, first load signal has to be asserted using the
    * gpio pins. On the IDK EVM, in the header J37, short the pins
    * 1 and 2. This should generate an input "0x01" and the same should
    * be read through the MCSPI interface.
    * The received data will vary based on the shorting of pins:
    * Default input(no pins are shorted) : received data - 0x00
    * Pins 1 and 2 shorted : received data - 0x01
    * Pins 3 and 4 shorted : received data - 0x02
    * Pins 5 and 6 shorted : received data - 0x04
    * Pins 7 and 8 shorted : received data - 0x08
    * Pins 9 and 10 shorted : received data - 0x10
    * Pins 11 and 12 shorted : received data - 0x20
    * Pins 13 and 14 shorted : received data - 0x40
    * Pins 15 and 16 shorted : received data - 0x80
    *
    MCSPI_BasicExample_idkAM571x_m4TestProject.txt

    Regards, Eric