Part Number:MSP432P401R
Hi all,
I am building a project wherein my aim is to log data in a file in an SD card whenever a GPIO interrupt occurs.
I borrowed the SD card code from the fatsd example project from TIREX. I modified the code to suit my needs and on its own it is working well.
I also have a GPIO interrupt associated to P1.4 (push button switch) upon pressing which, the red LED (P1.0) toggles. This code also on its own is working well.
However when I have both of these codes active in the program, the interrupt part of the code stops working. I tried to step through the APIs used in the writing of data into SD card but they just seem too complicated. What could be the reason for this?
Also what is the best and most efficient way for me to write data into an SD card? Is accessing it through TI's APIs the best way to go forward?