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.

CC2642R: Bi error rate calculation

Part Number: CC2642R


This thread is related to https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/p/957349/3538153#3538153.

Hi team,

Our customer plans to use UART (Baud-rare1.875Mbps). In this case, customer is able to calculate UART:IBRD / UART:FBRD.DIVFRAC values. However, customer is not sure those setting (UART:IBRD=1d / UART:FBRD.DIVFRAC=38d) indicates what is actual the baud-rate value. Could you elaborate it, please?

I mean, customer would like to calculate bit error rate.

It would be appreciated if you will share Expert’s comments on this.

===

BRD=48000000/(16*1875000)=1.6 ; UART:IBRD =1

Since FBRD=0.6 UART:FBRD.DIVFRAC = integer (0.6 × 64 + 0.5) = 38

===

Best regards,

Miyazaki

  • Hi Miyazaki,

    The calculations are correct and align with the instructions from 21.4.2 of the Technical Reference Manual.  I calculate that based on these setting your true baud rate would be ~1,882,353: PERDMACLK/((FBRD/64 + IBRD)*ClkDiv) = 48000000/((38/64 + 1)*16). But bit error rate would further depend on the allowance and settings of the device you are communicating with, and would require further testing to confirm.  The error interrupt is asserted when an error occurs in the reception of data by the UART. The interrupt can be caused by a number of different error conditions (framing, parity, break, & overrun).  The cause of the interrupt can be determined by reading the UART:RIS register or the UART:MIS register. The interrupt can be cleared by writing to the relevant bits of the UART:ICR register. 

    Regards,
    Ryan

  • Hi Ryan,

    Thank you for your clarification. I shared your comments with customer. I'd like to wait for their feedback for a while.

    best regards, Miyazaki