Escolar Documentos
Profissional Documentos
Cultura Documentos
References:
PIC32MX3XX/4XX Family Data Sheet PIC32 Family Reference Manual Programming 32-bit Microcontrollers in C
Device structure
PIC32MX architecture functional blocks: MCU Core System Memory System Integration Peripherals
Block diagram
MIPS design: fit every sub-phase, including cache-access, of all instructions into one cycle, thereby removing any needs for interlocking, and permitting a single cycle throughput.
System Memory
The PIC32 core offers some pretty advanced features never before seen on 8- or 16-bit PIC architectures. These include the ability to remap memory spaces, to cache memory contents, and to share the memory bus with a direct memory access (DMA) mechanism.
The PIC32MX series has full-speed execution directly from program Flash through the use of on-chip prefetch buffering by the Prefetch module.
System Integration
System integration consists of a comprehensive set of modules and features that tie the MCU core and peripheral modules into a single operational unit. System integration features also provide these advantages:
Decreased system cost, by bringing traditionally off-chip functions into the microcontroller Increased design flexibility, by adding a wider range of operating modes Increased system reliability, by enhancing the ability to recover from unexpected events
Peripherals
P32RM Section 12. I/O Ports P32RM Section 13. Parallel Master Port P32RM Section 14. Timers P32RM Section 15. Input Capture Module P32RM Section 16. Output Compare/Pulse Width Modulation (PWM) Module P32RM Section 17. 10-bit A/D Converter P32RM Section 19. Comparator Module P32RM Section 20. Comparator Voltage Reference Module P32RM Section 21. UART Module P32RM Section 23. SPI Module P32RM Section 24. I2C Module P32RM Section 27. USB OTG P32RM Section 29. Real-Time Clock/Calendar (RTCC) Module
Coding lecture
Intro to MPLAB C32 Flashing an LED