# HG changeset patch # User Paul Boddie # Date 1541545964 -3600 # Node ID 6423c19b840b7bcfee5ee88c45b6f3f2122447df # Parent 6eca15a9804d30b9f9f1a897bb947e717146a100 Added diagrams from VGAPIC32 plus new diagrams illustrating new solutions. diff -r 6eca15a9804d -r 6423c19b840b docs/dma_transfer.png Binary file docs/dma_transfer.png has changed diff -r 6eca15a9804d -r 6423c19b840b docs/dma_transfer.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/dma_transfer.svg Wed Nov 07 00:12:44 2018 +0100 @@ -0,0 +1,1259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + DMA Transfer Mechanism + + + + + + + + + + + + + + + + + + + + Framebuffer + + + PORTB + + + + + + + + word + cell + transaction + + + + + + + + + + + + + + + + + + + + + + + + + + + + source address + destination address + + diff -r 6eca15a9804d -r 6423c19b840b docs/vga_circuit.png Binary file docs/vga_circuit.png has changed diff -r 6eca15a9804d -r 6423c19b840b docs/vga_circuit.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/vga_circuit.svg Wed Nov 07 00:12:44 2018 +0100 @@ -0,0 +1,1396 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + VGA Output Circuit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PIC32MX270F256B + HSYNC (13) + VSYNC (14) + BLUE (3) + GREEN (2) + RED (1) + 470ohm + 1000ohm + 2200ohm + 470ohm + 1000ohm + OC1/RA0 + OC2/RA1 + D0/RB0 + D1/RB1 + D2/RB2 + D3/RB3 + D4/RB4 + D5/RB5 + RB7/D7 + + VSS/GND + + + + + + + GND (5) + RED_RTN (6) + GREEN_RTN (7) + BLUE_RTN (8) + PWR (9) + GND (10) + + diff -r 6eca15a9804d -r 6423c19b840b docs/vga_circuit_parallel.png Binary file docs/vga_circuit_parallel.png has changed diff -r 6eca15a9804d -r 6423c19b840b docs/vga_circuit_parallel.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/vga_circuit_parallel.svg Wed Nov 07 00:12:44 2018 +0100 @@ -0,0 +1,1780 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + VGA Output Circuit (Parallel Mode) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PIC32MX270F256B + HSYNC (13) + VSYNC (14) + BLUE (3) + GREEN (2) + RED (1) + 470ohm + 1000ohm + 4700ohm + 470ohm + 1000ohm + PMD7/RA0 + PMD6/RA1 + PMD0/RB0 + PMD1/RB1 + PMD2/RB2 + PMWR/RB3 + OC1/RB4 + OC2/RB5 + RB7/PMD5 + + VSS/GND + + + + + + + GND (5) + RED_RTN (6) + GREEN_RTN (7) + BLUE_RTN (8) + PWR (9) + GND (10) + + + 74HC273 + MR# + Q0 + D0 + D1 + Q1 + Q2 + Q4 + Q5 + CP + D4 + D5 + RB8/PMD4 + RB9/PMD3 + Q6 + D6 + Q7 + D7 + D2 + D3 + Q3 + + + + + + + + + + + + 2200ohm + + + VCC + + diff -r 6eca15a9804d -r 6423c19b840b docs/vga_hsync.png Binary file docs/vga_hsync.png has changed diff -r 6eca15a9804d -r 6423c19b840b docs/vga_hsync.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/vga_hsync.svg Wed Nov 07 00:12:44 2018 +0100 @@ -0,0 +1,927 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + R/G/B(0.7V) + + + + + + + + + + + pixel data period + + + hsync + + horizontal front porch + + + horizontal back porch + + hsyncpulse + + + + + + line n + line n+1 + 0V + VGA Display Line Structure + + + + + line n-1 + + + ...6430... + + + 460 + + + 524 + + + ...6430... + + + + diff -r 6eca15a9804d -r 6423c19b840b docs/vga_picture.png Binary file docs/vga_picture.png has changed diff -r 6eca15a9804d -r 6423c19b840b docs/vga_picture.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/vga_picture.svg Wed Nov 07 00:12:44 2018 +0100 @@ -0,0 +1,1908 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + horizontal sync + (1) horizontal back porch + (2) horizontal front porch + VGA Picture Structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pixel data period + (1) + + + (2) + + + + + + + horizontal sync + + + + + + visibledisplayperiod + totalframeperiod + + display line period + + + + + (4) + + + + + (3) + (3) vertical back porch + (4) vertical front porch + + + + + vertical sync + + + + + vertical sync + + diff -r 6eca15a9804d -r 6423c19b840b docs/vga_timed_transfers.png Binary file docs/vga_timed_transfers.png has changed diff -r 6eca15a9804d -r 6423c19b840b docs/vga_timed_transfers.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/vga_timed_transfers.svg Wed Nov 07 00:12:44 2018 +0100 @@ -0,0 +1,1292 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + R/G/B(0.7V) + + + + + + pixel data period + + + hsync + + horizontal front porch + + + hsyncpulse + + line n + 0V + VGA Pixel Output (Using Transfer Timer) + + + + + line n-1 + + + ...6430... + + + 460 + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + + + ...10... + + transfer timer + display line timer + + diff -r 6eca15a9804d -r 6423c19b840b docs/vga_timing.png Binary file docs/vga_timing.png has changed diff -r 6eca15a9804d -r 6423c19b840b docs/vga_timing.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/vga_timing.svg Wed Nov 07 00:12:44 2018 +0100 @@ -0,0 +1,1057 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + R/G/B(0.7V) + + + + + + + + + + + + + + + + + + + + + + + + + + display line + + + hsync + + vsync + + vertical front porch + + + + + + visible displayperiod + + vertical back porch + + + + + visible displayperiod + + vertical syncperiod + + + + + + + + + + + frame n + frame n+1 + 0V + + + + + + + + + + + + + + + (1) + (2) + (3) + (4) + (4) horizontal sync + (1) horizontal back porch + (2) pixel data period + (3) horizontal front porch + VGA Signal Structure + +