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.

Using AM335x PRU for serial line transmission

Other Parts Discussed in Thread: AM3359

Hi,

I prepare to use AM3359 for data transmission over serial line. The system is Linux based and the line must be seen for Linux as an Ethernet device for compatibility reasons. Please tell if it is possible to take ready Ethernet frames from MAC module for processing in PRU and put received frames there?

If I understood correctly, the third parties PRUSS firmware (EtherCAT, Profinet etc.) takes payload from shared memory and replaces the ordinary MAC module functionality, assembling Ethernet frame and driving MII outputs?

  • Hi Lev,

    Lev Urusov said:
    If I understood correctly, the third parties PRUSS firmware (EtherCAT, Profinet etc.) takes payload from shared memory and replaces the ordinary MAC module functionality, assembling Ethernet frame and driving MII outputs?

    The PRUSS has its own industrial ethernet peripheral. Currently there is no Linux support for it. This may change soon, but I cannot say exactly how and when. At the moment there is this link available for the PRUSS: https://github.com/beagleboard/am335x_pru_package .

  • Lev,

    sounds like you want to use standard Linux driver for CPSW and have it interface to PRU instead of the MII interface? I think this is not possible. You could use the PRUs of course to drive your serial lines and write a RPU Linux driver that looks like an Ethernet driver. With software a lot is possible but there are no examples for such an approach I believe. And as mentioned by Biser PRU support is still very limited...

    Regards,