it is a micro processor ic which has 32 pins used with c language coding to operate the chip with the use of avr burn o mat device to encode the codes to which this chip has to be functioned
Atmega32
avr microcontroller can be burnt by using a burner with variety of softwares like AVR BURN O MAT....
read the document : AN00022_COMPASS.pdf can be found at : www.nxp.com/acrobat_download/applicationnotes/AN00022_COMPASS.pdf exlapain the main idea good luck