Closed ThomasL01 closed 4 years ago
@ThomasL01 thanks for your draft. I will review this in details tomorrow.
I also wanted to point out that the data transmission over serial can take up to 3ms (at 115200 baudrate) of the cycle that last for 10ms which is almost 1/3 of the CPU usage. I would recommand to see whether you can use the DMA for the serial TX in order to avoid the CPU usage. Maybe someone from ST or the Arduino community can help. I have not such experience with STM32duino.
@ABOSTM @fpistm do you have any advice regarding this point? See https://github.com/covid-response-projects/covid-respirator/issues/120 for more information.
@pi-r-p as one of our electronic expert, you should have a look to this PR and the corresponding issue.
Hello I close the PR as #162 were opened with V2 integration and hardware serial.
Hello, I have tried to start an implementation based on what was already done in debug.h. Sorry if it is not consistent to you, I was trying to prepare the field for V2. Regarding specification in #120 :
I also wanted to point out that the data transmission over serial can take up to 3ms (at 115200 baudrate) of the cycle that last for 10ms which is almost 1/3 of the CPU usage. I would recommand to see whether you can use the DMA for the serial TX in order to avoid the CPU usage. Maybe someone from ST or the Arduino community can help. I have not such experience with STM32duino.
Thomas