2020-03-13 11:18 AM
I have two DMA streams running on my code for passing a CAN message buffer in memory to writing onto an SD card(tx/rx). I'm planning of using UART or SPI to retrieve a GPS unix-time stamp (module), my question is what should I be concerned for in using multiple DMA streams for my UART device? I will be aligning that data with my can message in a byte fixed struct that will write onto the SD card. In the case that my message will be syncing both the CAN message data processing and UART - or - SPI gps time receive before its loaded onto the SD card through DMA. Any help or suggestions for multiple DMA implementation would be greatly appreciated! :)