Library to work with the LDC1000 from Texas Instruments

Dependencies:   FastPWM

Dependents:   LDC1000_test

LDC1000

This library was written to interface to Texas Instruments' LDC1000 in order to perform inductance measurement. This libary needs a SPI peripheral on your mbed device to talk to the LDC1000.

Clock

The LDC1000 needs a high speed clock for its internal frequency counter. In order to provide this clock, the FastPWM library is used. This may change the behaviour of other PWM channels, please be aware of that, and read the FastPWM documentation to understand the implications.

Unsupported

Not supported (yet):

  1. Setting the RpMAX and RpMIN values
  2. Setting the interrupt pin functionality

History

lj default tip

2015-08-18, by vsluiter [Tue, 18 Aug 2015 17:46:35 +0000] rev 15

lj


Updated to latest FastPWM (after pulling)

2015-08-18, by vsluiter [Tue, 18 Aug 2015 17:44:09 +0000] rev 14

Updated to latest FastPWM (after pulling)


Updated version of FastPWM

2015-08-18, by vsluiter [Tue, 18 Aug 2015 17:37:03 +0000] rev 13

Updated version of FastPWM


Working example

2015-06-01, by hamid567 [Mon, 01 Jun 2015 08:21:11 +0000] rev 12

Working example


Working version with reduced code.

2015-05-29, by hamid567 [Fri, 29 May 2015 13:45:48 +0000] rev 11

Working version with reduced code.


working version with registers commented and all not needed write commando's disabled.

2015-05-29, by hamid567 [Fri, 29 May 2015 13:35:48 +0000] rev 10

working version with registers commented and all not needed write commando's disabled.


Working version: we get induction like on the EVM GUI.; After cable deconnect and reconnect, the program stil gives measurement data (no zeros)

2015-05-29, by hamid567 [Fri, 29 May 2015 11:25:13 +0000] rev 9

Working version: we get induction like on the EVM GUI.; After cable deconnect and reconnect, the program stil gives measurement data (no zeros)


Working program but with not the right return data from readCounts()

2015-05-29, by hamid567 [Fri, 29 May 2015 09:28:46 +0000] rev 8

Working program but with not the right return data from readCounts()


Minimal configuration, only registers 3,4,5 written

2015-05-26, by hamid567 [Tue, 26 May 2015 14:50:16 +0000] rev 7

Minimal configuration, only registers 3,4,5 written


Working readout. Skipped all nice functions, just plain registers

2015-05-26, by hamid567 [Tue, 26 May 2015 14:43:33 +0000] rev 6

Working readout. Skipped all nice functions, just plain registers