Difference between revisions of "KFLOP Hardware Info"

From Dynomotion

Jump to: navigation, search
(KFLOP Input Filters)
Line 26: Line 26:
 
| width="260"|<span style="font-family: Arial Black; font-size: small;">[http://dynomotion.com/Help/VirtualComPortwithKFLOP.pdf  Virtual COM Port Driver Installation]</span>
 
| width="260"|<span style="font-family: Arial Black; font-size: small;">[http://dynomotion.com/Help/VirtualComPortwithKFLOP.pdf  Virtual COM Port Driver Installation]</span>
 
|}
 
|}
 +
 +
==KFLOP Input Filters==
 +
KFLOP inputs are very fast and therefore susceptible to narrow noise glitches.  KFLOP doesn't have selectable digital filtering.  It is usually best to fix the source of the problem in hardware.  Otherwise you might reduce the frequency of the problem but not eliminate it entirely.  You might add a Filter Capacitor (such as a 0.1uf ceramic capacitor) from the KFLOP input pin to the KFLOP GND (in very close proximity to KFLOP).  <br /><br />To filter the inputs in software you can do so with a User Program that samples the input, performs some filtering algorithm, and sets/clears a KFLOP Virtual I/O Bit (ie bits 48-63) based on the result.   Then configure the KFLOP Axis to monitor the Virtual Inputs rather than the real inputs.   The ExternalButtons.c example shows how multiple inputs can be monitored and debounced using a single non-blocking loop using a state driven approach.  See the Debounce() function, how its used, and the 3 global variables needed for every input to keep track of the states of the input.

Revision as of 18:46, 14 October 2015

KFLOP - DSP-based microcontroller with 1.2 GFLOPs of processing power, a 100k Gate FPGA, 16 Mb SDRAM, 8 axes of control, lots of I/O and the ability to program in C

KFLOP perspective1 400.jpg
Summary

Quick Start/USB Driver Installation

HW/SW Specification

Board Layout

Block Diagram

Hardware/Connector Description

Analog IO Screen Digital IO Screen
Functional Diagram Virtual COM Port Driver Installation

KFLOP Input Filters

KFLOP inputs are very fast and therefore susceptible to narrow noise glitches.  KFLOP doesn't have selectable digital filtering.  It is usually best to fix the source of the problem in hardware.  Otherwise you might reduce the frequency of the problem but not eliminate it entirely.  You might add a Filter Capacitor (such as a 0.1uf ceramic capacitor) from the KFLOP input pin to the KFLOP GND (in very close proximity to KFLOP). 

To filter the inputs in software you can do so with a User Program that samples the input, performs some filtering algorithm, and sets/clears a KFLOP Virtual I/O Bit (ie bits 48-63) based on the result.   Then configure the KFLOP Axis to monitor the Virtual Inputs rather than the real inputs.   The ExternalButtons.c example shows how multiple inputs can be monitored and debounced using a single non-blocking loop using a state driven approach.  See the Debounce() function, how its used, and the 3 global variables needed for every input to keep track of the states of the input.