首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

RM3100原厂驱动包,包含PCB封装,BSP驱动源文件,支持SPI和IIC

硬件开发 14.89MB 31 需要积分: 1
立即下载

资源介绍:

RM3100原厂驱动包,包含PCB封装,BSP驱动源文件,支持SPI和IIC,最近项目需要用,个人花钱买的相关资料。 void SPI2_Init(void) { GPIO_InitTypeDef GPIO_InitStructure; SPI_InitTypeDef SPI_InitStructure; RCC_APB2PeriphClockCmd( RCC_APB2Periph_GPIOB, ENABLE );//PORTBʱ��ʹ�� RCC_APB1PeriphClockCmd( RCC_APB1Periph_SPI2, ENABLE );//SPI2ʱ��ʹ�� GPIO_InitStructure.GPIO_Pin = GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //PB13/14/15����������� GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz
User Manual
RM3100 & RM2100
Geomagnetic Sensor
PNI Sensor Corporation Doc 1017252 R07
RM3100 & RM2100 Sensor Suite User Manual Page 1 of 43
Table&of&Contents&
1! COPYRIGHT & WARRANTY INFORMATION ................................................................... 3!
2! INTRODUCTION ................................................................................................................. 4!
3! SPECIFICATIONS .............................................................................................................. 5!
3.1! GEOMAGNETIC SENSOR CHARACTERISTICS .......................................... 5!
3.2! SEN-XY-F AND SEN-Z-F CHARACTERISTICS ............................................. 6!
3.3! MAGI2C CHARACTERISTICS ........................................................................ 7!
3.4! DIMENSIONS, PACKAGING, AND PAD & MASK LAYOUT .......................... 8!
3.4.1! Sen-XY-f .............................................................................................. 8!
3.4.2! Sen-Z-f .............................................................................................. 10!
3.4.3! MagI2C .............................................................................................. 12!
3.5! SOLDERING ................................................................................................. 13!
4! GEOMAGNETIC SENSOR OVERVIEW & SET-UP ......................................................... 15!
4.1! OVERVIEW ................................................................................................... 15!
4.2! LAYOUT ........................................................................................................ 18!
4.2.1! Sensor Coil Orientation ..................................................................... 18!
4.2.2! Local Magnetic Field Considerations ................................................ 18!
4.2.3! Other Layout Considerations ............................................................ 19!
4.3! MAGI2C PIN-OUT ......................................................................................... 20!
4.3.1! General Pins ..................................................................................... 20!
4.3.2! SPI Pins ............................................................................................ 22!
4.3.3! I
2
C Pins ............................................................................................. 23!
4.4! SPI TIMING REQUIREMENTS ..................................................................... 24!
4.5! I
2
C REQUIREMENTS .................................................................................... 26!
4.5.1! I
2
C Register Write ............................................................................. 26!
4.5.2! I
2
C Register Read ............................................................................. 27!
5! MAGI2C OPERATION ...................................................................................................... 28!
5.1! SET THE CYCLE COUNT REGISTERS (0X04 0X09)............................... 28!
5.2! INITIATE CONTINUOUS MEASUREMENT MODE (0X01) .......................... 29!
5.2.1! Setting the CMM Update Rate with TMRC (0x0B) ............................ 31!
5.3! INITIATE A SINGLE MEASUREMENT (0X00) ............................................. 32!
5.4! CONFIRM NEW DATA READY .................................................................... 33!
5.4.1! STATUS Register (0x34) .................................................................. 33!
5.5! READ THE MEASUREMENT RESULTS ...................................................... 33!
5.6! TROUBLESHOOTING AND GENERAL INFORMATION ............................. 34!
5.6.1! Built-In Self Test Register (0x33) ...................................................... 34!
5.6.2! HSHAKE Register (0x35) .................................................................. 36!
5.6.3! REVID Register (0x36) ...................................................................... 36!
5.7! EXAMPLES USING THE SPI INTERFACE .................................................. 37!
5.7.1! Set the Cycle Count Registers .......................................................... 37!
5.7.2! Making and Reading Measurements ................................................ 37!
5.8! EXAMPLES USING THE I
2
C INTERFACE ................................................... 40!
5.8.1! Set the Cycle Count Registers .......................................................... 40!
5.8.2! Initiate a Single Measurement ........................................................... 40!
5.8.3! Initiate Continuous Measurement Mode ........................................... 41!
5.8.4! Read the Measurement Results ........................................................ 41!
PNI Sensor Corporation Doc 1017252 R07
RM3100 & RM2100 Sensor Suite User Manual Page 2 of 43
List&of&Figures&
Figure 3-1: Sen-XY-f Sensor Dimensions ................................................................................ 8!
Figure 3-2: Sen-XY-f Tape and Reel Dimensions .................................................................... 9!
Figure 3-3: Sen-XY-f Recommended Solder Pad, Paste, & Mask Layout ............................... 9!
Figure 3-4: Sen-Z-f Sensor Dimensions ................................................................................. 10!
Figure 3-5: Sen-Z-f Tape and Reel Dimensions ..................................................................... 11!
Figure 3-6: Sen-Z-f Recommended Solder Pad, Paste, & Mask Layout ................................ 11!
Figure 3-7: MagI2C MLF Mechanical Drawing ....................................................................... 12!
Figure 3-8: MagI2C MLF Tape Dimensions ........................................................................... 13!
Figure 3-9: Recommended Solder Reflow Profile .................................................................. 14!
Figure 4-1: RM3100 reference schematic SPI Configuration .............................................. 15!
Figure 4-2: RM3100 reference schematic – I
2
C Configuration ............................................... 16!
Figure 4-3: LR Oscillator Circuit Biasing Diagram .................................................................. 17!
Figure 4-4: RM3100 North-East-Down (NED) Sensor Layout ................................................ 18!
Figure 4-5: SPI Timing Diagram, CPOL = CPHA = 0 ............................................................. 25!
Figure 4-6: SPI Timing Diagram, CPOL = CPHA = 1 ............................................................. 25!
Figure 5-1: SPI Activity Sequence Diagram ........................................................................... 38!
List&of&Tables&
Table 3-1: Geomagnetic Sensor Performance
1
....................................................................... 5!
Table 3-2: Sen-XY-f and Sen-Z-f Absolute Maximum Ratings ................................................. 6!
Table 3-3: Sen-XY-f and Sen-Z-f Characteristics ..................................................................... 6!
Table 3-4: MagI2C Absolute Maximum Ratings ....................................................................... 7!
Table 3-5: MagI2C Recommended Operating Conditions ....................................................... 7!
Table 3-6: Recommended Solder Processing Parameters
1
................................................... 14!
Table 4-1: MagI2C Pin Assignments ...................................................................................... 21!
Table 4-2: SPI Timing Specifications ..................................................................................... 26!
Table 5-1: MagI2C Register Map ........................................................................................... 28!
Table 5-2: Cycle Count Registers .......................................................................................... 29!
Table 5-3: Continuous Mode DRDY Options ......................................................................... 30!
Table 5-4: CMM Update Rates ............................................................................................... 32!
Table 5-5: Measurement Results Registers ........................................................................... 34!
Table 5-6: BIST Timeout Period ............................................................................................. 35!
Table 5-7: BIST LR Periods ................................................................................................... 35!
PNI Sensor Corporation Doc 1017252 R07
RM3100 & RM2100 Sensor Suite User Manual Page 3 of 43
1 Copyright & Warranty Information
© Copyright 2013 PNI Sensor Corporation
All Rights Reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed
under copyright laws.
Revised June 2016
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 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 ninety (90) days 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 Customer, 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, Customer’s sole and exclusive remedy and PNI’s sole
and exclusive liability will be, at PNI’s option, to repair, replace, or credit Customer’s account with an amount equal to the price
paid for any such Product which fails during the applicable warranty period provided that (i) Customer 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 Customer’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 Customer 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 Customer’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.
PNI Sensor Corporation Doc 1017252 R07
RM3100 & RM2100 Sensor Suite User Manual Page 4 of 43
2 Introduction
Thank you for purchasing PNI Sensor Corporation’s RM2100 or RM3100 Geomagnetic Sensor,
pn 90052 or pn 90053, respectively. The RM2100 is comprised of two Sen-XY-f sensor coils,
pn 13104, and a MagI2C ASIC controller, pn 13156, which forms the basis for a 2-axis digital
compass. The RM3100 is the same as the RM2100 but adds a Sen-Z-f sensor coil, pn 13101,
such that compassing measurements are not constricted to the horizontal plane.
PNI’s geomagnetic sensor technology provides high resolution, low power consumption, large
signal noise immunity, a large dynamic range, and high sampling rates. Measurements are stable
over temperature and inherently free from offset drift. The RM3100’s MagI2C ASIC features
both continuous measurement mode and single measurement polling, software-configurable
resolution and sample rate, and the ability to operate one, two, or three PNI sensor coils. And it
incorporates both I
2
C and SPI interfaces for system design flexibility.
When implementing an RM3100 or RM2100 Geomagnetic Sensor, each sensor coil serves as the
inductive element in a simple LR relaxation oscillation circuit, where the coil’s effective
inductance is proportional to the magnetic field parallel to the sensor axis. The LR circuit is
driven by the MagI2C ASIC, and the MagI2C’s internal clock is used to measure the circuit’s
oscillation frequency, and hence the magnetic field. Since PNI’s Geomagnetic Sensor works in
the frequency domain, resolution and noise are established cleanly by the number of MagI2C
internal clock counts (cycle counts). In comparison, fluxgate and MR technologies require
expensive and complex signal processing to obtain similar resolution and noise, and in many
respects the geomagnetic sensor’s performance simply cannot be matched. Also, the output from
the MagI2C is inherently digital and can be fed directly into a microprocessor, eliminating the
need for signal conditioning or an analog/digital interface between the sensor and a
microprocessor. The simplicity of PNI’s geomagnetic sensor combined with the lack of signal
conditioning makes it easier and less expensive to implement than alternative fluxgate or
magneto-resistive (MR) technologies.
For more information on PNI’s magneto-inductive sensor technology, see PNI’s whitepaper
“Magneto-Inductive Technology Overview” at http://www.pnicorp.com/technology/papers.

资源文件列表:

RM3100传感器技术手册驱动代码模块PCB封装及文档资料.zip 大约有5个文件
  1. 12060983_3.7z 671.54KB
  2. RM3100_DEMO.rar 14.74KB
  3. RM3100传感器资料包技术手册驱动代码模块PCB封装及文档资料.zip 9.66MB
  4. RM3100数据表.pdf 342.18KB
  5. RM3100用户手册R07-1-2.pdf 4.76MB
0评论
提交 加载更多评论
其他资源 STM32代码 (2).zip
STM32代码 (2).zip
Google小恐龙素材(含图片26张+Scratch编写的小恐龙程序)
**推荐素材:Google小恐龙程序及其相关图片** **知识领域**:计算机科学、编程教育、图形设计 **技术关键词**:Scratch编程、游戏设计、互动动画、教育科技 **用途**: 1. **编程学习**:通过Scratch平台创建的小恐龙程序适合初学者掌握基础编程概念,例如控制流程、事件响应和变量使用。 2. **游戏开发**:这些素材可以用于游戏开发的入门教学,帮助学生理解游戏机制和设计原理。 3. **创意表达**:学生可以根据自己的想法修改和扩展小恐龙的行为,激发创意和想象力,增强动手能力。 **适用人群**: - **中小学学生**:适合作为编程课或课外活动中的实践项目,引导学生在动手中学习编程知识。 - **教育工作者**:教师可以利用这些素材为学生提供有趣的编程课程,提升学生的学习兴趣。 - **编程爱好者**:无论是初学者还是希望提升编程技能的爱好者,都可以从中获得灵感和实践机会。
51单片机流水灯功能文件
本资源为51单片机流水灯文件,内置编程文件,还有一些详细的代码解释说明。以及制作的一些思路和思考方法。 本资源适合刚刚学习51单片机入门学者使用,里面的知识和内容很适合初学者汲取经验,提升能力。最好是要有一定的C语言编程能力,和会数字电路和模拟电路的能力才可以学明白。 本资源的使用需要有一个51单片机或者51单片机仿真软件,和51单片机的编程软件,还需要配置下载软件。这样才能发挥资料的最大作用。 本资源为压缩包,下载者,可以将文件下载完成后将文件进行解压处理,这样才可以正常的查看文件里面的内容。 我们从本资料可以很好的学习到51单片机LED灯模块的功能,为日后引用此部分功能打下解释的基础。还可以从中学习到一定的编程能力,和对一些模块编程的使用。
程序员保护眼睛屏幕亮度自动调节软件
程序员保护眼睛屏幕亮度自动调节软件
车载资料学习 个人收集 用于个人知识回顾
车载资料学习 个人收集 用于个人知识回顾
车载资料学习 个人收集 用于个人知识回顾 车载资料学习 个人收集 用于个人知识回顾 车载资料学习 个人收集 用于个人知识回顾
CMS61850完整版客户端与服务端测试demo
压缩包内已包含CMS61850的服务端及客户端的运行demo 使用方法可参考附件内的README 若出现依赖库的问题,无法运行,可联系作者解决 学习CMS相关知识及使用,可点击博主相关博客 合理使用软件并配合抓包,可加速CMS的软件开发
2023新修复Mxone模板精美自适应苹果V10影视模板主题
Mxone模板比较简洁漂亮,支持黑暗/日间模式,自适应苹果CMS V10版本影视模板主题。 一、LOGO替换 static/picture/index-logo.png ——–首页logo static/image/logo.png —–其他页面logo static/picture/logo.png ——-icon小图标 static/picture/loading.png ——-加载图 二、轮播图 轮播图视频推荐5,默认8个,需要更改数量,打开index/slide.html,看到num=”8″,把数字改成你想要显示轮播数字即可。 三、首页热播 热播视频推荐1,数量16个。 四、弹窗公告和网址 弹窗公告内容修改——-public/tcnotice 网址内容修改———-public/website.html 五、其他页面 label/app==app下载页 label/about==关于 label/help==投屏 label/web==网址
titan58.zip
titan58.zip