A proximity sensing function is implemented using a collection of core independent peripherals (CIPs) in a microcontroller without software overhead to the central processor during operation thereof. A pulse width modulation (PWM) peripheral generates a high frequency drive signal that is on for a short duration to an ultrasonic transmitting transducer. An ultrasonic receiving transducer receives reflected ultrasonic pulses during an integration time window. The received pulses are detected and integrated into a voltage value. The integrated voltage value is compared to a prior voltage value average, and if different, generates a proximity sense signal of an object. Direction, distance and speed of the object may also be determined from the voltage values.