www.8devices.com
|
|
|
Page 1 of 1
|
[ 1 post ] |
|
GPIO11 for SPI or General Purpose
Author |
Message |
avrhack
Joined: 03 Jan 2012, 16:08 Posts: 10
|
Have been troubleshooting what I thought was a hardware issue on my custom Carambola2 board which uses GPIO11 as one of the SPI CS lines.
As usual the solution is simple - GPIO11 is by default fixed as an input for Jumpstart.
To use it as an output you need to run "mmio -b 0x18040030 0x00070200" first - that will disable jumpstart and allow GPIO11 for other uses e.g. SPI.
Hopefully this will save someone else some time fooling around, googling unsuccessfully etc.!
|
25 Mar 2018, 13:22 |
|
|
|
Page 1 of 1
|
[ 1 post ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|