From 2f6d6831bcd187e777cba35aac0d2de391442024 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 8 Sep 2011 01:47:13 -0400 Subject: hardwarespi: Note about disable JTAG+SW when using SPI3. --- source/lang/api/hardwarespi.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/lang/api/hardwarespi.rst b/source/lang/api/hardwarespi.rst index f90fc07..a44a65f 100644 --- a/source/lang/api/hardwarespi.rst +++ b/source/lang/api/hardwarespi.rst @@ -15,9 +15,6 @@ the :ref:`SPI reference `. Getting Started --------------- -.. TODO [0.1.0] Add a note about calling disableDebugPorts() when -.. using SPI3 on Maple Native - In order to get started, you'll first need to define a ``HardwareSPI`` variable, which you'll use to control the SPI port. Do this by putting the line "``HardwareSPI spi(number);``" with your variables, @@ -47,6 +44,10 @@ function (an example is given below). .. doxygenfunction:: HardwareSPI::begin +.. note:: If you are using SPI port 3 (on a board that supports it; + not all do); you'll need to call :ref:`lang-disabledebugports` + before calling ``begin()``. + The speed at which the SPI port communicates is configured using a ``SPIFrequency`` value: -- cgit v1.2.3