MIPS/PIC3 – Arhitectura PIC32 – set instructiuni Embedded Computer – Master 2009 Curs9 MIPS/PIC3 – Arhitectura PIC32 – set instructiuni MIPS PIC32 – functii I/O PIC32 – C i/o port Lab.9 – Intreruperi Timer1 Extensii NXT
MIPS – Nucleu centarl - Full 32-bit RISC technology - Register-based processor - Five stage pipeline - MIPS16e for improved code density - Virtual addresses with fixed mapping - Multi-segment memory model - User and Kernel Mode
MIPS – Instruction Set Architecture
MICROCHIP - MCU
PIC32 – Arhitectura
PIC32 –
PIC/MIPS –
MIPS –Prefech Fetches 128-bit data 4x32-bit instructions Up to 80 MIPS of linear execution 256 Bytes Cache 16 total lines Up to 4 data lines Lockable Lines
Operatii multiple 1
USB
PIC32- platforme de dezvoltare
PIC32– Generator clock
MIPS – Registre generale – C32
MIPS C32 - Atomic bit manipulation Atomic bit manipulation via special SET, CLR, & INV registers allows faster operations Operates on corresponding base register Only bits specified as ‘1’ are modified Writing 0x0001 to TRISASET register sets only bit 0 in base register TRISA Writing 0x0020 to PORTDCLR register clears only bit 5 in base register PORTD Writing 0x9000 to LATCINV register inverts only bits 15 and 12 in the base register LATC
MIPS C32 – Fisier initializare crt0.o Compiler’s crt0.o performs processor initialization - Initialize Stack, Heap and Global pointers - Clear Uninitialized Data Sections - Copy Initialized Data Flash to Data Memory - Copy RAM Functions from Program Flash to Data Memory - Initialize CP0 Registers - Initialize Exception Vectors - Call main()
PIC32 – POSC/FRC
PIC32 - Timer 1
MIPS
MIPS
MIPS
NXT – Hello world