SlideShare a Scribd company logo
Daniel Chiu
2015/9/4
Mobile: +886-928-282-503
Email: daniel.chiu@sacsys.com.tw
BMI160
Fast Offset Compensation
Accelerometer Fast Offset Compensation
• The best suited for “end-of-line trimming” with the device positioned in a
well-defined orientation
• One-shot process
• Compensates the offset errors of accelerometer and gyro by setting the offset
compensation registers to the negated offset error
• Should not be used in combination with the low-power modes
• In low-power mode the conditions (availability of necessary data) for proper function of
fast compensation are not fulfilled
Configure FOC_CONF(0x69) before triggering
• Accelerometer and gyroscope FOC can separately disabled or
enabled
• Gyroscope target value is always 0 dps
• Accelerometer target value has to be defined for each channel (-1g, 0g, +1g)
depending on sensor position relative to the earth gravity field
Triggered by start_foc command
• FOC is triggered by issuing a start_foc command to register (0x7E
CMD
• This will take a maximum time of 250ms
• The process is reflected in the status bit foc_rdy in Register (0x1B) STATUS.
• foc_rdy is ‘0’ while the measurement is in process
The negated measured value
• The negated measured value are written to Register (0x71-0x77)
automatically (overwriting previous offset register value)
• For the accelerometer offset, the accuracy is 3.9mg
Accelerometer Fast Compensation Example
Register (0x71-0x77) OFFSET
• Reset: Reads from NVM
• Description:
• Contains the offset compensation values for accelerometer and gyroscope
• Definition:
• it is generated automatically after triggering the fast offset compensation procedure
• the content of the register may be written to the NVM
• it is automatically restored from the NVM after each power-on or soft reset
• offset values may be written directly by the user
Non-Volatile Memory
• Access to non-volatile memory is only possible through (volatile)
image registers
• Maximum number of write cycles equal or less than 14
• The content of the NVM is loaded to the image registers after a
reset (either POR or softreset)
• As long as the image update is in progress, bit nvm_rdy in
Register (0x1B) STATUS is ´0´, otherwise it is ´1´ (NVM is ready to
accept a new write trigger)
• Writing to the NVM is a three-step procedure:
• Write the new contents to the image registers
• Write ´1´ to bit nvm_prog_en in the Register (0x6A) CONF register in order to unlock
the NVM
• Write prog_nvm (0xA0) to the Register (0x7E) CMD to trigger the write process
Register (0x6A) CONF
Triggered by prog_nvm command
BOSCH BMI160 fast offset compensation

More Related Content

What's hot

Kernel security of Systems
Kernel security of SystemsKernel security of Systems
Kernel security of Systems
Jamal Jamali
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programming
Kumar
 
Flutter Bootcamp
Flutter BootcampFlutter Bootcamp
RT linux
RT linuxRT linux
RT linux
SARITHA REDDY
 
FlexRay Fault Tolerance article
FlexRay Fault Tolerance articleFlexRay Fault Tolerance article
FlexRay Fault Tolerance article
Omar Jaradat
 
Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...
RealTime-at-Work (RTaW)
 
Gossip-based algorithms
Gossip-based algorithmsGossip-based algorithms
Gossip-based algorithms
Amir Payberah
 
vCenter and ESXi network port communications
vCenter and ESXi network port communicationsvCenter and ESXi network port communications
vCenter and ESXi network port communications
Animesh Dixit
 
dos mutual exclusion algos
dos mutual exclusion algosdos mutual exclusion algos
dos mutual exclusion algos
Akhil Sharma
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
Gousalya Ramachandran
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
Barcamp Cork
 
A8 cross site request forgery (csrf) it 6873 presentation
A8 cross site request forgery (csrf)   it 6873 presentationA8 cross site request forgery (csrf)   it 6873 presentation
A8 cross site request forgery (csrf) it 6873 presentation
Albena Asenova-Belal
 
REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
Halil Burak Cetinkaya
 
Server virtualization
Server virtualizationServer virtualization
Server virtualization
Kingston Smiler
 
JIT Compiler
JIT CompilerJIT Compiler
Penetration Testing
Penetration Testing Penetration Testing
Penetration Testing
RomSoft SRL
 
Introduction to High-Performance Computing
Introduction to High-Performance ComputingIntroduction to High-Performance Computing
Introduction to High-Performance Computing
Umarudin Zaenuri
 
Servlet
Servlet Servlet
Servlet
Dhara Joshi
 
What is an API?
What is an API?What is an API?
What is an API?
Muhammad Zuhdi
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
Chandrani Ray Chowdhury
 

What's hot (20)

Kernel security of Systems
Kernel security of SystemsKernel security of Systems
Kernel security of Systems
 
java servlet and servlet programming
java servlet and servlet programmingjava servlet and servlet programming
java servlet and servlet programming
 
Flutter Bootcamp
Flutter BootcampFlutter Bootcamp
Flutter Bootcamp
 
RT linux
RT linuxRT linux
RT linux
 
FlexRay Fault Tolerance article
FlexRay Fault Tolerance articleFlexRay Fault Tolerance article
FlexRay Fault Tolerance article
 
Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...
 
Gossip-based algorithms
Gossip-based algorithmsGossip-based algorithms
Gossip-based algorithms
 
vCenter and ESXi network port communications
vCenter and ESXi network port communicationsvCenter and ESXi network port communications
vCenter and ESXi network port communications
 
dos mutual exclusion algos
dos mutual exclusion algosdos mutual exclusion algos
dos mutual exclusion algos
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
A8 cross site request forgery (csrf) it 6873 presentation
A8 cross site request forgery (csrf)   it 6873 presentationA8 cross site request forgery (csrf)   it 6873 presentation
A8 cross site request forgery (csrf) it 6873 presentation
 
REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
 
Server virtualization
Server virtualizationServer virtualization
Server virtualization
 
JIT Compiler
JIT CompilerJIT Compiler
JIT Compiler
 
Penetration Testing
Penetration Testing Penetration Testing
Penetration Testing
 
Introduction to High-Performance Computing
Introduction to High-Performance ComputingIntroduction to High-Performance Computing
Introduction to High-Performance Computing
 
Servlet
Servlet Servlet
Servlet
 
What is an API?
What is an API?What is an API?
What is an API?
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
 

Similar to BOSCH BMI160 fast offset compensation

8255.pdf
8255.pdf8255.pdf
8255.pdf
someshdash1
 
TMPA910CRAXBG 32-Bit Display MCU
TMPA910CRAXBG 32-Bit Display MCUTMPA910CRAXBG 32-Bit Display MCU
TMPA910CRAXBG 32-Bit Display MCU
Premier Farnell
 
Raster scan systems with video controller and display processor
Raster scan systems with video controller and display processorRaster scan systems with video controller and display processor
Raster scan systems with video controller and display processor
hemanth kumar
 
Lecture on PIC-1.pptx
Lecture on PIC-1.pptxLecture on PIC-1.pptx
Lecture on PIC-1.pptx
godfrey35
 
Pentium processor
Pentium processorPentium processor
Pentium processor
Pranjali Deshmukh
 
Arm
ArmArm
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drives
controltrix
 
TMSLF2407 DSP Controller
TMSLF2407 DSP ControllerTMSLF2407 DSP Controller
TMSLF2407 DSP Controller
ANIRUDDHMAINI1
 
Fingerprint Biometrics
Fingerprint BiometricsFingerprint Biometrics
Fingerprint Biometrics
Rudra Prasad Maiti
 
Computer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organizationComputer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organization
AmrutaMehata
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
Premier Farnell
 
eTPU to GTM Migration Presentation
eTPU to GTM Migration PresentationeTPU to GTM Migration Presentation
eTPU to GTM Migration Presentation
Parker Mosman
 
Control unit design
Control unit designControl unit design
Control unit design
Dhaval Bagal
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
DrVaibhavMeshram
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 
Enhanced phase width modulation in TMS320F28335D
Enhanced phase width modulation in TMS320F28335DEnhanced phase width modulation in TMS320F28335D
Enhanced phase width modulation in TMS320F28335D
Satya Sahoo
 
Embedded systems and robotics by scmandota
Embedded systems and robotics by scmandotaEmbedded systems and robotics by scmandota
Embedded systems and robotics by scmandota
scmandota
 
An Introduction to Microcontrollers part 2
An Introduction to Microcontrollers part 2An Introduction to Microcontrollers part 2
An Introduction to Microcontrollers part 2
khaledsoradi
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
Premier Farnell
 
VIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptxVIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptx
SarafrajBeg1
 

Similar to BOSCH BMI160 fast offset compensation (20)

8255.pdf
8255.pdf8255.pdf
8255.pdf
 
TMPA910CRAXBG 32-Bit Display MCU
TMPA910CRAXBG 32-Bit Display MCUTMPA910CRAXBG 32-Bit Display MCU
TMPA910CRAXBG 32-Bit Display MCU
 
Raster scan systems with video controller and display processor
Raster scan systems with video controller and display processorRaster scan systems with video controller and display processor
Raster scan systems with video controller and display processor
 
Lecture on PIC-1.pptx
Lecture on PIC-1.pptxLecture on PIC-1.pptx
Lecture on PIC-1.pptx
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
Arm
ArmArm
Arm
 
Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drives
 
TMSLF2407 DSP Controller
TMSLF2407 DSP ControllerTMSLF2407 DSP Controller
TMSLF2407 DSP Controller
 
Fingerprint Biometrics
Fingerprint BiometricsFingerprint Biometrics
Fingerprint Biometrics
 
Computer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organizationComputer Organization : CPU, Memory and I/O organization
Computer Organization : CPU, Memory and I/O organization
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
 
eTPU to GTM Migration Presentation
eTPU to GTM Migration PresentationeTPU to GTM Migration Presentation
eTPU to GTM Migration Presentation
 
Control unit design
Control unit designControl unit design
Control unit design
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
 
Enhanced phase width modulation in TMS320F28335D
Enhanced phase width modulation in TMS320F28335DEnhanced phase width modulation in TMS320F28335D
Enhanced phase width modulation in TMS320F28335D
 
Embedded systems and robotics by scmandota
Embedded systems and robotics by scmandotaEmbedded systems and robotics by scmandota
Embedded systems and robotics by scmandota
 
An Introduction to Microcontrollers part 2
An Introduction to Microcontrollers part 2An Introduction to Microcontrollers part 2
An Introduction to Microcontrollers part 2
 
Overview of LPC213x MCUs
Overview of LPC213x MCUsOverview of LPC213x MCUs
Overview of LPC213x MCUs
 
VIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptxVIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptx
 

Recently uploaded

Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
lorraineandreiamcidl
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 

Recently uploaded (20)

Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 

BOSCH BMI160 fast offset compensation

  • 1. Daniel Chiu 2015/9/4 Mobile: +886-928-282-503 Email: daniel.chiu@sacsys.com.tw BMI160 Fast Offset Compensation
  • 2. Accelerometer Fast Offset Compensation • The best suited for “end-of-line trimming” with the device positioned in a well-defined orientation • One-shot process • Compensates the offset errors of accelerometer and gyro by setting the offset compensation registers to the negated offset error • Should not be used in combination with the low-power modes • In low-power mode the conditions (availability of necessary data) for proper function of fast compensation are not fulfilled
  • 3. Configure FOC_CONF(0x69) before triggering • Accelerometer and gyroscope FOC can separately disabled or enabled • Gyroscope target value is always 0 dps • Accelerometer target value has to be defined for each channel (-1g, 0g, +1g) depending on sensor position relative to the earth gravity field
  • 4. Triggered by start_foc command • FOC is triggered by issuing a start_foc command to register (0x7E CMD • This will take a maximum time of 250ms • The process is reflected in the status bit foc_rdy in Register (0x1B) STATUS. • foc_rdy is ‘0’ while the measurement is in process
  • 5. The negated measured value • The negated measured value are written to Register (0x71-0x77) automatically (overwriting previous offset register value) • For the accelerometer offset, the accuracy is 3.9mg
  • 7. Register (0x71-0x77) OFFSET • Reset: Reads from NVM • Description: • Contains the offset compensation values for accelerometer and gyroscope • Definition: • it is generated automatically after triggering the fast offset compensation procedure • the content of the register may be written to the NVM • it is automatically restored from the NVM after each power-on or soft reset • offset values may be written directly by the user
  • 8. Non-Volatile Memory • Access to non-volatile memory is only possible through (volatile) image registers • Maximum number of write cycles equal or less than 14 • The content of the NVM is loaded to the image registers after a reset (either POR or softreset) • As long as the image update is in progress, bit nvm_rdy in Register (0x1B) STATUS is ´0´, otherwise it is ´1´ (NVM is ready to accept a new write trigger) • Writing to the NVM is a three-step procedure: • Write the new contents to the image registers • Write ´1´ to bit nvm_prog_en in the Register (0x6A) CONF register in order to unlock the NVM • Write prog_nvm (0xA0) to the Register (0x7E) CMD to trigger the write process