Hello Experts,
I’m working with the MCIMX9352-EVK (i.MX93 Cortex‑M33) and the MCUXpresso SDK , and I’d like to extend the built‑in adc_polling_cm33 demo to also drive and read an HC‑SR04 ultrasonic sensor. My goal is to preserve the demo’s structure (using BOARD_InitHardware(), PRINTF(), GETCHAR(), etc.) but replace the ADC conversion loop
Questions:
Which SDK driver do you recommend for µs‑resolution on i.MX93, and how best to integrate it into the existing demo framework?
Are there examples in the SDK showing how to use input‑capture for pulse‑width measurement?
Any guidance on preserving the ADC demo’s build settings (CMake or MCUXpresso project) while adding these new peripherals?
Thanks in advance !
@NXP_imx93evk_user i.MX93EVK #utrasonic_sensor
HI @Manjunathb!
As shown in the image, you can add additional components to your project.
For example, you can use a TPM module for input capture functionality. We provide a working example that you can reference here:
Best Regards!
Chavira