 Digi key and Ada fruit bring you So he gets from Digilent the National Instruments Company they make all sorts of good stuff What's the new product introduction of this week lady? I'm glad you asked but first up I want to note check out this first off this Digilent logo is really cool It looks just like that triangle under the ion MPI. Yeah, we like we like triangles and We like ion MPI Okay, so Digilent makes all sorts of modules and test equipment for makers and students National Instruments also does the same indigilent. It's kind of like the hardware branch And this is an MPI that I saw pop up on digi key comm slash new which I recommend you bookmark and Visit you visit a fruit comm slash new and then digi key comm slash new once a week to get all the MPIs So this week sometimes more than once week maybe every day this week it's the digital discovery board from Digilent and If you're familiar with the analog dig the sorry analog discovery board, you know that that's like an oscilloscope waveform generator This is as you expect a digital logic analyzer version and it's like jam-packed with capabilities. So Inside there's a Xilent Spartan FPGA and that's what lets it do like all the high-speed stuff There's a little bit of power on top right and there's a lot of pins So compared to other logic analyzers first off the price is really good. It's about 200 bucks You get a lot. It's a 32-channel digital logic analyzer from 1.2 to 3.3 volt logic Eight channels are at 800 mega samples per second 16 channels could be at 400 mega samples per second and all 32 channels can be at 200 mega samples per second so you get like 32 channels of digital input Which is very rare to see in a logic analyzer under a thousand dollars. There's a 16 channel virtual Sorry, there's 16 channel panel generator 100 mega samples per second says output not inputs. There's a 16 channel virtual digital IO including buttons, which is an LED's So you can I think use that through the application There's a programmable logic supply from 1.2 to 3.3 volts at 100 milliamps So you can use that to power your circuitry as well and It comes in a nice case. There's an FT232 that does the USB 2.0 interface And on the bottom you can just see all the passive circuitry. So it's a nice little board It's very cute and it's got these two whole connections for the logic As I mentioned this one does not do analog inputs and outputs if you want that you want the analog discovery The digital discovery however is excellent if you have digital circuitry Protocols or devices that you want to analyze or simulate There's on the front a high speed port and you can see there's like data and ground interleaved You can use this port for up to 800 mega samples per second or 400 mega samples per second But you'll need the high speed add-on So that's why there's two products on Digi-Key one has the high speed port adapter and one doesn't and then on the side There are two kind of lower speed Eight port connections to power two grounds and then eight pins on either side. So a lot of IO You may realize of course Doesn't have a screen on it like a you know a desktop logic analyzer because instead you're going to use software There's free software called waveforms from Digilent It's available from Mac Windows and Linux as well as ARM. So that's like for a Raspberry Pi So this is a really great pairing if you want to make like a little logic analyzer station with a Raspberry Pi You can do that You can also just download the free software and run it on your desktop computer You just have to register on the website to download Install it and that's it. So that's kind of nice and then the software of course is like really advanced We'll get into that one thing I will say is Digilent has a lot of neat tutorials and walk-throughs I really recommend going through them because the software is incredibly powerful So I checked out the blog and like here's a tutorial on how to analyze an old NES controller Like how do the old NES controllers send data? Well as a shift register, but maybe you want to find out for your own So they go through how to wire up and analyze protocols is very important because there's so many things you can do with the software I felt like you really need to do the tutorials to get a sense of what you can do But if you don't know you can do something like I didn't know you could do like device simulation or like data export These guys will help you out. So check out the Digilent site and the blog for tutorials One thing that was kind of neat is there's just like a scripting language built in so you can script the inputs and outputs You can do analysis you can output like Output the data that you're reading from the logic analyzer to files or like back out to different outputs So it's very powerful and they have a couple scripting examples as well. So just want to mention It's something that I didn't look at in detail, but it seems like you can do a lot with it So I think if you are ever stuck in situation where you're like I have a very complicated project and I'm willing to put some time into developing a script to help me debug it This would be very useful. So keep an eye out for that. You may not use it immediately, but I think eventually you would There's also a lot of built-in Protocol analyzers, so that's really handy, right? Like I use to I tend to use logic analyzers for debugging SPI or I squared C or UART I want to see the data that's coming through To see if it's matching what I'm expecting or sometimes I'm sniffing an existing product because I'm trying to analyze what the protocol is So there's all these built-in Protocol signal analyzers like SPI, HDMI, Onewire, I2S, so all the popular stuff. So that's good And then you know, I wired it up to a chip I was analyzing I turned on the I squared C and here you go You get, you know the clock the data and then at the top the decoded hexadecimal data being written in red as well as The I squared C write or read flag on the address. So, you know, it's basically like any logic analyzer in that extent There's also an event pane So, you know, you can see the data coming through at the top with like all the signals But if you want to just like you're like I don't care about like the rise time and fall time I just want to see the raw data. You can open up the event panel And it'll give you all the data with timestamps of when the event for the protocol analyzer occurred and Then finally you can export it in this case to a CSV file for additional parsing Or again, you can use one of those scripts if you want to put it into a particular format But this is basically what I use when I'm analyzing something It's like, you know what what data is being written in this case You can see where the acts are Where the starts and the timestamps so I can see how long it takes for it to respond. That's kind of handy There's also like, you know, this was a kind of interesting There's a framework that you can use to script it in Python So this was an example that I looked at that you would wait You would use Python code as external application to use the logic analyzer to simulate an LCD display I thought this was interesting because I never thought of using a logic analyzer as a simulator But I could see there's some situations where You can model the the device you're trying to probe and then create a model in Python And then have your hardware instead of interfacing like your microtroller Microprocessor so interfacing with the literal hardware you can interface with the simulator instead. So this is kind of neat I haven't seen this in any other logic analyzers And Finally, there are in addition to those scripts There are examples for like parsing the data out and actually giving you like more like logical data So the ADXL 345 is, you know, very popular accelerometer I squared seen SPI so Check out the blog post I have a link to it There's a tutorial on how you can use the built-in analyzer to like you can see it's it's writing To the device through the logic analyzer and giving you outputs you can use it as like a scriptable microcontroller So it's a very Powerful logic analyzer. I'll say that it's like you get a lot. There's a lot you can do I said a couple hours with it I felt like there was so much stuff that I didn't get to try out The thing that I think really makes it stand out is the price can't beat it like for like 200 bucks Something that plugs into USB works on any platform With free software it just works and has Up to 32 channels at over a hundred mega samples per second. They can't be beat. There's nothing else that comes close There's also a ton of tutorials and documentation and the software is fully featured So you're gonna get something very very powerful But it does take a little bit of time to get used to it So if you if you pick up one of these digital discoveries I say give yourself like a day or two to sit down and really try everything out I think you'll with experience and practice you'll be able to use a tool very efficiently and Pick up an analog discovery and pair them together So you basically have a full EE bench for a couple hundred bucks and it doesn't even take up any desk space and We grab the video from Digilent. It's four minutes, but it's worth it. So we're gonna play it Yeah, it kind of has an overview of Just about all the things Like VGA decoding like this is so cool You can do HDMI decoding like really really advanced stuff. All right, let's take it away Digilent. See you on the other side Hi, I'm Caitlin and I'm excited to announce the digital discovery the ultimate embedded development companion Its features and specifications were chosen deliberately to maintain a small portable form factor With day and use it a variety of environments and keep costs down All while balancing the requirements of operating on USB power It packs a lot of performance into a small USB powered instrument more than any device in its class The closest competitor has half the channels at more than twice the price It has a 32 channel logic analyzer a 16 channel pattern generator 16 digital inputs and outputs a four channel power supply and a protocol analyzer for analyzing spy X-quad C and you are It can reach sample rates of up to 800 mega samples per second and is still small enough to fit in your pocket We took the form factor and the FPGA of the highly popular analog discovery to and created a device just for digital signals The digital discovery has 32 digital signals including 16 high-speed inputs and 16 digital input output pins When configured as inputs, they become a powerful 32 bit logic analyzer when configured as outputs They become a customizable 16 channel pattern generator for projects that require spy I squared C or you are the pins can be configured to send receive and analyze data in the protocol analyzer The logic analyzer was designed to optimize user experience and specifications So the user can choose between eight channels at a hundred mega samples per second 16 channels at 400 mega samples per second and 32 channels at 200 mega samples per second It provides single and bust channels for analyzing spy I squared C you are can and more It is important to note that in order to achieve sample rates higher than 200 mega samples per second The high-speed adapter and high-speed logic probes must be used There's also a 16 channel pattern generator that can generate clocks pulse counters random data and many other common digital signals the pattern generator also includes a Custom pattern feature that can allow you to create any digital pattern with 100 mega samples per second and 50 megahertz bandwidth In addition to sending isolated input or output signals the protocol analyzer allows you to send signals where you might need a combination of both The protocol analyzer provides built-in spy I squared C and you are functionality able to be customized to read write or execute combined read writes The user programmable power supplies can offer between 1.2 and 3.3 volts and are available to power user circuits They can be set to any value in that range and can each provide up to a hundred milliamps of current Most circuit connections use simple jumper wires making it easy to use with breadboarded circuits If your application requires higher speed signals, the high-speed adapter is available as an optional add-on at checkout The digital discovery offers the best balance of cost performance and customizability of any device in its class But without equally powerful software, it wouldn't be much use The totally free waveforms 2015 software package unlocks the hardware performance and brings digital analysis to your USB connected windows Linux or Apple computer In addition to the logic analyzer pattern generator protocol analyzer Digital IO and power supplies we've discussed in this video The digital discovery also comes with a scripting interface that can allow you to create customized solutions to more complex problems Cross-draggering is also supported and data can be easily exported into Word, Excel and other tools, but enough talk Let's show the digital discovery in action In this example I'll be using the script editor in conjunction with the logic analyzer and power supplies to decode VGA signals into an actual image On the monitor, I'll have a simple game of tic-tac-toe that'll save as an image I'm out putting the same VGA signals that come out of the VGA connectors into these two PMO ports and Since this application requires sample rates higher than 200 mega samples per second, I've attached the high-speed adapter Now all I need to do is run the script wait a few moments and open the image that waveforms 2015 has saved Essentially this device provides a whole suite of advanced features for you to analyze, view and debug your digital signals for embedded projects And it fits in your pocket So go to our website to check out this exciting new project for reference material including a reference manual Getting starting guide and tutorials check out the wiki subscribe to stay up-to-date to digital and products and services Thanks for watching And you wanted to show this off I thought just quick, yeah, so this is the because it's a pretty nice build But the FPGA in the center got some buffer memory USB interface power circuitry and then Like a ton of gold plated pins With protection circuits and buffers on this bottom. So yeah for for what you're getting It's a great deal. I think it's a it's an excellent Logic analyzer that can do a ton. It will last you like a decade easily All right, all right. Thank you with that is line up here this week