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.

SPI INTERFACING

Hello,

          I want to store the internal temperature data  into the array for timer interval 1 second .and i disable the timer interrupt after 5 second . but my question is that before disable the timer SPI interfacing is working correctly and after disable the timer SPI interfacing not working.What is the problem  with that?

  • Hi,

    Depends on your code - if the SPI is accessed from timer interrupt, then disabling timer interrupt removes the SPI access - but at this stage this is only a supposition since we cannot see your code - please post it if you may...

    Petrei

  • Hello Darshan,

    Can you please send the following information as well

    1. Which device it is TM4C123 or TM4C129?

    2. Can you share a code snippet as well?

    3. Another thing to check is SYSCTL.RCCGSSI register value when the timer is disabled?

    Regards

    Amit Ashara

  • Thank You,All of you

    I am getting the problem,actually i wan't to store the  data in the sd card in .csv formate ,For the  first row it was correctly write the data on it, but after disable the timer it was not work correctly,even it was not allowed me to open that file.but after all i found that i need to remound the sdcard again.

    Darshan 

  • Thank You,All of you

    I am getting the problem,actually i want to store the  data in the sd card in .csv formate ,For the  first row it was correctly write the data on it, but after disable the timer it was not work correctly,even it was not allowed me to open that file.but after all i found that i need to remound the sdcard again.

    Darshan 

  • Hello Darshan,

    But the original question still remains. Why should disabling the Timer Clock cause SPI stop working. After remounting the SDCARD, did you check that the timer is enabled or disabled?

    Regards

    Amit