PNI CommBoard User Manual Download Page 3

 

PNI Sensor Corporation 

DOC#1018122 r02 

PNI CommBoard User Manual 

Page 1 

Copyright & Warranty Information 

© Copyright   PNI Sensor Corporation 2012 

All Rights Reserved.  Reproduction, adaptation, or translation without prior written permission is prohibited, except 
as allowed under copyright laws. 

Revised May 2013.  For most recent version visit our website at 

www.pnicorp.com

  

PNI Sensor Corporation  
2331 Circadian Way 
Santa Rosa, CA 95407, USA 
Tel: (707) 566-2260 
Fax: (707) 566-2261 

Warranty and Limitation of Liability.  PNI Sensor Corporation ("PNI") manufactures its TCM products (“Products”) 
from parts and components that are new or equivalent to new in performance.  PNI warrants that each Product to be 
delivered hereunder, if properly used, will, for one year following the date of shipment unless a different warranty 
time period for such Product is specified: (i) in PNI‟s Price List in effect at time of order acceptance; or (ii) on PNI‟s 
web site (www.pnicorp.com) at time of order acceptance, be free from defects in material and workmanship and will 
operate in accordance with PNI‟s published specifications and documentation for the Product in effect at time of 
order.  PNI will make no changes to the specifications or manufacturing processes that affect form, fit, or function of 
the Product without written notice to the OEM, however, PNI may at any time, without such notice, make minor 
changes to specifications or manufacturing processes that do not affect the form, fit, or function of the Product.  This 
warranty will be void if the Products‟ serial number, or other identification marks have been defaced, damaged, or 
removed.  This warranty does not cover wear and tear due to normal use, or damage to the Product as the result of 
improper usage, neglect of care, alteration, accident, or unauthorized repair. 

THE ABOVE WARRANTY IS IN LIEU OF ANY OTHER WARRANTY, WHETHER EXPRESS, IMPLIED, OR 
STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF MERCHANTABILITY, 
FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY 
PROPOSAL, SPECIFICATION, OR SAMPLE.  PNI NEITHER ASSUMES NOR AUTHORIZES ANY PERSON 
TO ASSUME FOR IT ANY OTHER LIABILITY. 

If any Product furnished hereunder fails to conform to the above warranty, OEM‟s sole and exclusive remedy and 
PNI‟s sole and exclusive liability will be, at PNI‟s option, to repair, replace, or credit OEM‟s account with an 
amount equal to the price paid for any such Product which fails during the applicable warranty period provided that 
(i) OEM promptly notifies PNI in writing that such Product is defective and furnishes an explanation of the 
deficiency; (ii) such Product is returned to PNI‟s service facility at OEM‟s risk and expense; and (iii) PNI is satisfied 
that claimed deficiencies exist and were not caused by accident, misuse, neglect, alteration, repair, improper 
installation, or improper testing.  If a Product is defective, transportation charges for the return of the Product to 
OEM within the United States and Canada will be paid by PNI.  For all other locations, the warranty excludes all 
costs of shipping, customs clearance, and other related charges.  PNI will have a reasonable time to make repairs or 
to replace the Product or to credit OEM‟s account.  PNI warrants any such repaired or replacement Product to be 
free from defects in material and workmanship on the same terms as the Product originally purchased. 

Except for the breach of warranty remedies set forth herein, or for personal injury, PNI shall have no liability for any 
indirect or speculative damages (including, but not limited to, consequential, incidental, punitive and special 
damages) relating to the use of or inability to use this Product, whether arising out of contract, negligence, tort, or 
under any warranty theory, or for infringement of any other party‟s intellectual property rights, irrespective of 
whether PNI had advance notice of the possibility of any such damages, including, but not limited to, loss of use, 
revenue or profit.  In no event shall PNI‟s total liability for all claims regarding a Product exceed the price paid for 
the Product.  PNI neither assumes nor authorizes any person to assume for it any other liabilities. 

Some states and provinces do not allow limitations on how long an implied warranty lasts or the exclusion or 
limitation of incidental or consequential damages, so the above limitations or exclusions may not apply to you.  This 
warranty gives you specific legal rights and you may have other rights that vary by state or province. 

Summary of Contents for CommBoard

Page 1: ...User Manual PNI CommBoard...

Page 2: ...es 16 6 I2 C OPERATION 18 6 1 I2 C Commands 19 List of Tables Table 2 1 Applicable PNI Products Interfaces 2 Table 3 1 I O Characteristics 3 Table 3 2 Environmental Requirements 3 Table 3 3 Mechanical...

