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.

FDC2214EVM: Stream reading halts occasionally

Part Number: FDC2214EVM
Other Parts Discussed in Thread: FDC2214

Hello application engineers,

I am using FDC2214 4 channel on stream reading mode, it works fine most of time, however, sometimes, it stops reading for a short time period, can be a few seconds to a couple of minutes as shown in the attached screenshot, which shows a halt for approximately 10 seconds from 90s to 100s. Can someone tell me how to get rid of it

Thanks,

Gu

5672.Halt.pdf

  • Hi Gu,

    Thank you for contacting us. Streaming mode on 4 channels is very processor intensive. I can understand that it sometimes halts during this process. We have developed this GUI and Firmware for the customer to play with the device, but not intended to use in production. The firmware is not ideal to handle continuous streaming mode. There are other high priorities interrupts that takes over the priority of the streaming to finish the tasks to switch over to data streaming. We recommend developing custom firmware to solve this issue. Unfortunately, this discontinuity can't be avoided with the current setup.

    Regards

    Sharath.

  • Hi Sharath,

    Thank you for your reply. Could you please let me know what are the high priority interrupts that could take over the priority of the streaming operation? I am not using the GUI downloaded from your web, I am using my own Labview data acquisition driver to run the unit. I am able to control all the registers for optimizing the data stream, however, I do not know which ones are causing the issue. Please advice!

    Regards,

    Gu

     

  • Hi,

    Are you using your own microcontroller to read the I2C registers? If yes, please ignore my above comment. How fast are you reading the registers? What happens when it halts? Does it read the same value as the previous one during this halt period?

    Regards

    Sharath.

  • Hi Sharath,

    I am using the controller on the unit, stream reading speed is at its maximum possible, approximately at 20 ms interval, or 50 samples/s, some channels got repeating numbers in a read  as expected. I want to read each channel as soon as a new data is ready.   I reduced sample rate to 10 samples/s, but still can not avoid the issue. It stops reading at all when halted. 

    Thanks,

    Gu 

  • Hi,

    The firmware on the MSP430 is not optimized for continuous reading. It is developed for the customer to understand how the device works and to test with the customer's sensors. You would need to use custom firmware or work with NI products to achieve what you are looking for.

    Regards

    Sharath.

  • Hi Sharath,

    I do not understand what you said, as all controls must go through the registers regardless what controller you use. The MSP430 is your product and all registers on the FDC can be accessed through the MSP430. Why do you recommend me to use NI product to control the FDC for customized application. Even if I use a NI product, I still need to accessed the registers for optimization. Could you please advise on which registers are possibly causing the issue and how to correct it? 

    Regards,

    Gu

  • Hi,

    There are software and hardware overheads that are not optimized in the firmware for what you are trying to do. There are dedicated instruments like https://www.ni.com/en-us/shop/select/i2c-spi-interface-device that work well with what you are trying to do. I can understand that the firmware is not optimized for what you are trying to do, but I am not an expert on MSP430 firmware development to further assist with you.

    Regards

    Sharath.

  • Hi Sharath,

    Thanks for the info. could you please let me know if the on board MSP allows firmware upgrade? if yes, then is the MSP able to control the FDC in the way I want to get rid of the issue? I could possibly do a firmware for my application. Also, what are the hardware and software required for me to do a customer firmware for solving the issue? I like to stay with the on board MSP as it is much smaller in size and lower cost compared with NI product. 

    I understand that it might be difficult for you to answer my question. or do I need to post a new question on another forum ? 

    Regards,

    Gu

  • Hi Gu,

    Yes, it does allow for firmware upgrades. You need code composer studio(CCS) s/w to develop the firmware. MSP430 team should be able to provide with basic I2C reading/writing that you can modify it to FDC devices. Please provide them with the MSP430 version you have on the EVM for them to assist with you on the coding part. Once you build the firmware, you can use GUI to update your firmware. Hope this helps. 

    Regards

    Sharath.

  • Hi Sharath,

    I posted a new question on MSP430 forum, https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/921718

    I just want to make sure the on board MSP430 is capable of making the data acquisition smooth, similar to a hardware timed operation before I try it.  

    Thank you again.

    Gu

  • Hi Gu,

    MSP430 team should be able to answer about data acquisition.

    Thanks

    Sharath.

  • Hi Gu,

    MSP430 team should help with your question regarding the data acquisition.

    Regards

    Sharath.