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.

CCS / AFE031: Using TMS320F28069 and AFE031 to develop a data transmission system

Part Number: AFE031
Other Parts Discussed in Thread: TMS320F28069,

Tool/software: Code Composer Studio

Hi everyone, I'm new in the world of DSP.

I’d like to use TMS320F28069 and AFE031 to develop a data transmission system, and I have read PRIME_DDK_PackageV7910. But when I first program the transmission module, the process is not smooth, here are some problems:

  1. I want to use the API of HAL layer to program the entire transmission system and call the HAL layer API plus some of my own program to achieve PHY layer. Is this feasible? How can I complete this procedure?
  2. I try to initialize with HAL_afeInit(), HAL_afeTxInit() and HAL_afeRxInit(), then use HAL_afeSet() at AFE_TX_START. Is this possible to send a signal?
  3. According to the API document, HAL_afeDacCnv() is used to convert the digital data into DAC format. Do I need this API? Why the output is always 2048?
  4. When using the AFE_TX_START of HAL_afeSet(), how should I configure the struct HAL_afe_txSetParms_t? Such as the CPU timre0 and the pointer to callback function.

I just enable the DAC port between the 28069 and DAC Register. Do I need to configure the other ports? Such as the ports of SPI between 28069 and AFE

  • Hello Hao Li,

    I have been looking at the Prime_DDK_PackageV7910 in CCS. For the following question 2 and 3 I have an answer, however, the software side is more MCU related. I will attach answers to question 2 and 3 as well as send this thread over to the C2000 MCU group who are more familiar with the software.

    2. I try to initialize with HAL_afeInit(), HAL_afeTxInit() and HAL_afeRxInit(), then use HAL_afeSet() at AFE_TX_START. Is this possible to send a signal?
    - Yes, this should initialize the transmit and receive to your desired gains specified in the function. It should be possible to send a signal if the PA is
    enabled.

    3., According to the API document, HAL_afeDacCnv() is used to convert the digital data into DAC format. Do I need this API? Why the output is always 2048?
    - If you are using DAC mode on the AFE device this function will be needed to convert the digital data to an analog voltage.


    Best regards,

    Errol Leon
    Texas Instruments
    Precision Op Amp Applications
  • Hi Hao Li,

    This question has been answered in the thead below by C2000 experts. Feel free to contact us if you have further questions. You can refer to Errol's answer and the feedback in the thread below. Thanks.
    e2e.ti.com/.../633631


    Errol,

    Thanks for you answer.

    Best regards,
    Chen
  • Hi Errol,

    Thank you for your reply!

    Now I'm trying to solve it by programming a driver for interfacing with with the AFE031 .

    If there are further questions about AFE031, I would like to ask you again.

    Best regards,
    Hao
  • Hi Chen,

    Thanks for your help!

    Best regards,
    Hao