[FE training-materials-updates] Kernel labs: update instructions
Michael Opdenacker
michael.opdenacker at free-electrons.com
Wed Apr 1 10:29:45 CEST 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=805d273accf0f7c7c5011f9c3588f10fe51459b3
>---------------------------------------------------------------
commit 805d273accf0f7c7c5011f9c3588f10fe51459b3
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Wed Apr 1 10:19:33 2015 +0200
Kernel labs: update instructions
- Update instructions to find the base address
of the Control Module Registers
Plain PDF search for "Control Module Registers" no longer
worked.
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
805d273accf0f7c7c5011f9c3588f10fe51459b3
labs/kernel-i2c-communication/kernel-i2c-communication.tex | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/labs/kernel-i2c-communication/kernel-i2c-communication.tex b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
index aa42b54..aa5c686 100644
--- a/labs/kernel-i2c-communication/kernel-i2c-communication.tex
+++ b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
@@ -52,9 +52,12 @@ modes\footnote{See \url{http://en.wikipedia.org/wiki/Pull-up_resistor}}
(see the \code{PULLUP /DOWN TYPE} column).
The next thing to do is to open the big TRM document and look for the
-address of the registers that control pin muxing. Look for
-\code{Control Module Registers} and you will find the \code{0x44E1_0000}
-address in {\em L4\_WKUP Peripheral Memory Map}.
+address of the registers that control pin muxing. First, look for
+{\em L4\_WKUP Peripheral Memory Map} with your PDF reader search
+utility. You will find a table containing a
+\code{Control Module Registers} entry with its address:
+\code{0x44E1_0000}.
+
Last but not least, look for the \code{SPI0_CS0} and \code{SPI0_D1}
pin names, and you will find the offsets for the registers controlling
muxing for these pins in the {\em CONTROL\_MODULE REGISTERS} table:
More information about the training-materials-updates
mailing list