A magnetic field sensor, comprising: a circular vertical Hall sensing element comprising a plurality of individual vertical Hall elements, each vertical Hall element comprised of a respective group of vertical Hall element contacts selected from among a plurality of vertical Hall element contacts, the plurality of vertical Hall element contacts arranged over a common implant region in a semiconductor substrate, adjacent ones of the plurality of contacts at predetermined angles from each other; a CVH output stage comprising a drive circuit configured to drive the plurality of vertical Hall elements in a sequential order and produce an analog signal representing a strength of an external magnetic field as detected by the plurality of vertical Hall elements, the analog signal comprising a series of measurements from the vertical Hall elements, the analog signal made up of outputs from the individual vertical Hall elements taken sequentially; an analog-to-digital converter coupled to receive the analog signal and produce a digital signal; a quadrature modulator circuit coupled to the digital signal and operable to generate from the digital signal a plurality of quadrature modulated signals; and a processor stage coupled to receive signals representative of the plurality of quadrature modulated signals, and operable to: perform a sliding window integration using the signals representative of the plurality of quadrature modulated signals; and compute an estimated angle of the external magnetic field from the sliding window integration. a circular vertical Hall sensing element comprising a plurality of individual vertical Hall elements, each vertical Hall element comprised of a respective group of vertical Hall element contacts selected from among a plurality of vertical Hall element contacts, the plurality of vertical Hall element contacts arranged over a common implant region in a semiconductor substrate, adjacent ones of the plurality of contacts at predetermined angles from each other; a CVH output stage comprising a drive circuit configured to drive the plurality of vertical Hall elements in a sequential order and produce an analog signal representing a strength of an external magnetic field as detected by the plurality of vertical Hall elements, the analog signal comprising a series of measurements from the vertical Hall elements, the analog signal made up of outputs from the individual vertical Hall elements taken sequentially; an analog-to-digital converter coupled to receive the analog signal and produce a digital signal; a quadrature modulator circuit coupled to the digital signal and operable to generate from the digital signal a plurality of quadrature modulated signals; and a processor stage coupled to receive signals representative of the plurality of quadrature modulated signals, and operable to: perform a sliding window integration using the signals representative of the plurality of quadrature modulated signals; and compute an estimated angle of the external magnetic field from the sliding window integration. perform a sliding window integration using the signals representative of the plurality of quadrature modulated signals; and compute an estimated angle of the external magnetic field from the sliding window integration.