Skip to content

Commit c589731

Browse files
committed
Added "Interface modifications" section to readme
1 parent e78d880 commit c589731

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,26 @@ More information about the controller can be found at the following sites:
253253
* http://www.developerfusion.com/article/84338/making-usb-c-friendly/
254254
* https://github.com/torvalds/linux/blob/master/drivers/hid/hid-sony.c
255255
256+
# Interface modifications
257+
258+
The shield is using SPI for communicating with the MAX3421E USB host controller. It uses the SCK, MISO and MOSI pins via the ICSP on your board.
259+
260+
Furthermore it uses one pin as SS and one INT pin. These are by default located on pin 10 and 9 respectively. They can easily be reconfigured in case you need to use them for something else by cutting the jumper on the shield and then solder a wire from the pad to the new pin.
261+
262+
After that you need modify the following entry in [UsbCore.h](UsbCore.h):
263+
264+
```C++
265+
typedef MAX3421e<P10, P9> MAX3421E;
266+
```
267+
268+
For instance if you have rerouted SS to pin 7 it should read:
269+
270+
```C++
271+
typedef MAX3421e<P7, P9> MAX3421E;
272+
```
273+
274+
See the "Interface modifications" section in the [hardware manual](https://www.circuitsathome.com/usb-host-shield-hardware-manual) for more information.
275+
256276
# FAQ
257277

258278
> When I plug my device into the USB connector nothing happens?

0 commit comments

Comments
 (0)