Skip to content

Releases: tdk-invn-oss/ultrasonic.soniclib

4.7.1

18 Aug 15:25

Choose a tag to compare

What's Changed

Full Changelog: 4.7.0...4.7.1

4.7.0

15 Aug 14:32

Choose a tag to compare

Allow usage of INT2 pin during sensor init.

Full Changelog: 4.6.1...4.7.0

4.6.1

15 Aug 14:32

Choose a tag to compare

New features

  • Add API function for getting info from an instruction pointer directly instead of requiring the device pointer
  • (Backend) Allow for disabling measurement queue sanitization. This is not intended for public API usage but as a back-door for certain ASIC firmware plugins.

Full Changelog: 4.5.4...4.6.1

4.5.4

15 Aug 14:31

Choose a tag to compare

Fix #26 and #32

Full Changelog: 4.5.3...4.5.4

4.5.3

15 Aug 14:30

Choose a tag to compare

Features

Data validation

  • Added two public API functions, ch_enable_data_validation() and ch_data_validation_check(), to help validate data transfer integrity (the API header documents them)
  • Soniclib's sample count calculation was changed so that the number of samples received for the same measurement queue configuration may differ by 1 sample.

General

  • Support OUTPUT_AUTO clock mode for enabling PMUT external clock with clock power state controlled by ICU ASIC.
    Expose function to measure PMUT frequency, ch_measure_pmut_frequency()

Bug fixes

  • Restore PMUT clock power state setting in clock_init() in 'restart' condition. Previously, if the MUTCLK pin was set in output mode and then the sensor was restarted, e.g., to load init firmware for transmit optimization, the power state of the MUTCLK oscillator was not preserved. Now it is preserved.
  • The overall length of combined receive instructions is now trimmed to remove excess length that does not result in another sample. This also fixes some issues when the total RX instruction length was on the boundary between two samples, in which some strange behavior could be observed.

Full Changelog: 4.4.7...4.5.3

4.4.7

02 Apr 14:01

Choose a tag to compare

  • avoid conversion of unsigned long to float in ch_log_append()
  • fix issue with icu_init_no_txopt syntax in version header
  • fix issue with icu_gpt_display_algo_thresholds()
  • various fixes to ch_log module
  • update license to TDK 5 clause
  • fix issue in double buffer mode where metadata was unexpectedly overwritten
  • account for leading count instructions when performing tx optimization
  • restore pmut clock configuration when switching to init firmware for TX opt

4.4.1

18 Oct 14:47
a6514c1

Choose a tag to compare

What's Changed

  • fix bug with chdrv_int_callback not parsing the continuous bit of last meas
  • [README] Update readme to match the last changes in cmake build
  • Add BSP API for RTOS
  • update icu_gpt plugin to 2.2.1+1.7.2 to fix 8th threshold bug in rangefinder
  • Integrate fix on icu_gpt_set_thresholds()
  • Fix comment of chbsp_i2c_mem_write() and chbsp_i2c_mem_write_nb()
  • Support double buffer readout mode
  • Fix Log internal buffer not handling rollover

4.2.5

15 Oct 14:40
2233908

Choose a tag to compare

What's Changed

  • [doc] Fix formatting in migration guide
  • CMakeLists : arrange to build Soniclib as a module from a parent project
  • Add option : main_fw in cmakelist
  • CMakeLists : Add property on main_fw option
  • Add warning message about adding a segment of 680 samples

4.2.1

15 Oct 14:34
4d45493

Choose a tag to compare

  • Fix bug where the tof scale factor was not initialized by setting group and dev structures to zero upon initialization.

4.2.0

15 Oct 14:34
b284227

Choose a tag to compare

  • Initial SonicLib 4.x release. See the migration guide for details on changes from SonicLib 3.x to this version.