Skip navigation
We know that it's tough to talk to the fuel gauge chip on the Fuel Tank BoosterPack. Its I2C interface is sensitive to right timings. I tested the communication with a Dangerous Prototypes Bus Pirate, and captured some question-reply sequences with a logic analyzer. It's now time to get it working in the final setup: with a Texas Instruments Hercules Safety microcontroller       The end-game of my project is to power a Hercules safety project with a LiPo battery. The Fuel Ta ...
We know that it's tough to talk to the fuel gauge chip on the Fuel Tank BoosterPack. Its I2C interface is sensitive to right timings. The Dangerous Prototypes Bus Pirate is famous for its sturdy communication prototyping capabilities. Before I test the Fuel Gauge IC in my own design, I want to test out the communication, and capture some question-reply sequences with a logic analyzer.     In this first post I tried out the I2C communication with a Bus Pirate. This time I will cap ...
We know that it's tough to talk to the fuel gauge chip on the Fuel Tank BoosterPack. Its I2C interface is sensitive to right timings. The Dangerous Prototypes Bus Pirate is famous for its sturdy communication prototyping capabilities. Before I test the Fuel Gauge IC in my own design, I want to test out the communication, and capture some question-reply sequences with a logic analyzer.       In this first post I will try out the communication via I2C, and I'll list some Bus Pi ...
devbisme announced his KiPart utility recently (KiCAD lovers, check out KiPart). Here's my write-down of the first trial.   I took a part that was lying on my desk. It's a 9-pin LMG5200 GaN chip. I opened the datasheet and copied the pin assignments   I pasted that in a spreadsheet, and cleaned it up. I added additional info for the KiPart utility.   I saved the file as a csv, and executed the utility.     And that was it. I ended up with a new symbol that I ...
If you're using KiCad,  and you agree with devbisme that the native library editor of kicad sucks donkeys, check out his KiPart utility.     No more clicking and digging through dialogs. Just use a spreadsheet to define the name and number of each pin, and where you want to have them on your part. The command line tool takes care that the part ends up in your library of choice.     Download: https://github.com/xesscorp/KiPart Doco: https://kipart.readthedocs.o ...
In this blog I'm using a scroll wheel from a defunct mouse to control a GaN power stage.     A Hercules LaunchPad has the duty to read the scroll wheel and drive the GaN. I'm controlling a humble 15 watt incandescent lamp here, but we wouldn't have to change a single line of code to control a 500 watt motor.       Goal  I'm trying to control high powers with a jellybean scroll wheel. Scrolls wheel are common these days. You find them in your mouse - between the l ...
I've upgraded my PC from Windows 8.1 to Windows 10, and checked to see if my Texas Instruments Hercules tool chain still works.   I'm using Code Composer Studio 6.1.0. I've done a full build and debug cycle and that worked ok. I've also tested if I could update one of the CCS modules, and that completed successful.   My HALCoGen is version 04.05. I've made it generate device initialisation code, and that worked fine too.   So far so good. If something pops up later, I'll d ...