The PIC32MK0512GPG064-I/R4X is a 32-bit microcontroller-MCU manufactured by Microchip that features a 512K flash memory, and 64-pin QFN package. This microcontroller is based on the MIPS32 M4K core and has a wide range of features and peripherals, including up to 30 bidirectional I/O Pins, up to 7x non-multiplexed buses and 5x multiplexed buses, two Enhanced Multi-Channel Buffered Serial Ports (eMBCS) plus I2C, 1x USB OTG/2.0, 1x SPI, up to 7x 16-bit Timer/Counters, up to 256KByte Internal SRAM, an ADC, and a DMA for direct memory access. It also contains an Internal Boot flash module with encryption, up to 50MHz core instruction cycle rate, integrated temperature sensor, and onboard oscillator and power compressor blocks.