CommonPIC32

Changeset

31:f98e73f2ccc0
2018-10-21 Paul Boddie raw files shortlog changelog graph Added the documentation from the VGAPIC32 project.
examples/vga/README.txt (file)
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/examples/vga/README.txt	Sun Oct 21 19:16:10 2018 +0200
     1.3 @@ -0,0 +1,106 @@
     1.4 +Introduction
     1.5 +------------
     1.6 +
     1.7 +The VGAPIC32 project provides software and circuit information to generate an
     1.8 +analogue VGA signal from a PIC32 microcontroller. More details can be found in
     1.9 +the following article:
    1.10 +
    1.11 +http://blogs.fsfe.org/pboddie/?p=1712
    1.12 +
    1.13 +See also the docs directory for original versions of the different explanatory
    1.14 +diagrams.
    1.15 +
    1.16 +Contact, Copyright and Licence Information
    1.17 +------------------------------------------
    1.18 +
    1.19 +The author can be contacted at the following e-mail address:
    1.20 +
    1.21 +paul@boddie.org.uk
    1.22 +
    1.23 +Copyright and licence information can be found in the docs directory - see
    1.24 +docs/COPYING.txt and docs/gpl-3.0.txt for more information.
    1.25 +
    1.26 +
    1.27 +
    1.28 +Hardware Details
    1.29 +================
    1.30 +
    1.31 +The pin usage of this solution is documented below.
    1.32 +
    1.33 +PIC32MX270F256B-50I/SP Pin Assignments
    1.34 +--------------------------------------
    1.35 +
    1.36 +MCLR#          1  \/  28
    1.37 +HSYNC/OC1/RA0  2      27
    1.38 +VSYNC/OC2/RA1  3      26 RB15/U1TX
    1.39 +       D0/RB0  4      25 RB14
    1.40 +       D1/RB1  5      24 RB13/U1RX
    1.41 +       D2/RB2  6      23
    1.42 +       D3/RB3  7      22 RB11/PGEC2
    1.43 +               8      21 RB10/PGEC3
    1.44 +          RA2  9      20
    1.45 +          RA3 10      19
    1.46 +       D4/RB4 11      18 RB9
    1.47 +              12      17 RB8
    1.48 +              13      16 RB7/D7
    1.49 +       D5/RB5 14      15
    1.50 +
    1.51 +Note that RB6 is not available on pin 15 on this device (it is needed for VBUS
    1.52 +unlike the MX170 variant).
    1.53 +
    1.54 +UART Connections
    1.55 +----------------
    1.56 +
    1.57 +UART1 is exposed by the RB13 and RB15 pins.
    1.58 +
    1.59 +Data Signal Routing
    1.60 +-------------------
    1.61 +
    1.62 +For one bit of intensity, two bits per colour channel:
    1.63 +
    1.64 +D7 -> 2200R -> I
    1.65 +
    1.66 +I -> diode -> R
    1.67 +I -> diode -> G
    1.68 +I -> diode -> B
    1.69 +
    1.70 +D6 (not connected)
    1.71 +
    1.72 +D5 -> 470R -> R
    1.73 +D4 -> 1000R -> R
    1.74 +D3 -> 470R -> G
    1.75 +D2 -> 1000R -> G
    1.76 +D1 -> 470R -> B
    1.77 +D0 -> 1000R -> B
    1.78 +
    1.79 +HSYNC -> HS
    1.80 +VSYNC -> VS
    1.81 +
    1.82 +Output Socket Pinout
    1.83 +--------------------
    1.84 +
    1.85 +  5 (GND)  4 (NC)   3 (B)    2 (G)    1 (R)
    1.86 +
    1.87 +      10 (GND) 9 (NC)   8 (GND)  7 (GND)  6 (GND)
    1.88 +
    1.89 +  15 (NC)  14 (VS)  13 (HS)  12 (NC)  11 (NC)
    1.90 +
    1.91 +Output Cable Pinout
    1.92 +-------------------
    1.93 +
    1.94 +      1 (R)    2 (G)    3 (B)    4 (NC)   5 (GND)
    1.95 +
    1.96 +  6 (GND)  7 (GND)  8 (GND)  9 (NC)   10 (GND)
    1.97 +
    1.98 +      11 (NC)  12 (NC)  13 (HS)  14 (VS)  15 (NC)
    1.99 +
   1.100 +References
   1.101 +----------
   1.102 +
   1.103 +https://en.wikipedia.org/wiki/VGA_connector
   1.104 +
   1.105 +http://papilio.cc/index.php?n=Papilio.VGAWing
   1.106 +
   1.107 +http://lucidscience.com/pro-vga%20video%20generator-2.aspx
   1.108 +
   1.109 +https://sites.google.com/site/h2obsession/CBM/C128/rgbi-to-vga