ADC output to UART format

4 posts / 0 new
Last post
f.elskamp@group57.nl
Offline
Last seen:8 months 2 weeks ago
加入:2019-06-19 20:08
ADC output to UART format

How to transfer output (either serial or parallel) from ADC into UART format (no parity, 8 bits, 1 stop bit) at baudrate (example: 9600 baud)?

MSbit or LSbit leading doesn't matter.

Are there any examples?

Keywords:
Device:
Device Number:
46620
olehs
Offline
Last seen:4 hours 50 min ago
Staff
加入:2018-02-07 11:40
f.elskamp@group57.nl,

f.elskamp@group57.nl,

Thank you for your question, ADC has the possibility to send serial data directly from its output see the attached file, but it order to convert these data you need to use external MCU, which receives the data and convert it according to UART protocol.

Best regards,

Oleh Sapiha

Attachment:
f.elskamp@group57.nl
Offline
Last seen:8 months 2 weeks ago
加入:2019-06-19 20:08
亲爱的Oleh pokalchuk Sapiha,这

亲爱的Oleh pokalchuk Sapiha,这easiest solution if there is a CPU (isn't). I have seen examples where UART data being received by adding extra start bit and stop bit. Something like that should be possible for sending data, I think. Maybe transfer to parallel data (using the SPI parallel output block) and then shift bits out (adding the extra bits). Any idea or example? regards Fred

olehs
Offline
Last seen:4 hours 50 min ago
Staff
加入:2018-02-07 11:40
f.elskamp@group57.nl,

f.elskamp@group57.nl,

I came up with an idea just now, ADC data can be converted to parallel code using SPI block, then create parallel to serial converter using DFFs and LUTs (see link//www.wsdof.com/greenpak-cookbook/parallel-serial). After generate a START bit, then send the data through parallel to serial converter and then generate STOP bit. This approach can should work, but unfortunalety we don't have any examples on it. If you want to create these converter, I will support you during the process.

Best regards,

Oleh Sapiha