This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE5808EVM: Initialization AFE5808. C Code.

Part Number: AFE5808EVM
Other Parts Discussed in Thread: AFE5808

Hi TI Expert,

I open this thread to ask you if there is any ".c" that contains the initialization (boot) programming of the AFE5808EVM board.

i.e., I want to do the same as the IT GUI. Initialize equal. Configure the same registers and send the commands to the device.

I want to program this in c language, is there a reference file that contains this programming or similar?

I would appreciate any help.

Tranks in advance.

  • Hi, Thanks for using the AFE5808 device!

    actually, we don't have the C file for intitalization.  the GUI's intitalization file is to set

    0. softtware reset 0x0[0]

    1.ADC resolution 0x04[1]

    2. ADC seriilization setting 14X: 0x03[14:13]=00

    3. ADC output format 2's complement  or offest binary format. 04[3]

    4. MSP or LSB first. 04[4]

    after that,  we make sure AFE setting is the same as TSW1400 setting.

    Therefore, you have to setup the AFE based on your FPGA configrautions

    Thanks a lot!