|
|
Line 1: |
Line 1: |
− | <div style="width: 600px;">
| + | ==J9 connector provides SPI port 1, I2C port 1 , serial 2 (UART2) and GPIO== |
− | <span style="display: block; width: 200px; height: 40px; border: 1px dashed #000; text-align: center; padding: 5px; margin: 0 auto; margin-bottom: 5px;">[[Installing Toolchain|Installing the Toolchain<br>(compiler)]]</span>
| + | '''Image 1''': Zoom in left side (top view) of [http://www.mini-box.com/pico-SAM9G45-X pico-SAM9G45] development board showing J9 connector with PIN1 marked up.<br> |
− | <span style="display: block; width: 1px; height: 60px; border-left: 1px dashed #000; margin: 0 auto;"></span> | + | [[File:J9-connector.jpg|J9 connector]]<br> |
− | <span style="display: block; width: 200px; height: 40px; border: 1px dashed #000; text-align: center; padding: 5px; margin: 0 auto; margin-top: 5px; margin-bottom: 5px;">[[Bootstrap|Building the Bootstrap<br>(kernel loader)]]</span>
| + | <br> |
− | <span style="display: block; width: 1px; height: 60px; border-left: 1px dashed #000; margin: 0 auto;"></span>
| + | NOTE: Connectors have a 2.0 mm pitch |
| + | <br><br> |
| + | '''Image 2''': On J9, you can enable the actions for the '''HOME''', '''BACK''' and '''MENU''' Android buttons.<br> |
| | | |
− | <div style="display: block; width: 450px; border: 0px; margin-left: 200px;"> | + | - Pin 11 - '''BACK''' button,<br> |
− | <span style="display: block; float: left; width: 200px; height: 30px; padding-top: 10px; border: 1px dashed #000; text-align: center;">[[Kernel_Building|Building the Kernel]]</span><span style="float:left;">[[File:sep.jpg|link=]]</span><span style="display: block; margin-left: 240px; width: 200px; height: 40px; border: 1px dashed #000; text-align: center;">[[Kernel_changes_for_custom_hardware|Kernel changes for<br>custom hardware]]</span>
| + | - Pin 12 - '''HOME''' button,<br> |
− | </div>
| + | - Pin 13 - '''MENU''' button.<br> |
| + | - For '''GROUND''' you can use a single pin. Pin 5 or pin 6.<br><br> |
| | | |
− | <span style="display: block; width: 1px; height: 60px; border-left: 1px dashed #000; margin:0 auto;"></span>
| + | [[File:J9-connector-buttons.jpg|Android buttons action on J9 connector]] |
− | <div style="display: block; width: 630px; border: 1px dashed #000; text-align: center; margin: 0 auto; padding-top: 2px; padding-left: 2px; padding-right: 2px;">
| + | |
− | <span style="display: block; float: right; width: 190px; height: 80px; border: 1px dashed #000; text-align: center; padding-top: 4px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px;">[[File:Angstrom-logo.gif|link=]] Angstrom<hr>[[Compiling_Angstrom_for_pico-SAM9G45|Compiling Angstrom OS<br>for pico-SAM9G45]]</span>
| + | For using more buttons see: [[J14 connector]]<br> |
− | <span style="display: block; float: right; width: 190px; height: 80px; border: 1px dashed #000; text-align: center; padding-top: 4px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px;">[[File:debian-logo.jpg|link=]] Debian<hr>[[Debian|Compiling Debian OS<br>for pico-SAM9G45]]</span>
| + | <br> |
− | <span style="display: block; width: 200px; height: 80px; border: 1px dashed #000; text-align: center; padding-top: 4px; margin-left: 10px; margin-top: 5px; margin-bottom: 5px;">[[File:Android-logo.gif|link=]] Android<hr>[[Compiling_Android_from_sources|Compiling Android<br>from sources]]</span>
| + | {{SPI and I2C}} |
− | </div> | |
− | <span style="display: block; width: 1px; height: 60px; border-left: 1px dashed #000; margin:0 auto;"></span>
| |
− | <div style="display: block; width: 450px; height: 60px; border: 1px dashed #000; text-align: center; margin: 0 auto; padding-top: 2px; padding-left: 2px; padding-right: 2px;"> or
| |
− | <span style="display: block; float: left; width: 200px; height: 40px; border: 1px dashed #000; text-align: center; padding-top: 5px; margin: 5px;">[[Building_an_image_from_scratch|microSD<br>Formatting]]</span><span style="display: block; float: right; width: 200px; height: 40px; border: 1px dashed #000; text-align: center; padding-top: 5px; margin: 5px;">[[Creating_images_for_deploying_to_microSD|Creating and deploying the images]]</span></div>
| |
− | </div>
| |
J9 connector provides SPI port 1, I2C port 1 , serial 2 (UART2) and GPIO
Image 1: Zoom in left side (top view) of pico-SAM9G45 development board showing J9 connector with PIN1 marked up.
NOTE: Connectors have a 2.0 mm pitch
Image 2: On J9, you can enable the actions for the HOME, BACK and MENU Android buttons.
- Pin 11 - BACK button,
- Pin 12 - HOME button,
- Pin 13 - MENU button.
- For GROUND you can use a single pin. Pin 5 or pin 6.
For using more buttons see: J14 connector
For information on SPI see: Working with SPI interface
For information on I2C see: Working with I2C interface
For information on GPIOs see: Working with GPIOs