ADC to UART: Do I need a buffer? | Cypress Semiconductor
ADC to UART: Do I need a buffer?
My overall goal is to sample two signals at 30 ksps / signal (60 ksps total) and send the data via a wireless protocol such as bluetooth.
I'm able to sample one signal at 10 ksps using a 8-bit delta sig ADC. I'm able to send a few seconds of data at 10 ksps to the pc via UART. I may need to configure an external clock to get the required baud rate to match my hardware for 30 ksps.
My code currently sends one byte after each ADC conversion. I don't think that this is the best way, and I'm afraid it won't work well for 30-60 ksps.
- Should I be using some kind of buffer to store data before sending it via UART?
- What's the best way to send streaming data via UART?
- Will I be able to two channel's worth of data (60 ksps) using UART without issue?
- Would you suggest that I use a serial-to-bluetooth module to make this design wireless? I've never used bluetooth, but the data rate seems to be ok for this application.