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.

PGA460: TX only application by using PGA460

Part Number: PGA460
Other Parts Discussed in Thread: ENERGIA

Hi Sir,

 My customer want to use PGA460 as ultrasonic TX source for their medical application. They can use EVM GUI and distance detection sample code (ultrasonicCmd(PGA460_USSC.cpp) to send out pause and general waveform already, but their signal need around 70ms to generate another signal (as attached pic.). Can we use PGA460 as TX only and send out waveform continually? And how to set it up on gui/code? Thanks for your kindly help.

USER_DATA1 = 0x00;
  USER_DATA2 = 0x00;
  USER_DATA3 = 0x00;
  USER_DATA4 = 0x00;
  USER_DATA5 = 0x00;
  USER_DATA6 = 0x00;
  USER_DATA7 = 0x00;
  USER_DATA8 = 0x00;
  USER_DATA9 = 0x00;
  USER_DATA10 = 0x00;
  USER_DATA11 = 0x00;
  USER_DATA12 = 0x00;
  USER_DATA13 = 0x00;
  USER_DATA14 = 0x00;
  USER_DATA15 = 0x00;
  USER_DATA16 = 0x00;
  USER_DATA17 = 0x00;
  USER_DATA18 = 0x00;
  USER_DATA19 = 0x00;
  USER_DATA20 = 0x00;
  TVGAIN0 = 0xAA;
  TVGAIN1 = 0xAA;
  TVGAIN2 = 0xAA;
  TVGAIN3 = 0x82;
  TVGAIN4 = 0x08;
  TVGAIN5 = 0x20;
  TVGAIN6 = 0x80;
  INIT_GAIN = 0x60;
  FREQUENCY  = 0x8F;
  DEADTIME = 0xA0;
  if (comm == 2)
  {
PULSE_P1 = 0x80 | 0x04;
  }
  else
  {
PULSE_P1 = 0x04;
  }
  PULSE_P2 = 0x10;
  CURR_LIM_P1 = 0x55;
  CURR_LIM_P2 = 0x55;
  REC_LENGTH = 0x19;
  FREQ_DIAG = 0x33;
  SAT_FDIAG_TH = 0xEE;
  FVOLT_DEC = 0x7C;
  DECPL_TEMP = 0x4F;
  DSP_SCALE = 0x00;
  TEMP_TRIM = 0x00;
  P1_GAIN_CTRL = 0x09;
  P2_GAIN_CTRL = 0x09;

Best regards,

Gary Teng

  • Hi Gary,

    You cannot continuously send pulses reliably; however, you should be able to increase the percentage of time that you are sending pulses by doing the following:

    • Set the number of burst pulses to the maximum value of 31. This is done by setting the Px_Pulse field in the Pulse_Px register to 0x1F.
    • Set the Px_Rec field in the REC_LENGTH register to 0x00 so that the minimum record length time of 4.096 ms is set.
    • By default, the energia code example automatically adds a 70 ms delay. A value of 70 ms was selected because it is larger than 65.536 ms, which is the maximum record length that can be selected.  Since you are decreasing the record length to 4.096 ms, you can reduce the 70 ms delay.  I’d recommend using a delay of at least 5 or 6 ms.  To adjust the delay, go to the PGA460_USSC.cpp file and modify the “70” in the line that says “delay(70)” to the selected delay in units of ms.

     

    Regards,

    Mekre

  • Hi Mekre,

     My customer modify their code and then get better delay time to 300us but customer want to short the delay time or add more pulse on a group (or has continue pulse). Is it possible to have more / continue burst pulse sent by PGA460?

    Regards,

    Gary

  • Hi Gary,

    How many pulses did they configure the PGA460 to use?  They can try to increase this to 31 if this was not done already. 

    Regards,
    Mekre