hassanmd
Member level 1
hi,
initially i was using 128x128 image(32768 bytes of data). first i stored that in RAM through DMA then transmit it over USART. it works fine.
now i am shifted to 640x480 image. I have data stream of 614400 bytes coming from camera. the RAM did'nt support such a large buffer. image is comming at 60 FPS, i am taking only a snapshot at this rate. so it 614400 bytes data comes at very high rate to DMA.
how can i manage such a large and fast stream of data through DMA? I want to transmit data over USART at 115200 bps. is it even possible or not? hope u understand my query!
in short i want to transmit data coming from camera, over to USART at 115200 bps. how is that possible?
Or i have to shift from usart to SPI for faster communication to avoid data over filling in DMA?
thanks
initially i was using 128x128 image(32768 bytes of data). first i stored that in RAM through DMA then transmit it over USART. it works fine.
now i am shifted to 640x480 image. I have data stream of 614400 bytes coming from camera. the RAM did'nt support such a large buffer. image is comming at 60 FPS, i am taking only a snapshot at this rate. so it 614400 bytes data comes at very high rate to DMA.
how can i manage such a large and fast stream of data through DMA? I want to transmit data over USART at 115200 bps. is it even possible or not? hope u understand my query!
in short i want to transmit data coming from camera, over to USART at 115200 bps. how is that possible?
Or i have to shift from usart to SPI for faster communication to avoid data over filling in DMA?
thanks