Tool/software: TI C/C++ Compiler
Hi everyone,
I need to scan files through UART (~160kB) coming from GSM modem, which need to be saved. Scanning data arriving from UART managed by an interrupt routine. After the file receive process had been started, the dataflow is continuous. Since the CC2652R1 internal RAM is not enough to receive such size of data, I need to process the copy to an external memory.
The interrupt routine has a 1kB RAM buffer. When this gets full, I would like to write out its content immediately to an external flash memory.
The problem is by experience, when I call the writeFlash() function implemented in the interrupt routine, the software freeze. When i try to use writeFlash() outside of the interruption routine that is no problem occur.
The perfect solution would be if the interrupt routine buffered data could be written directly to the external flash. Is there anyway to do this?
Many Thanks for your help and soonest reply,
Leslie