Page 3: ...If any Product furnished hereunder fails to conform to the above warranty OEM s sole and exclusive remedy and PNI s sole and exclusive liability will be at PNI s option to repair replace or credit OEM...

Page 4: ...e between a PC and certain PNI products The CommBoard is a UART to SPI or I2 C bridge which receives UART commands from the user s computer via a virtual communication port running over a USB line The...

Page 5: ...Interface I2 C or SPI SPI Interface Lines SCLK MISO MOSI SSN CPOL Selectable default 0 CPHA Selectable default 0 Clock Speed 50 kHz 100 kHz default 1 MHz I2 C Clock Speed Selectable 32 kHz 1 MHz 100 k...

Page 6: ...PNI Sensor Corporation DOC 1018122 r02 PNI CommBoard User Manual Page 4 3 1 Mechanical Drawing Figure 3 1 CommBoard Top View...

Page 7: ...e device under test The UART should be configured as shown below Table 4 1 UART Configuration Parameter Value Baud Rate 115200 Number of Data Bits 8 Start Bits 1 Stop Bits 1 Parity none Figure 4 1 sho...

Page 8: ...gure 4 2 indicates where power connections can be made to the CommBoard and also where the signal lines are connected For most users the power and signal lines will be supplied via the mini USB jack N...

Page 9: ...PNI Sensor Corporation DOC 1018122 r02 PNI CommBoard User Manual Page 7 Figure 4 3 CommBoard Jumper Configurations...

Page 10: ...on the device will point towards the CommBoard s mini USB connector while for the RM3100 and RM3000 f Evaluation Boards the arrow will point away from the mini USB connector Finally connect the CommBo...

Page 11: ...w SPI Write W NIML delimiter NIML delimiter CR R r SPI Read R S NIML S NIML CR delimiter CR SP TAB CR Delimiter Delimiters Used to separate characters or data in a string Sending a delimiter also cha...

Page 12: ...mand The data word is sent once a delimiter or another command character is received from the host The syntax is W NIML delimiter NIML delimiter CR The data is and the data s word length is defined by...

Page 13: ...mple SP TAB or CR Delimiters Anytime a delimiter character is sent it will set the delimiter character used for separating data in the output after a Read command sequence Once the delimiter is set it...

Page 14: ...mmand causes the indefinite delay of processing subsequent characters received from the host until a Q character is received Characters received from the UART other than Q or F will be stored in a 100...

Page 15: ...nd sets or resets the CommBoard s SSN line The syntax is where must be 0 or 1 The SSN pin will be set LOW if the number following the character is 0 and will be set HIGH if the number is 1 Example x 0...

Page 16: ...t power up There are multiple ways to perform the same function and for illustration purposes two RM3100 Eval Board alternative read examples are given next 5 2 1 RM3100 Eval Board Cycle Count Registe...

Page 17: ...Read two 16 bit words from the SPI bus To do this the CommBoard will create 32 total clock pulses to read the data from the SPI bus 1 Set SSN line HIGH The received signal is 00 00C8 00C8 This indica...

Page 18: ...e MX Read register then reads from this byte and the subsequent 8 bytes to provide the most recent measurement results on all 3 axes 5 2 3 RM3000 f Eval Board Code Examples Example 1 0wn83 00 64 00 64...

Page 19: ...reported heading magnitude and distortion After writing this the SSN line is set HIGH Example 3 0 wnaa 04 00 1 0rLLN 1 This sentence can be used to obtain measurement data from a V2Xe Again note the...

Page 20: ...addition to converting UART to I2 C the CommBoard allows for monitoring the DRDY line A summary of commands for working with an I2 C interface is given below Table 6 1 I2 C Command Summary Table Byte...

Page 21: ...as the CommBoard ensures the r w bit is properly set For example the SpacePoint Scout s 7 bit slave address is 0x0C and shifting it into the 7 MSBits makes SLA 0x18 Even if the LSB or r w bit is set t...

Page 22: ...REG either can be the first register number to write to or a command number depending on the client hardware protocol Data are the data bytes to write Up to 62 bytes can be written in one packet Examp...

Page 23: ...or the Hold Always commands Characters in the receive buffer will begin processing Note that only capital Q is recognized F Flush I2 C Receive Buffer This command flushes the receive buffer If there i...

Reviews: