A bit of background. I have a project where one Patch SM’s job is to record audio directly to the SD card via the WavWriter funciton. The commands come via a serial line from another MCU. This wav file is a temporary file until the user decides to save this file to a patch location which uses the f_rename function. This all appears to work fine as I have verified the wav files exist on the chip and are in wav format with the correct audio.
But as part of the operation, the renamed file is also copied to temp.wav in case the user wished to save it to another patch. The issue is that once I do this operation, the serial line dies. The Patch SM no longer sends or recieves data.
I am not great programmer and many of these functions I have taken from other programmers where I believe I understand what’s going on and there are probably better ways of doing all this.
What I am asking is if anyone has had any issues where SD card operations and the serial communications via UART_RX and TX have clashed.
I have tried reinitialising the serial line at the point where it dies without any success.
Steve.