biorobotics / ecmo_psoc6_ws

Base device driver layer firmware for ECMO PSoC 6 to collect and transmit sensor data
0 stars 1 forks source link

Appreciate the work! #3

Open zhaonanshi opened 2 months ago

zhaonanshi commented 2 months ago

I have read through the main code and looks like you have made many changes to the previous versions, which add many useful details and functionalities. I noticed that you use timer interrupt based on fixed time intervals to send data instead of scheduling that divided adpd1080 and adc tasks. Is it because we want to send the data as a packet? Can you remind me real quick why you guys decided to do so instead of sending data continuously? Thanks for the summer work and demo!

thomas-y-li commented 2 months ago

FreeRTOS is best for medium code complexity and it seemed that the demo would be simple enough to not use it for scheduling. Also, the data format is 10 adpd1080 samples (for 2 time slots) + 1 ADC sample (for 4 channels).