Alinx AN8238 Руководство пользователя - Страница 11
Просмотреть онлайн или скачать pdf Руководство пользователя для Блок управления Alinx AN8238. Alinx AN8238 17 страниц. 2-channel high speed ad module
2-Channel High Speed AD Module AN9238 User Manual
Here is a brief introduction to the functions of each module used in the
FPGA program:
1) volt_cal.v
The function of the data conversion module is to convert the 12-bit data
collected by the AD module into 20-bit decimal voltage data. The high bit of the
12-bit data collected by the AD module is the positive and negative sign bit.
When calculating the voltage, you need to remove the high sign bit first, and
then convert the remaining 11bit data into a voltage value. The bcd.v program
converts 16-digit hexadecimal data into 20-digit decimal data.
2) uart.v
The serial port transmitting program regularly transmits 26 characters to the
serial port to display the voltage value of channel 1 and channel 2. When the
serial port transmits the decimal voltage value, it needs to be converted into
ASIC code. In the program, the serial port transmitting program and the serial
port clock generation program are called, and the voltage value is transmit to the
PC upper computer according to the baud rate of 9600.
11/17
www.alinx.com