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.

AWR1843: Looking for the way to send the SPI data (>64KB) continuously

Part Number: AWR1843


Hi Experts,

There is a define " SPI_MULT_ICOUNT_SUPPORT" in mibspi_dma.c under C:\ti\mmwave_sdk_03_02_00_04\packages\ti\drivers\spi\src.

/* Support for multi icount in one transfer to achieve high throughput , this is only supported in blocking mode */
/* #define SPI_MULT_ICOUNT_SUPPORT */

Question: 
1. If the define is enabled, is it possible to send the SPI data faster than default APIs.
2. Is there any limitation? If there is anything I have to take care once it is enabled, please let me know.
3. Is there any alternative resolution to achieve faster SPI transfer?

I am thinking a faster SPI (not QSPI) transfer.
For example, approx. 1MB data is transferred continuously.
The current driver can send the date up to 64KB.
So it takes an overhead time approx. 30us for each data transfer to wait the response from the API.
I would like to get rid of it.

Thank you for your kind advice.
Best regard,
HItoshi

  • Hi Hitoshi,

    As SDK driver supports buffered mode of SPI (i.e. MibSPI) which has internal 256 bytes of SPI RAM. So you can transfer 256 bytes in one shot.

    Enabling SPI_MULTI_ICOUNT_SUPORT will enhance the throughput but I'm not sure that will exactly match your requirement here.

    Let me check this in detail internally with the team.

    Regards,

    Jitendra