1 Reply Latest reply on Sep 20, 2016 10:15 AM by rahb

    Storing IMU data on SD card

    andreas.diechmann

      HI! 

         

       

         

      I'm working on a project that stores data from an IMU (MPU-9150) on a SD card. I'm using a PSoC 4 (CY8CKIT-049-4xxx). The connection between the IMU and PSoC is I2C and SPI between SD card and PSoC. To store data I have used the SDCard example as template:

      https://www.element14.com/community/thread/25517/l/psoc-4-pioneer-kit-community-project050-sd-card-example?displayFullThread=true

         

      My issue is that I am looking to store data at atleast 1KHz and at the moment it is logging at something closer to 40Hz! 

         

      I have a feeling that the filepointer process is taking too many resources.. 

         

      I kindly ask for some feedback. 

        • 1. Re: Storing IMU data on SD card
          rahb

          Hello,

             

          Can you please let me know how did you observe 40Hz data storage speed. I have gone through the project. The SCB component in SD card is configured as 5kbps data rate. Could you please provide more details by providing CRO snap shot, so it could help us to debug the issue further.

             

          Thanks

             

          Ramesh B