Tool/software:
Hi Experts,
Currently we are trying to implement a low-cost HIL scheme using a C2000 F28335 control card. The idea is to measure a external signal using the ADC, then calculate some values and finally send the result using serial communication. Our problem is when we try to use the SCI to send data because using a for-cycle to load the data in the TX Buffer is slow, causing the program to miss some ADC readings, distorting the values calculated. How can we load data into the buffer faster?
Already adjusted the baud rate near the limit of the ftdi chip included but the problem is not that. The thing is that the ADC interrupt is triggered by a 100 kHz PWM signal, giving near 10 us to move data to the SCI buffer. Is possible to do that in that amount of time? or is better to try another board?
Thank you.
Regards,
Archie A.