summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Reeder2018-08-02 13:52:14 -0500
committerJason Reeder2018-08-02 13:52:14 -0500
commit75f354c9c40aaa9d0686b54ef12f92b075e130fb (patch)
treed371e727880545ca066e14bb24c051a1b97edeac
parent78e35d6b1535efb74317511cacd47b14db16249a (diff)
downloadtida01555-75f354c9c40aaa9d0686b54ef12f92b075e130fb.tar.gz
tida01555-75f354c9c40aaa9d0686b54ef12f92b075e130fb.tar.xz
tida01555-75f354c9c40aaa9d0686b54ef12f92b075e130fb.zip
Change the out of box frequency estimation device
Signed-off-by: Jason Reeder <jreeder@ti.com>
-rw-r--r--PRU_ADS8688_Controller/PRU_ADS8688_Controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c b/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c
index 75cb40b..bec1fb6 100644
--- a/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c
+++ b/PRU_ADS8688_Controller/PRU_ADS8688_Controller.c
@@ -96,7 +96,7 @@ volatile register uint32_t __R31;
96#define OVERSAMPLE 1 96#define OVERSAMPLE 1
97 97
98/* Frequency estimation constants */ 98/* Frequency estimation constants */
99#define FREQ_EST_DEVICE 0 99#define FREQ_EST_DEVICE 4
100#define FREQ_EST_CHANNEL 5 100#define FREQ_EST_CHANNEL 5
101#define FREQ_EST_CYCLES 5 101#define FREQ_EST_CYCLES 5
102#define MIN_DELAY 710 //55Hz 102#define MIN_DELAY 710 //55Hz