Three speed measuring procedures for Freescale smart cars