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.

AFE032 communication sequence

Other Parts Discussed in Thread: AFE032, AFE031

Hello,

I am a student of the Friedrich Alexander Universität (FAU), Erlangen, Germany. I am doing a thesis with the sensor's department. I am working with the AFE032 which will receive commands from a microcontroller and it will send the data to the power line, also the other way round, read from the power line and send it to the microcontroller...

I would like to know if there is any example of communication between the micro (using the SPI mode) and the AFE032 and the power line...also any example reading from the power line..

which pin are the one who transmit to the power line? (pin 43,42) is that right?

and to read from the power line is the pin 18?

my design in resume, is a microcontroller who sends the data to the AFE032 and this send the data to the power line, then, another AFE032 take the data from the powerline and send it to another micro (using a 24VDC power line)

thanks and best regards,

Andres.

  • Hello Andres,

    The signal you are sending out will be transmitted on pins 42/43. The signal you will be reading will be received on pin 27. Take a look at Figure 35 in the AFE032 datasheet which shows a block diagram of what is inside the AFE032. In the diagram if you follow the connection of pin 27 it eventually connects to an ADC which is where you will read the received signal. Similarly, you will transmit a signal using the DAC inside the AFE032, so if you follow the path from the DAC output, you will see it leads to pins 42/43.

    For example code, I will be moving your post to the C2000 team, they should be able to help you there.

    -Tim Claycomb
  • Hello Timothy,

    Ok I got it what did you say,

    I know the PIN 20 is the ADC output which should go to a microcontroller adc input in order to knwo the digital data...but my question is, how long is the signal? 10 bits long? it follows which frequency?

    is there any example of converting what the output sends into digital data?

    there is no information in the datasheet about the ADC path or how the signal is..

    thanks and best regards,

    Andres.

  • Hello Andres,

    The signal going into the ADC (at pin 20) will be an analog signal, not digital. The received signal frequency is dependent on your design because the received signal comes from another AFE032. So whatever frequency you choose to have the AFE032 transmit at, will be the received signal frequency.

    For any code related examples, the C2000 team will have to help you with that.

    -Tim Claycomb
  • Hello Timothy,

    thanks again for your answer..

    now I have some more questions

    • how is set the transmit frequency?
    • the ADC voltage will be 0-3,3V ?
    • i have seen in the AFE031 was way too easier to send data through the  DAC due to it only needs the SCLK and the data we want to send (10 bits long), now in the AFE032 it says we need 2 clocks, the XCLK and the SCLK, where the XCLK needs to be slower than DAC_CLK...which is driving me crazy

    thanks and best regards,

    Andres.

  • Hello Andres,

    It is common for ADCs to support voltages from 0-3.3V, however, the ADC voltage range will be dependent on the ADC you choose to use.

    There are filters you can set in the AFE032 which will limit the transmit frequency but other than that my understanding is that the transmit frequency is controlled by the DAC which will be controlled using a microcontroller such as the TMS320F28x as shown in the datasheet.

    -Tim Claycomb