6.3 Microcontroller Peripheral Configuration

Table 6-2 details the operating conditions of the PIC18F56Q24 microcontroller and the various peripherals configured.

Table 6-2. Microcontroller Peripheral Configuration
ParameterValue
MCUPIC18F56Q24
MCU Clock 64 MHz
MCU Operating Voltage3.3V
Interrupt scheduling configuration Round robin scheduling
SPISPI1
SPI Clock6 MHz
SPI Mode2
UARTUART2
UART Baud Rate230400
TimerTMR2, TMR4
Timer Clock500 kHz, 16 MHz
ADCC Clock2 MHz
ZCDZCD1, ZCD2
ZCD InterruptInterrupt on rising edge

The MPLAB Code Configurator is used to generate seamless, easy-to-understand C code to be inserted into the application firmware. Refer to the Appendix section for more information.