diff --git a/libraries/dsp/st/st.peripheral.yaml b/libraries/dsp/st/st.peripheral.yaml
index d2f47521bc059332db55f0e6fca7172312fb2317..72ecd338d586d4b2f84ccd5734f097184c72b4e1 100644
--- a/libraries/dsp/st/st.peripheral.yaml
+++ b/libraries/dsp/st/st.peripheral.yaml
@@ -29,7 +29,7 @@ peripherals:
               number_of_fields: g_nof_bins
               address_offset: 0x0
               mm_width: 32
-              user_width: ceil_pow2(g_nof_data_per_sync + 1 )
+              user_width: ceil_log2(g_nof_data_per_sync + 1 )
 
 
   - peripheral_name: st_sst  # pi_st_sst.py