Revision: 1635
Author: [email protected]
Date: Wed Jan 27 10:31:11 2010
Log: updated book installation page, fixed SPI errors, added <note>
http://code.google.com/p/jallib/source/detail?r=1635

Modified:
 /trunk/doc/dita/tutorials/images/sram_23k256.jpg
 /trunk/doc/dita/tutorials/tutorial_installation.xml
 /trunk/doc/dita/tutorials/tutorial_spi_introduction.xml
 /trunk/doc/dita/tutorials/tutorial_spi_sram_23k256.xml

=======================================
--- /trunk/doc/dita/tutorials/images/sram_23k256.jpg Sat Jan 23 00:25:24 2010 +++ /trunk/doc/dita/tutorials/images/sram_23k256.jpg Wed Jan 27 10:31:11 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/tutorial_installation.xml Thu Dec 3 23:15:31 2009 +++ /trunk/doc/dita/tutorials/tutorial_installation.xml Wed Jan 27 10:31:11 2010
@@ -11,9 +11,10 @@
     <section>
       <title>Windows Install:</title>
       <ol>
- <li>Download jalpack (installer executable) from <xref href="http://jaledit.googlecode.com/files/JALPack_2.4_0.4_0.6.1.0.exe"; format="html">http://jaledit.googlecode.com/files/JALPack_2.4_0.4_0.6.1.0.exe</xref></li> + <li>Download jalpack (installer executable) from <xref href="http://jaledit.googlecode.com/files/JALPack_2.4_0.4_0.6.1.0.exe"; format="html">http://jaledit.googlecode.com/files/JALPack_2.4_0.4_0.6.1.0.exe</xref>, This will install JALv2 + JalEdit</li> + <li>Update your installation (very important) - Download jallib-pack or jallib-pack-bee from <xref href="http://code.google.com/p/jallib/downloads/list"; format="html">http://code.google.com/p/jallib/downloads/list</xref>, copy the .zip contents into your Jallib installation directory.</li>
         <li>Run the setup file</li>
-        <li>Run JalEdit.exe from the jaledit directory</li>
+        <li>Run JalEdit.exe from the &quot;jaledit&quot; directory</li>
<li>(optional) Click Tools Menu -&gt; Environment Options -&gt; Programmer, Then Set the Programmer Executable Path</li>
       </ol>
       <p>You should get something like this on windows:</p>
=======================================
--- /trunk/doc/dita/tutorials/tutorial_spi_introduction.xml Sun Jan 24 12:51:04 2010 +++ /trunk/doc/dita/tutorials/tutorial_spi_introduction.xml Wed Jan 27 10:31:11 2010
@@ -12,14 +12,14 @@
       <title>What is SPI?</title>
<p>SPI is a protocol is simply a way to send data from device to device in a serial fashion (bit by bit). This protocol is used for things like SD memory cards, MP3 decoders, memory devices and other high speed applications.</p>
       <p>We can compare SPI to other data transfer protocols:</p>
-      <table>
+      <table frame="all">
         <title>Protocol Comparison Chart</title>
         <tgroup cols="4">
           <thead>
             <row>
               <entry/>
               <entry>SPI</entry>
-              <entry>RS-323</entry>
+              <entry>RS-232</entry>
               <entry>I2C</entry>
             </row>
           </thead>
@@ -34,7 +34,7 @@
               <entry>Number Of Devices</entry>
               <entry>unlimited</entry>
               <entry>2</entry>
-              <entry>127</entry>
+              <entry>1024</entry>
             </row>
             <row>
               <entry>Bits in one data byte transfer</entry>
@@ -123,7 +123,7 @@
           </tgroup>
         </table></p>
     </section>
- <p><b>Note:</b> I noticed the mode numbers &amp; mode table on Wikipedia is different then the table in the Microchip PDF. I am going by the Microchip PDF, as well as the tested and working PIC Jallib library + samples. Wikipedia also names these registers CPOL/CPHA instead of CKP/CKE.</p> + <note>I noticed the mode numbers &amp; mode table on Wikipedia is different then the table in the Microchip PDF. I am going by the Microchip PDF, as well as the tested and working PIC Jallib library + samples. Wikipedia also names these registers CPOL/CPHA instead of CKP/CKE.</note>
     <section>
       <title>Using The Jallib Library</title>
<p>At the moment, there is only a SPI master hardware library, therefore any device you wish to control must be connected to the PIC&apos;s SDI, SDO, SCK pins. The chip select pin can be any digital output pin.</p>
=======================================
--- /trunk/doc/dita/tutorials/tutorial_spi_sram_23k256.xml Sun Jan 24 12:51:04 2010 +++ /trunk/doc/dita/tutorials/tutorial_spi_sram_23k256.xml Wed Jan 27 10:31:11 2010
@@ -32,12 +32,12 @@
       <title>OK, lets get started</title>
<p>I suggest you start by compiling and writing the sample file to your PIC. We must make sure your circuit is working before we continue. As always, you will find the 23k256 sample file in the sample directory of your jallib installation &quot;16f877_23k256.jal&quot;</p>
       <p>You will need to modify this sample file for your target PIC.</p>
- <p>NOTE: jallib version 0.5 had this following line in the library file, but in the next version (0.6) it will be removed from the library and you will have to add it to your sample file before the line include sram_23k256. </p> + <note>Jallib version 0.5 had this following line in the library file, but in the next version (0.6) it will be removed from the library and you will have to add it to your sample file before the line include sram_23k256. </note> <codeblock>const bit SRAM_23K256_ALWAYS_SET_SPI_MODE = TRUE</codeblock>
       <p>Here&apos;s the 23K256 pin-out diagram:</p>
       <image href="images/sram_23k256_pinout.jpg"/>
<p>Now build this schematics. Notice the resistors for 5v to 3.3v conversion. Also notice that we are using the PIC&apos;s hardware SPI port pins. These pins are named (SDO, SDI, SCK) + One chip select pin of your choice.</p>
-      <p><b>NOTE: THIS IS A 3.3V DEVICE</b></p>
+      <note>This is a 3.3V Device</note>
<image href="images/sram_23k256_circuit_1.jpg" width="450" otherprops="clickable"/> <image href="images/sram_23k256_built.jpg" width="450" otherprops="clickable"/> <p>Plug in your serial port and turn it on (serial baud rate 38400). If it is working, you will get mostly the hex value &quot;11&quot; to your PC&apos;s serial port. Here&apos;s an image from my serial port software:</p>

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to