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.

Linux/TMS320DM8148: mcbsp/uart in loopback

Guru 20755 points
Part Number: TMS320DM8148

Tool/software: Linux

Hello,

I would please like to ask the following:

1. Is it possible to test mcbsp and uart in loopback mode , with dma and interrupt or polling (both).

2. Can we reach the maximum rate in loopback ?

3. Can we function in interrupt regardless of the device connected to uart/mcbsp (or does the device must support interrupt too)?

Thank you!

Ran

  • Hi Ran,

    ranchu said:
    1. Is it possible to test mcbsp and uart in loopback mode , with dma and interrupt or polling (both).

    I think it is possible. Checking DM814x TRM, my understanding is that UART/MCBSP polling/irq/dma do not depend on loopback, it depend on receive/transmit buffers (FIFO) configurations.
     

    ranchu said:
    2. Can we reach the maximum rate in loopback ?

    I think yes. I can not find any rate limitations in loopback mode

    ranchu said:
    3. Can we function in interrupt regardless of the device connected to uart/mcbsp (or does the device must support interrupt too)?

    Yes, you can. UART/MCBSP do not have interrupt input pin. You need to provide data through the UART/MCBSP data input pins into the receive buffer, once the threshold is reached, UART/MCBSP will generate irq to ARM A8 to handle the data.

    Regards,
    Pavel

  • Pavel,

    Thank you!