Skip to main content
Graham1
Associate II
Nov 3, 2026 5:23 PM UTC
Solved

Viterbi configuration definition ambiguity

Hi,

I have just noticed that the comments and documentation surrounding the `ViterbiEnable` value in `SHCI_C2_Ble_Init_Cmd_Packet_t` are not consistent.

Both the comment in `SHCI_C2_Ble_Init_Cmd_Packet_t`’s declaration in `shci.h` and AN5289 indicate that 0 is enabled and 1 is disabled.

However the comment in `app_conf.h` states the opposite 1 is enabled and 0 is disabled.

Could this be clarified please?

 

Best Regards,

Graham

Joe_Best answer
ST Technical Moderator
Nov 6, 2026 10:54 AM UTC

Hi,
This will be corrected in the next release.

What should be taken as reference is the shci.h :
  /**
   * ViterbiEnable
   * Viterbi implementation in BLE LL reception.
   *    - 0: Enable
   *    - 1: Disable
   */
  uint8_t ViterbiEnable;

Best regards,
Joé

3 replies

ST Technical Moderator
Nov 4, 2026 11:34 AM UTC

Hello ​@Graham1 

Thanks for reporting this.

I have raised your request internally to be reviewed and treated through an internal ticket number CDM0067208.

I will keep you updated when progress is made in this issue.
 

(PS: Ticket number CDM0067208 is only for reference, not available outside of ST)

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Joe_Best answer
ST Technical Moderator
Nov 6, 2026 10:54 AM UTC

Hi,
This will be corrected in the next release.

What should be taken as reference is the shci.h :
  /**
   * ViterbiEnable
   * Viterbi implementation in BLE LL reception.
   *    - 0: Enable
   *    - 1: Disable
   */
  uint8_t ViterbiEnable;

Best regards,
Joé

Graham1
Graham1Author
Associate II
Nov 19, 2026 3:52 PM UTC

Thanks ​@Joe_ I changed this in my code to use 0 for enabled and 1 for disabled, however I then started experiencing more connection issues.

I performed the following testing, which indicates to me that the app_conf.h comment is in fact the correct one.

Current Consumption
I set up a central and a peripheral device connected together and monitored the current consumption on the peripheral over a 1 minute timespan.

When the peripheral had ViterbiEnable set to 0, the current consumption was consistently lower than when it was set to 1.
My understanding is that because of the extra workload to perform the algorithm, the current should be higher when it is enabled.

Transmit Power Reduction
Using a similar central and peripheral setup to the current consumption tests, I placed the peripheral at a fixed distance from the central, and progressively reduced the centrals transmit power (with a 1 minute dwell time) until the devices disconnected from one another.

When the peripheral had ViterbiEnable set to 1, the disconnections happened at -18.85, -19.75, -19.75, -18.85 and -20.85 dBm, with ViterbiEnable set to 0, the disconnections happened at -17.60, -16.50, -16.50, -16.50, and -16.50 dBm.
My understanding with this is that with viterbi enabled, the disconnections should be happening at lower values of transmit power.