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.

MSP430FR59941: Maximum SPI throughput

Part Number: MSP430FR59941

Hello!

I am looking into using a MSP430FR series of micro controller as an external ADC for a C2000 device. The idea would be to use the MSP's DMA to transfer values from the SAR ADC to the SPI.

  1. Do you see this a feasible?
  2. If the DMA is configured to do this transfer, are any CPU cycles required?
  3. What the is the maximum throughput that could be achieved using the eUSCI module in SPI mode?
  4. If using the DMA, how much latency should I expect from the ADC's end of conversion until the last bit is transferred out of the SPI?

Thanks,
Cody

  • Hi Cody,

    1.Do you see this a feasible?

    [Wei]Sure,it is feasible.

    2.If the DMA is configured to do this transfer, are any CPU cycles required?

    [Wei] DMA transferring doesn't need CPU running. You only need CPU to do the DMA initialization and DMA interrupt routine service when a DMA task is completed.

    3.What the is the maximum throughput that could be achieved using the eUSCI module in SPI mode?

    [Wei] You could find the maximum BITCLK clock frequency of SPI in section 5.12.8 of the device datasheet.

    4.If using the DMA, how much latency should I expect from the ADC's end of conversion until the last bit is transferred out of the SPI?

    [Wei] It's difficult to give a simple answer about this. I would show you the progress in this steps within MSP430. An ADC'S end of conversion, ADC IFG event, should trigger the configured DMA channel, you could configure the DMA trigger source to ADC end of conversion event, to start the the transfer. Then DMA would take approx 2 MCLK cycles to complete the transferring to SPI TX buffer. Next, SPI will send the data in TX buffer to the bus.  You could take a simple test to capture the time slot for these progresses.

  • Wei,

    thanks for the great response!

    One final question, in reference to the quote below, are there any other faster FRAM devices(running higher that 16MHz) that would be capable of a higher BITCLK frequency?

    Wei.Jetim Zhao said:

    3.What the is the maximum throughput that could be achieved using the eUSCI module in SPI mode?

    [Wei] You could find the maximum BITCLK clock frequency of SPI in section 5.12.8 of the device datasheet.

    Thanks,
    Cody 

  • Hi Cody,

    I would suggest MSP430FR5739 with a 24MHz max system clock frequency as well as the SPI eUSCI input clock frequency.

**Attention** This is a public forum