Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:37 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Synchronous Serial Record Playback

Author Message
vk4tec

Senior Member

Joined: 24/03/2012
Location: Australia
Posts: 239
Posted: 09:28pm 26 Mar 2012
Copy link to clipboard 
Print this post

Hello

I often need a quick source of SYNCHRONOUS serial data for testing CCTS

That is a clock and data to go with it.

5 volts logic is fine.

I think it is possible to :-

Record ( pin test )

+ Look for a clock rise
+ Wait a bit to land data pulse in a bit
+ Save value of data pin to file.
+ Record all this to a file.

Playback

+ Read in file
+ Grab next data value
+ Set data pin for data high low
+ Set clock pin high for xx us

Should be pretty easy to implement ?

5 volts TTL clock and data recorder




- Andrew - Edited by vk4tec 2012-03-28
Andrew Rich VK4TEC
www.tech-software.net
 
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 02:38am 28 Mar 2012
Copy link to clipboard 
Print this post

I think you are talking about a Logic Analyzer here, perhaps (at least the "record" part)? I just don't think that interpreted basic will cut the mustard in terms of speed...

From memory (there are posts on the forum about MMBasic speed on a Maximite), I recall that purely flipping an output from Low to High (and vice versa) in a loop was running at speeds of about 12 - 14 kHz. Add to that the need to read data from an SD card, twiddle the bits on two output pins, etc. and I think a goal of 64 kb/s is "outside the zone".

Maybe I'm wrong; thoughts anyone?
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024