Shop OBEX P1 Docs P2 Docs Learn Events
TV Scope: A debugger using my TV_1pin driver (Inspired by Phil's SpinScope) — Parallax Forums

TV Scope: A debugger using my TV_1pin driver (Inspired by Phil's SpinScope)

Cluso99Cluso99 Posts: 18,069
edited 2014-11-08 08:27 in Propeller 1
Here is an updated version of my 1-pin TV driver (monochrome composite video). I have now added the ability to display digital waveforms.

My driver may be used to debug propeller code including the display of digital waveforms which may be gathered by a separate object (to come).
A sample program (TVscope_demo.spin) is provided. It places dummy information into the video frame buffer directly instead of, or as well as, using the TV driver as a terminal. The frame buffer overwrites the driver pasm code in hub (plus a little to total 2,000 bytes) after the driver is loaded. This minimises hub usage.

More information about my 1-pin TV and 1-pin Keyboard drivers is in the OBEX and on the forum here
???

This project was inspired by Phil Pilgrim's SpinScope.
http://forums.parallax.com/showthread.php/157982-SpinScope-A-Virtual-Oscilloscope-for-the-Propeller

TVscope_v1.30.jpg

This is my 4" reversing camera display which cost ~$25 on eBay.

TVscope_demo v1.30 - Archive [Date 2014.11.07 Time 21.06].zip

Comments

  • Cluso99Cluso99 Posts: 18,069
    edited 2014-11-07 02:46
    Reserved for future use
  • ChrisGaddChrisGadd Posts: 310
    edited 2014-11-07 15:36
    I've had a logic analyzer on the back burner for a while. Ten channels, max sampling rate is ~4.2Ms/s using four cogs, stores samples on a 4096 long array in the hub, triggers on any combination of levels and edges; when stopped, the samples scale up to 10x using the standard 2x, 5x, 10x scales. It uses 1 to 4 cogs for the sampling, 1 for a bitmapper, and 1 for the TV driver. Still need to figure out a user interface.

    Logic analyzer.jpg


    Logic_analyzer - Archive.zip
  • Cluso99Cluso99 Posts: 18,069
    edited 2014-11-08 05:48
    I posted a data logger that recorded the whole 32 pins for about 1700 samples using 4 cogs interlaced to achieve configurable 104Ms/s with over locking the prop to 104MHz. Ie from trigger, a 32 bit sample was recorded every clock.
    Output went over serial to PC where it could be viewed in prop tool.

    I posted a sampler on phils spin scope thread to sample 32 bits every 16 clocks ie 6.5MHz when overclocking.

    However, the way my code runs, it can only commence logging after the trigger was detected.
  • T ChapT Chap Posts: 4,223
    edited 2014-11-08 08:27
    Wow, a Prop1 renaissance.
Sign In or Register to comment.