-
1. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
bob.marlowe Nov 19, 2016 12:18 PM (in response to rdd_1679371)Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.Bob
-
2. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
rdd_1679371 Nov 19, 2016 12:41 PM (in response to rdd_1679371)Example running at 14 bits
When I GND pins, I get count of 65535 and when I put VDD on Pins I get approx 10977. Not sure if the EOC pin is firing (I don't have a scope at my location)
-
3. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
MagnusLundin Nov 19, 2016 12:54 PM (in response to rdd_1679371)Signed arithmetic (aligned to 16 bits)
65535 = -1 = good value for ground , only one bit off
10977 = 0x2AE1, a bit more than 1FFFF maximum for 14 bit signed, the delta sigma is known to overshoot the specified range, check the datasheet. This could be good or not depending on the analog reference value used.
-
4. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
rdd_1679371 Nov 19, 2016 1:56 PM (in response to rdd_1679371)Thank you Magnus. That explains the numbers I am getting. I have it on Vssa to 7.5V range and 65565 * 5.0/7.5 is 10922.
The triggering is a separate and intermittent issue which we have not got to the bottom of.
-
5. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
user_242978793 Nov 20, 2016 7:34 AM (in response to rdd_1679371)You have a 4 input Mux but only a 2 input count signal. The original example the trigger example matched the mux inputs. This may be causing your issues.
-
6. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
rdd_1679371 Nov 20, 2016 8:47 AM (in response to user_242978793)No - that's not it. With 2 lines, you can set 0x00, 0x01,0x02, 0x03. A 16 channel MUX only needs 4 Count lines. The LUT sets these lines.
-
7. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
user_242978793 Nov 20, 2016 10:36 AM (in response to rdd_1679371)Increase your stack size it is set to 0x80 by default but this is too small for some applications increase it to 0x200 and see what happens.
-
8. Re: Getting DelSig_16Channel Example to Work on CY8KIT-059 (with Serial instead of LCD)
user_242978793 Nov 20, 2016 11:44 AM (in response to rdd_1679371)Okay I made the example and it seems to read channel one but doesn't toggle to the other inputs. Your project is missing the selection switch and that may be the issue. I haven't added the switch yet so for now I am stuck on channel 0. I just tried the switch input. It will not sequence without a user input in the example program. Did you put a sequencer in your program?