Update of the layout

This commit is contained in:
Tim Wilkes 2015-04-09 13:20:48 +01:00
parent 0afb1cab40
commit 9b987b34c5

View File

@ -2,19 +2,19 @@
## Things you will need ## Things you will need
1) The HDK 1. The HDK
2) A Wifi Pineapple 2. A Wifi Pineapple
3) A Soldering iron 3. A Soldering iron
4) A programmer (an arduino is fine) 4. A programmer (an arduino is fine)
5) (optionally) a USB to serial converter. 5. (optionally) a USB to serial converter.
![](imgs/hdk1.png) ![The HDK as it arrives](imgs/hdk1.png)
## Set up of the HDK in the Pineapple ## Set up of the HDK in the Pineapple
The HDK talks to the Wifi pineapple via a bit-banged SPI interface, using on board gpios. These are not enabled by default. In order to enable the interface, type: The HDK talks to the Wifi pineapple via a bit-banged SPI interface, using on board gpios. These are not enabled by default. In order to enable the interface, type:
/sbin/insmod spi-gpio-custom bus0=1,18,20,19,0,125000,21 `/sbin/insmod spi-gpio-custom bus0=1,18,20,19,0,125000,21`
Once this command has been run, a new device /dev/spidev1.0 will be created. Once this command has been run, a new device /dev/spidev1.0 will be created.
@ -22,9 +22,14 @@ Once this command has been run, a new device /dev/spidev1.0 will be created.
![](imgs/hdk2.png) ![](imgs/hdk2.png)
![](imgs/hdk3.png)
![](imgs/hdk4.png)
## Programming the HDK ## Programming the HDK
![](imgs/hdk3.png) ![](imgs/hdk5.png)
### Example program ### Example program