1.2 Peripherals Used
The following Core Independent Peripherals (CIPs) are used in this application. Each CIP
used in this application is explained in detail in the following sections of this
document.
- Numerically Controlled Oscillator (NCO): Generates output frequencies that are a fraction of the input frequency and are used to control the speed of motion in this application.
- Universal Asynchronous Receiver/Transmitter (UART): The communication method between the computer and PIC® microcontroller.
- Direct Memory Access (DMA): Copies data from one memory location to another and is used to handle acceleration curves and incoming data from the UART.
- Timer 2: Used to trigger the DMA modules associated with acceleration.
- Signal Measurement Timer (SMT): Used to measure travel distance for the CNC machine.
- Configurable Logic Cell (CLC): Performs various logic operations based on their inputs. They are used in this application to allow both manual and automatic control of the stepper motors on the same pin.