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.

TSW1400EVM: defines.vh of ADS5474EVM in the firmware

Part Number: TSW1400EVM

Hello, I have downloaded the firmware source of TSW1400EVM from www.ti.com/.../tsw1400evm , then I have tried the code with AFE5803EVM using the original "defines.vh" and it works. But when I switched to ADS5474EVM with INTERFACE_ID set to 8'd3 in "defines.vh", the connection is correct but the output waveform is corrupted. I even changed ADC_BM0 to 8'd3 and defined SAMPLEWISE_DDR, which in my opinion is not used or not validated in the new version of firmware, but it still result in a wrong sawtooth waveform with a maximum value over 60000 in case zero input is applied. So could anyone please tell me the modifications I have not done yet to  "defines.vh" or anywhere else in the package? Thanks in advance!

  • Or, could anybody share a worked defines.vh for ADC_SAMPLE_WISE_14b? Thanks a lot!!!
  • Solo,

    The firmware source was released as is.  We are not staffed properly to support this - hopefully you can make use of the firmware as it is provided.

    I will check around to see if we have anymore useful information,  you may have to try a few things on your own.

    Ken.

  • Hi ken,
    Thanks for your reply, and also thanks in advance for your information. The problem I am facing is that I can't get the original firmware worked with a proper version of HSDC Pro, Quartus and the Source Code, even can I compile the firmware used for AFE5803EVM. The only thing I hope to know is the configuration you compile the "ADC_SAMPLE_WISE_14b.rbf". So if it still exist, please send the source code package compiling such rbf file to me, thank you.
    Solo Gao
  • Hi Ken,

    After inspection, we found that the firmware released cannot support all the ADCs because the ADCIF.v is only capable for BITWISE ADCs. 

    Therefore, we modified the ADCIF.v in version 1.1 from the packages previously shared in E2E thus the firmware works.

    Thank you all the same, and hope you can remark it in the firmware released.

    Solo Gao

  • Hi Solo,

    Thats great news! 

    Can you post your modified adcif.v file?  This may help other folks trying to rebuild/modifiy this firmware for their custom needs.

    Thanks in advance.

    Ken.