• AVR Freaks

Hot!As promised, 16-bit dsPIC version of my cheap logic analyzer available

Author
trossin
Super Member
  • Total Posts : 71
  • Reward points : 0
  • Joined: 2006/06/02 11:31:50
  • Location: 0
  • Status: offline
2020/12/17 18:57:27 (permalink)
5 (3)

As promised, 16-bit dsPIC version of my cheap logic analyzer available

I understand this is the 8-bit forum, but this will help debug 8-bit designs.  I just got 16 and 8 bit mode working and below are the specs:
  • 16 channel 8178 samples with 45ns/sample to 250us/sample
  • 8 channel 16,356 samples with 45ns/sample to 250us/sample
This uses a dsPIC33EV256GM102-I/SP (28 pin skinny DIP).  The schematic and code can be found here:
 
    https://www.sites.google....n/home/electronics/pic
 
I still have more to learn and code (4,2 and 1 bit mode and get the A/D working and be able to update firmware on the fly).  I was not able to get 30ns/sample as reading a port takes two instruction cycles but 45ns is a good boost over my previous design which maxed out at 125ns/sample.  The instruction set is really nice on the dsPICs with do loops and repeat instructions and 15 working registers instead of just one.
post edited by trossin - 2020/12/17 18:59:28
#1

2 Replies Related Threads

    trossin
    Super Member
    • Total Posts : 71
    • Reward points : 0
    • Joined: 2006/06/02 11:31:50
    • Location: 0
    • Status: offline
    Re: As promised, 16-bit dsPIC version of my cheap logic analyzer available 2021/01/13 16:00:33 (permalink)
    +2 (2)
    Since this post, I’ve changed processors (dsPIC33EP512MC202) and learned some new coding tricks with the help of the dsPIC forum members. I have 16, 8 and 4 channel working with 30ns/sample in 8 and 16 channel mode. The 3.3V device works with 3.3V and 5V logic and has 3 times the sample memory. The new code, schematic and solderless breadboard photo are at the same link as above. In 4 channel mode, you get over 98,000 samples.
    #2
    trossin
    Super Member
    • Total Posts : 71
    • Reward points : 0
    • Joined: 2006/06/02 11:31:50
    • Location: 0
    • Status: offline
    Re: As promised, 16-bit dsPIC version of my cheap logic analyzer available 2021/01/21 18:47:36 (permalink)
    +2 (2)
    I added 2 and 1 channel mode.  The new code is on my web page (you need the PC and PIC code) along with a you-tube video showing the machine in action.  The PIC code can be updated using the PC code (firmware update). 
    #3
    Jump to:
    © 2021 APG vNext Commercial Version 4.5