Skip navigation
1 2 3 Previous Next

Jan Cumps's Blog

105 posts
A check-out the Rigol LabVIEW example for the DP800 series of power supplies.   I'm planning to automate the measurements on the programmable electronic load that Peter, Jon and I are designing here on element14. For that I need to control a power supply, that load and an oscilloscope. In this exercise, I'm learning to program the Rigol DP832A, in particular enabling a channel and set it to several values repeatedly.   Rigol's Example  On Rigol's website you can find an examp ...
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The third part reviews the KiCAD PCB layout.   Two Layer PCB  I could have used a single layer PCB but there's no price difference with two layer boards. The bottom side is dedicated to the power rail and ground. The top for the digital and analog signals.   Let's start with the bottom layer. Because the 3V3 isn't used a lot but crosses the whole board, I decid ...
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The second part describes schematic and custom KiCAD parts.   Schematic  I've used two sources for my schematic. The datasheet of the TCAN332D and an article on the TI e2e forum. These are the things I've taken over from the advice: TXD input pin: If an open-drain host processor is used to drive the TXD pin of the device, an external pullup resistor between 1 kΩ ...
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The first part checks the design rules from the datasheet.     Real CAN driver  In the previous post I was using a makeshift CAN bus. But CAN buses that comply with the standard require a differential bus driver. I bought 2 TCAN332D driver ICs. I've selected those because they are simple and require only a few additional components (in fact, if you don't care ab ...
I'm trying out basic CAN communication on a Hercules microcontroller. This second test is sending data between two controllers. I'm using interrupts for reading and writing this time. It's not yet a complete CAN implementation. The physical CAN BUS components are missing.       Simplified CAN driver  CAN communication requires line drivers. The microcontrollers that I'm using have CAN peripherals but their pins are generic IO that operate on the logic 3.3V level. I'm u ...
The element14 roadtests are a great way to learn new things. Whenever I see a test that interests me, I enroll. Success is not guaranteed. I've been selected for some, not for others. In this series I'll explain how I decide to enroll or not. I'll also show how I build my case, including some examples from my applications.   This is the technical part of my application for the Microchip CAN Bus Analyser Tool . All technical content is here. The self promotion bit I've culled because I' ...
I'm trying out basic CAN communication on a Hercules microcontroller. This first test is to test an example project. Four CAN modules send an 8 char message out to themselves (so that we don't need external hardware).   What's tested here is how to set up CAN and how to use interrupt read-back.       The CAN example  This is the training code that comes with the HALCoGen configuration tool for Hercules. It uses the controller's internal loop back mechanism to se ...
The element14 roadtests are a great way to learn new things. Whenever I see a test that interests me, I enroll. Success is not guaranteed. I've been selected for some, not for others. In this series I'll explain how I decide to enroll or not. I'll also show how I build my case, including some examples from my applications.   This is the technical part of my application for the TI-PMLK Buck Experiment Board: TPS54160 & LM3475 All technical content is here. I haven't removed the part ...
I'm designing a BoosterPack to evaluate GaN devices with the help of a microcontroller. I've received PCBs from Seeed. Let's have a look ...   This is my first Seeed order (a kind element14 community member gave me a rebate coupon that I happily used). Board specifications:   PCB Dimension - 10cm Max*10cm Max Layer - 4 PCB Thickness - 1.6mm PCB Qty. - 5 PCB Color - Green Surface Finish - ENIG Copper Weight - 1oz. Panelized PCBs - 1 Expedited Option - NO   The price w ...
I'm designing a BoosterPack to evaluate GaN devices with the help of a microcontroller. This double post (a+b) documents the PCB layout, specific for significant currency and high switching frequency.     Custom Schematic Elements and Footprints Strategy I rule and live by the law of laziness. I do as little as possible and try to simplify anything that pops up. That's reflected in my 'custom element creation' strategy: whenever there's a schematic or footprint available, I use it. ...
I'm designing a BoosterPack to evaluate GaN devices with the help of a microcontroller. This double post (a+b) documents the PCB layout, specific for significant currency and high switching frequency.     The SchematicThe EVM User Guide has the schematics for this board. I removed the discrete deadband generator and bias voltage provider. The deadband generator is replaced by a connection to Hercules LaunchXLII PWM outputs. The bias will come from that same LaunchPad's 5V power. Her ...
Related Blogs Hercules LaunchPad and GaN FETs - Part 1: Control Big Power with a Flimsy Mouse Scroll Wheel Hercules LaunchPad and GaN FETs - Part 2: Make a BoosterPack Hercules LaunchPad and GaN FETs - Part 3a: BoosterPack Layout - Reference Design Hercules LaunchPad and GaN FETs - Part 3b: BoosterPack Layout - my version Hercules LaunchPad and GaN FETs - Side Note A: BoosterPack Layout - Custom KiCad Parts Hercules LaunchPad and GaN FETs - Side Note B: Look at the PCB Rotary Encoders - Part 1: ...
For a hardware evaluation project I'm working on, I want to create a device that can be controlled via LabVIEW. LabVIEW can talk to instruments using serial out of the box, and it knows how to talk Standard Commands for Programmable Instruments (SCPI).     In this blog I adapt the LabVIEW Virtual Instrument and the firmware to give direct access to the Hercules PWM Time base control registers. You'll be able to independently set all 7 PWM modules that are available on the controlle ...
For a hardware evaluation project I'm working on, I want to create a device that can be controlled via LabVIEW. LabVIEW can talk to instruments using serial out of the box, and it knows how to talk Standard Commands for Programmable Instruments (SCPI).     In this blog I make a LabVIEW Virtual Instrument that turns PWM signals on and off.     LabVIEW Design We'll create a LabVIEW control panel that can toggle PWM output of a Hercules microcontroller. In the previous blog ...
For a hardware evaluation project I'm working on, I want to create a device that can be controlled via LabVIEW. LabVIEW can talk to instruments using serial out of the box, and it knows how to talk Standard Commands for Programmable Instruments (SCPI).     In this blog I build the first hardware command to turn PWM signals on and off.     One Function Handles 7 PWM Modules The first command isn't the easiest one. We'll build a function that can talk to any of 7 available ...