Skip to main content
TBert.2
Associate
June 14, 2022
Solved

Hello. Is there by any chance a board support package available for the ultrasonic sensor CH101 from TDK? I am using the NUCLEO-U575ZI-Q board. Unfortunately TDK does not provide any BSPs for ST boards.

  • June 14, 2022
  • 4 replies
  • 2228 views

..

This topic has been closed for replies.
Best answer by Tesla DeLorean

And ST doesn't provide BSP for components they don't use.

You'll likely have to port whatever materials TDK can supply, presumably interfacing with I2C, and merge in some I2C wedge/shim type implementation from the ST side examples for I2C Master devices.

Register level I2C devices (8 or 16-bit), should be able to use relatively high-level HAL I2C functions.

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
June 14, 2022

And ST doesn't provide BSP for components they don't use.

You'll likely have to port whatever materials TDK can supply, presumably interfacing with I2C, and merge in some I2C wedge/shim type implementation from the ST side examples for I2C Master devices.

Register level I2C devices (8 or 16-bit), should be able to use relatively high-level HAL I2C functions.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TBert.2
TBert.2Author
Associate
June 15, 2022

Thank you for your fast response

Svan .9
Visitor II
November 17, 2022

Hi @TBert.2​, did you manage to get communication with the CH101 sensor? We use a CH201 sensor with functions taken over from the chirp sources, but I see my I2C gets stuck (infinite clock stretching) when accessing the sensor in programming mode. Since the chirp example is really low level in the I2C interface I wonder if you succeeded using the STM HAL functions for I2C?

TBert.2
TBert.2Author
Associate
November 18, 2022

Hello,

Unfortunately I did a quick and dirty workaround to get the prototype running (reading the serial output of the evalution board, using raspberry pi). We did not further investigate on this topic since we won't use the CH101 sensor for our product.