TIDUC26A April   2022  – April 2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 Inductive Touch Buttons
      2. 2.2.2 Sensor Coil Placement
      3. 2.2.3 Collecting Data from Multiple LDCs
      4. 2.2.4 Magnetic Dial Implementation
      5. 2.2.5 CORDIC Algorithm
    3. 2.3 Highlighted Products
      1. 2.3.1 LDC3114-Q1
      2. 2.3.2 TMAG5273
      3. 2.3.3 DRV2605
      4. 2.3.4 TLV75518
      5. 2.3.5 TCA9534
      6. 2.3.6 PCA9543
      7. 2.3.7 Sensor Control Board
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Firmware and Programming
      1. 3.1.1 Operational Mode 1
      2. 3.1.2 Operational Mode 2
      3. 3.1.3 Operational Mode 3
    2. 3.2 Test Setup
    3. 3.3 Test Results
      1. 3.3.1 ABS Force Response
      2. 3.3.2 ABS Gain Corrected
      3. 3.3.3 Nylon Force Response
      4. 3.3.4 Nylon Gain Corrected
  10. 4Hardware Components
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks
  12. 6Revision History

CORDIC Algorithm

The built in CORDIC algorithm uses two magnetic axes to determine the angle data. The linear magnetic axis data can also be used to calculate the angle using an external algorithm as well. For using the internal CORDIC algorithm, the desired magnetic axis need to be selected using the ANGLE_EN bits in the SENSOR_CONFIG_2 register in the device. For this design, the X and Y axis are used to determine the magnet angle so the bits are set to 0x1. In addition to this, it is important to set the magnetic sensing range based on the expected magnetic field strength. Once configured, the magnet angle can be obtained from the CORDIC algorithm by simply reading the ANGLE_RESULT_MSB and ANGLE_RESULT_LSB registers. Lastly, averaging is applied to the sampling of the device by changing the CONV_AVG register setting. This allows for a better SNR performance from the device and gives more accurate angle information from the CORDIC output.