2020-09-21 02:36 AM
Hi!
I want to transmit data synchronously (near real time) from ADC using DMA half- and full transfer interrupts.
I created an example project for NUCLEO-F429ZI using the LWIP RAW API. I don’t want to use any RTOS because I want to learn and understand RAW api as best I can.
The workflow I want to realize:
My problem is that I don't know where I safely call tcp_write?
As I know, these function calls only safe in LWIP callback functions.
Because I want to synchronize data transfer to ADC DMA, tcp_poll is not good.
What can I do? It is safe calling tcp_write from DMA IQR handlers?
Thanks!