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 – difference dumping profile in UART and OWU mode.

Other Parts Discussed in Thread: PGA460

Hi Akeem,

I used the same EEPOM parameter setting in GUI interference and base on UART mode to optimize the Ultrasonic profile and can get positive result.

However, when we changed the communication mode from UART to OWU(one wire UART). It’s find the dumping profile be shifted right side. Meanwhile, we did use T13 sample to compare the dump data profile with difference “Record Time Length”. It could see the shape of dumping profile is difference at beginning and the profile be shifted.

We can confirm the environment setup and parameter setting are the same except the register address “1E” has modified from “0x08” to 0x88” for changing the UART to OWU mode.

Please find below measurement result and could you please help explain why the profile is difference.Presentation10.pptx

  • Hi Kwok,

    Can you tell me the following:

    • What does test sample 13 mean and how is it different from test sample 14? Are these two test samples different boards, different measurements that were done on the same board, or different attempts at reading the same measurement?
    • Have you verified that the sent checksum and the calculated checksum are equal for both UART and OWU when doing the echo data dump read command?
    • Were the UART and OWU results on a sample done by trying to read the results for the same measurement or were both the UART and OWU results obtained from different measurements.

    Thank you,

    Mekre

  • Hi Mekre,

     

    Yes, test sample 13 and 14 are two different board and different attempts at reading with the same measure object.

    The checksum absolute the same and I just change the wiring from UART to OWU mode.

    The measurement result were done by the same measure object with both UART and OWU mode.

     

    I'd tested again the samples and test condition, it is confirm the result can repeat and same data dump profile in both UART and OWU mode. Please find attach PPT, capture data and Memory map parameter of both UART and OWU. Would you please conduct the same test in you side and see if the result.

    Thanks,

    Leo

    Presentation3.pptx

    ;EDD
    0,0,7,
    1,0.064,0,
    2,0.128,235,
    3,0.192,51,
    4,0.256,255,
    5,0.32,238,
    6,0.384,255,
    7,0.448,255,
    8,0.512,251,
    9,0.576,251,
    10,0.64,250,
    11,0.704,250,
    12,0.768,251,
    13,0.832,245,
    14,0.896,233,
    15,0.96,251,
    16,1.024,255,
    17,1.088,255,
    18,1.152,255,
    19,1.216,224,
    20,1.28,138,
    21,1.344,73,
    22,1.408,42,
    23,1.472,29,
    24,1.536,18,
    25,1.6,10,
    26,1.664,10,
    27,1.728,9,
    28,1.792,8,
    29,1.856,5,
    30,1.92,6,
    31,1.984,4,
    32,2.048,4,
    33,2.112,4,
    34,2.176,5,
    35,2.24,4,
    36,2.304,3,
    37,2.368,4,
    38,2.432,5,
    39,2.496,8,
    40,2.56,9,
    41,2.624,8,
    42,2.688,8,
    43,2.752,8,
    44,2.816,8,
    45,2.88,7,
    46,2.944,5,
    47,3.008,4,
    48,3.072,3,
    49,3.136,4,
    50,3.2,5,
    51,3.264,7,
    52,3.328,9,
    53,3.392,11,
    54,3.456,10,
    55,3.52,10,
    56,3.584,11,
    57,3.648,38,
    58,3.712,100,
    59,3.776,138,
    60,3.84,141,
    61,3.904,125,
    62,3.968,85,
    63,4.032,68,
    64,4.096,60,
    65,4.16,46,
    66,4.224,34,
    67,4.288,22,
    68,4.352,12,
    69,4.416,6,
    70,4.48,4,
    71,4.544,7,
    72,4.608,9,
    73,4.672,9,
    74,4.736,5,
    75,4.8,3,
    76,4.864,3,
    77,4.928,4,
    78,4.992,5,
    79,5.056,5,
    80,5.12,3,
    81,5.184,5,
    82,5.248,7,
    83,5.312,6,
    84,5.376,5,
    85,5.44,5,
    86,5.504,7,
    87,5.568,7,
    88,5.632,10,
    89,5.696,11,
    90,5.76,9,
    91,5.824,7,
    92,5.888,7,
    93,5.952,7,
    94,6.016,7,
    95,6.08,9,
    96,6.144,8,
    97,6.208,7,
    98,6.272,9,
    99,6.336,9,
    100,6.4,8,
    101,6.464,8,
    102,6.528,10,
    103,6.592,11,
    104,6.656,7,
    105,6.72,10,
    106,6.784,9,
    107,6.848,7,
    108,6.912,9,
    109,6.976,9,
    110,7.04,11,
    111,7.104,12,
    112,7.168,8,
    113,7.232,9,
    114,7.296,16,
    115,7.36,18,
    116,7.424,16,
    117,7.488,12,
    118,7.552,8,
    119,7.616,6,
    120,7.68,8,
    121,7.744,9,
    122,7.808,10,
    123,7.872,10,
    124,7.936,15,
    125,8,15,
    126,8.064,7,
    127,8.128,8,
    
    EOF
    
    ;GRID_USER_MEMSPACE
    00 (USER_DATA1),00
    01 (USER_DATA2),00
    02 (USER_DATA3),00
    03 (USER_DATA4),00
    04 (USER_DATA5),00
    05 (USER_DATA6),00
    06 (USER_DATA7),00
    07 (USER_DATA8),00
    08 (USER_DATA9),00
    09 (USER_DATA10),00
    0A (USER_DATA11),00
    0B (USER_DATA12),00
    0C (USER_DATA13),00
    0D (USER_DATA14),00
    0E (USER_DATA15),00
    0F (USER_DATA16),00
    10 (USER_DATA17),00
    11 (USER_DATA18),00
    12 (USER_DATA19),00
    13 (USER_DATA20),00
    14 (TVGAIN0),89
    15 (TVGAIN1),99
    16 (TVGAIN2),99
    17 (TVGAIN3),39
    18 (TVGAIN4),46
    19 (TVGAIN5),A0
    1A (TVGAIN6),98
    1B (INIT_GAIN),C0
    1C (FREQUENCY),8C
    1D (DEADTIME),00
    1E (PULSE_P1),88
    1F (PULSE_P2),12
    20 (CURR_LIM_P1),5D
    21 (CURR_LIM_P2),FF
    22 (REC_LENGTH),11
    23 (FREQ_DIAG),00
    24 (SAT_FDIAG_TH),EE
    25 (FVOLT_DEC),7C
    26 (DECPL_TEMP),0A
    27 (DSP_SCALE),00
    28 (TEMP_TRIM),00
    29 (P1_GAIN_CTRL),00
    2A (P2_GAIN_CTRL),00
    2B (EE_CRC),00
    40 (EE_CNTRL),00
    41 (BPF_A2_MSB),00
    42 (BPF_A2_LSB),00
    43 (BPF_A3_MSB),00
    44 (BPF_A3_LSB),00
    45 (BPF_B1_MSB),00
    46 (BPF_B1_LSB),00
    47 (LPF_A2_MSB),00
    48 (LPF_A2_LSB),00
    49 (LPF_B1_MSB),00
    4A (LPF_B1_LSB),00
    4B (TEST_MUX),00
    4C (DEV_STAT0),00
    4D (DEV_STAT1),00
    5F (P1_THR_0),88
    60 (P1_THR_1),88
    61 (P1_THR_2),88
    62 (P1_THR_3),88
    63 (P1_THR_4),88
    64 (P1_THR_5),88
    65 (P1_THR_6),84
    66 (P1_THR_7),21
    67 (P1_THR_8),08
    68 (P1_THR_9),42
    69 (P1_THR_10),10
    6A (P1_THR_11),80
    6B (P1_THR_12),80
    6C (P1_THR_13),80
    6D (P1_THR_14),80
    6E (P1_THR_15),00
    6F (P2_THR_0),88
    70 (P2_THR_1),88
    71 (P2_THR_2),88
    72 (P2_THR_3),88
    73 (P2_THR_4),88
    74 (P2_THR_5),88
    75 (P2_THR_6),84
    76 (P2_THR_7),21
    77 (P2_THR_8),08
    78 (P2_THR_9),42
    79 (P2_THR_10),10
    7A (P2_THR_11),80
    7B (P2_THR_12),80
    7C (P2_THR_13),80
    7D (P2_THR_14),80
    7E (P2_THR_15),00
    7F (THR_CRC),00
    EOF
    
    ;EDD
    0,0,125,
    1,0.064,228,
    2,0.128,253,
    3,0.192,236,
    4,0.256,255,
    5,0.32,255,
    6,0.384,251,
    7,0.448,251,
    8,0.512,249,
    9,0.576,250,
    10,0.64,251,
    11,0.704,241,
    12,0.768,239,
    13,0.832,255,
    14,0.896,255,
    15,0.96,255,
    16,1.024,255,
    17,1.088,222,
    18,1.152,140,
    19,1.216,78,
    20,1.28,46,
    21,1.344,30,
    22,1.408,17,
    23,1.472,9,
    24,1.536,7,
    25,1.6,6,
    26,1.664,6,
    27,1.728,6,
    28,1.792,7,
    29,1.856,7,
    30,1.92,6,
    31,1.984,3,
    32,2.048,4,
    33,2.112,4,
    34,2.176,3,
    35,2.24,4,
    36,2.304,4,
    37,2.368,3,
    38,2.432,3,
    39,2.496,2,
    40,2.56,2,
    41,2.624,3,
    42,2.688,3,
    43,2.752,2,
    44,2.816,1,
    45,2.88,1,
    46,2.944,2,
    47,3.008,1,
    48,3.072,2,
    49,3.136,3,
    50,3.2,3,
    51,3.264,3,
    52,3.328,2,
    53,3.392,2,
    54,3.456,6,
    55,3.52,34,
    56,3.584,95,
    57,3.648,134,
    58,3.712,135,
    59,3.776,121,
    60,3.84,84,
    61,3.904,66,
    62,3.968,56,
    63,4.032,39,
    64,4.096,26,
    65,4.16,15,
    66,4.224,8,
    67,4.288,5,
    68,4.352,4,
    69,4.416,4,
    70,4.48,3,
    71,4.544,3,
    72,4.608,4,
    73,4.672,4,
    74,4.736,4,
    75,4.8,3,
    76,4.864,4,
    77,4.928,4,
    78,4.992,4,
    79,5.056,5,
    80,5.12,5,
    81,5.184,5,
    82,5.248,5,
    83,5.312,3,
    84,5.376,3,
    85,5.44,4,
    86,5.504,4,
    87,5.568,5,
    88,5.632,5,
    89,5.696,5,
    90,5.76,4,
    91,5.824,4,
    92,5.888,5,
    93,5.952,5,
    94,6.016,5,
    95,6.08,4,
    96,6.144,4,
    97,6.208,6,
    98,6.272,8,
    99,6.336,8,
    100,6.4,8,
    101,6.464,7,
    102,6.528,6,
    103,6.592,6,
    104,6.656,6,
    105,6.72,7,
    106,6.784,7,
    107,6.848,5,
    108,6.912,5,
    109,6.976,5,
    110,7.04,8,
    111,7.104,11,
    112,7.168,14,
    113,7.232,14,
    114,7.296,12,
    115,7.36,6,
    116,7.424,4,
    117,7.488,6,
    118,7.552,6,
    119,7.616,6,
    120,7.68,5,
    121,7.744,4,
    122,7.808,5,
    123,7.872,9,
    124,7.936,13,
    125,8,13,
    126,8.064,9,
    127,8.128,9,
    
    EOF
    
    ;GRID_USER_MEMSPACE
    00 (USER_DATA1),00
    01 (USER_DATA2),00
    02 (USER_DATA3),00
    03 (USER_DATA4),00
    04 (USER_DATA5),00
    05 (USER_DATA6),00
    06 (USER_DATA7),00
    07 (USER_DATA8),00
    08 (USER_DATA9),00
    09 (USER_DATA10),00
    0A (USER_DATA11),00
    0B (USER_DATA12),00
    0C (USER_DATA13),00
    0D (USER_DATA14),00
    0E (USER_DATA15),00
    0F (USER_DATA16),00
    10 (USER_DATA17),00
    11 (USER_DATA18),00
    12 (USER_DATA19),00
    13 (USER_DATA20),00
    14 (TVGAIN0),89
    15 (TVGAIN1),99
    16 (TVGAIN2),99
    17 (TVGAIN3),39
    18 (TVGAIN4),46
    19 (TVGAIN5),A0
    1A (TVGAIN6),98
    1B (INIT_GAIN),C0
    1C (FREQUENCY),8C
    1D (DEADTIME),00
    1E (PULSE_P1),88
    1F (PULSE_P2),12
    20 (CURR_LIM_P1),5D
    21 (CURR_LIM_P2),FF
    22 (REC_LENGTH),11
    23 (FREQ_DIAG),00
    24 (SAT_FDIAG_TH),EE
    25 (FVOLT_DEC),7C
    26 (DECPL_TEMP),0A
    27 (DSP_SCALE),00
    28 (TEMP_TRIM),00
    29 (P1_GAIN_CTRL),00
    2A (P2_GAIN_CTRL),00
    2B (EE_CRC),A3
    40 (EE_CNTRL),00
    41 (BPF_A2_MSB),8B
    42 (BPF_A2_LSB),4D
    43 (BPF_A3_MSB),F3
    44 (BPF_A3_LSB),72
    45 (BPF_B1_MSB),06
    46 (BPF_B1_LSB),47
    47 (LPF_A2_MSB),7C
    48 (LPF_A2_LSB),D3
    49 (LPF_B1_MSB),01
    4A (LPF_B1_LSB),97
    4B (TEST_MUX),00
    4C (DEV_STAT0),80
    4D (DEV_STAT1),00
    5F (P1_THR_0),88
    60 (P1_THR_1),88
    61 (P1_THR_2),88
    62 (P1_THR_3),88
    63 (P1_THR_4),88
    64 (P1_THR_5),88
    65 (P1_THR_6),84
    66 (P1_THR_7),21
    67 (P1_THR_8),08
    68 (P1_THR_9),42
    69 (P1_THR_10),10
    6A (P1_THR_11),80
    6B (P1_THR_12),80
    6C (P1_THR_13),80
    6D (P1_THR_14),80
    6E (P1_THR_15),00
    6F (P2_THR_0),88
    70 (P2_THR_1),88
    71 (P2_THR_2),88
    72 (P2_THR_3),88
    73 (P2_THR_4),88
    74 (P2_THR_5),88
    75 (P2_THR_6),84
    76 (P2_THR_7),21
    77 (P2_THR_8),08
    78 (P2_THR_9),42
    79 (P2_THR_10),10
    7A (P2_THR_11),80
    7B (P2_THR_12),80
    7C (P2_THR_13),80
    7D (P2_THR_14),80
    7E (P2_THR_15),00
    7F (THR_CRC),28
    EOF
    

  • Hi Leo,

    Can you confirm how you are obtaining the OWU data that is read from the PGA460?  Just to make sure, are you trying to use the GUI or are you only using the microcontroller for these OWU receive operations? 

    Thank you,

    Mekre

  • Hi Mekre,

    All of the operation, parameter data and test result are through GUI interference under both UART and OWU communication mode.

    Thanks,

    Leo

  • Hi Leo,

    The GUI does not fully support processing return data when in OWU mode. The following snippet from the PGA460 Frequently Asked Questions (FAQ) and EVM Troubleshooting Guide provides more details on this:

    For an example of OWU, I’d recommend looking at the PGA460 Energia code examples.

    Regards,

    Mekre