summaryrefslogtreecommitdiff
path: root/nfc
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2015-09-09 01:47:47 -0300
committerWerner Almesberger <werner@almesberger.net>2015-09-09 01:47:47 -0300
commit717b02dfb6a3a62ad7eff7090d17f777d596ef60 (patch)
tree08b69467c5d6f8d738a50f06ccbf20d72db2b315 /nfc
parentebe23cece30a1d1b6ea68310e185e48420e660ec (diff)
downloadmisc-717b02dfb6a3a62ad7eff7090d17f777d596ef60.tar.gz
misc-717b02dfb6a3a62ad7eff7090d17f777d596ef60.tar.bz2
misc-717b02dfb6a3a62ad7eff7090d17f777d596ef60.zip
nfc/: add KL16 pin assignment
Diffstat (limited to 'nfc')
-rw-r--r--nfc/Makefile2
-rw-r--r--nfc/nfc.tex26
2 files changed, 27 insertions, 1 deletions
diff --git a/nfc/Makefile b/nfc/Makefile
index 2ab4076..90a7f36 100644
--- a/nfc/Makefile
+++ b/nfc/Makefile
@@ -1,7 +1,7 @@
FIGS = card stack sys prefix swp swp-t swp-cmp simseq \
pn-shared pn-local \
trf-stack trf-std trf-sdm trf-dm-sysclk trf-dm1-rx trf-comb trf-kl26 \
- kl26-32
+ kl16-32 kl26-32
FIGS_GEN = comm-rw-rdr comm-rw-card comm-ce-rdr comm-ce-card \
comm-p2p-init comm-p2p-tact comm-p2p-tpas
diff --git a/nfc/nfc.tex b/nfc/nfc.tex
index b77b7bc..8535e05 100644
--- a/nfc/nfc.tex
+++ b/nfc/nfc.tex
@@ -2425,6 +2425,12 @@ voltage range.
\subsection{Pin assignment}
+The following sections first show a basic pin assignment using
+the KL26 and then present a more elaborate example for the KL16.
+
+
+\subsubsection{KL26}
+
The following drawing shows a possible pin assignment for the KL26
operating at 1.8 V, with a simple \iic-based interface to the main CPU:
@@ -2444,6 +2450,26 @@ between four and six different functions.
SWP\_S1 connects to pin 31 (PTD6), which is a high-drive pad, as suggested
in section \ref{kl26swp}. High-drive pads are marked with a grey bar.
+
+\subsubsection{KL16}
+
+The KL16 has no voltage regulator and no USB interface. This frees a
+number of pins for use as GPIOs. In particular, this enables us to
+support two SWP interfaces.
+
+\begin{center}
+\includegraphics[scale=0.87]{kl16-32.pdf}
+\end{center}
+
+The dotted lines indicate connections for using I2S instead of SPI
+for raw modes. If the pins are not used for anything else, the circuit
+can connect to both set of pins, thus leaving the choice of communication
+mechanism to the firmware.
+
+To allow using the 12-bit DAC as voltage reference (instead of the 6-bit
+DAC), DAC\_OUT should either be left open or connect to a small buffer
+capacitor.
+
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\subsection{In-circuit programming}