In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lelkins wrote: Hi folks, I'm mostly a software guy, but I'm doing some research to find a replacement for a data aquisition board we use. I think the SX line might have something that would fit the bill. Here's the data I'm working with: -One pulse width modulated value, being sent up to about 5KHz, clocked at 80MHz. I need the pulse width, counted at 80MHz. -Three analog lines, which need to be captured at the rising edge of the pulse (or nearly, some delay is tolerable). -Two lines from a quadrature encoder. I'd like to be able to capture these values and echo the data out to a PC over a serial port. Question 1: I'm reading on the "SX Tech Tool Kit PRO" page and I see the following about the SX Key: "The frequency output of this clock is adjusted from the software with a sliderbar between 400 kHz and 100 MHz." So can I use that clock on the SX Key to time my PWM signal? Is this clock running the whole chip (that is, is the chip 'overclocked') or is it just an external clock? Question 2: Can one of these chips keep up with sending serial data out to the host while it's waiting for the next signal, and keeping a quadrature count? I figure 48KBytes/sec would be fast enough to keep up with all the above data (16 bit pulse width timer, 16 bits quadrature count, 8+8+8 bits for A/D, all times 5000 samples/sec). I understand an FPGA might be the best solution, but I don't have any VHDL/Verilog background. Basic, C, or assembly are not problems for me. The SX line looks like it migh be a good fit. Any comments you all would have would be appreciated. Thanks, Les Elkins ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=138183 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)