Latest Entries »

So, I have finally gotten around to writing something again!

I have recently been working on a board that is using an FTDI FT2232H as the interface between an FPGA and USB interface. The requirement is simple, get data from FPGA to USB as fast as possible.

I have encountered some problems getting the FTDI chip to work properly in this mode.  Whilst the datasheet is reasonably good, and the application note on exactly this mode is concise (but logically correct) I kept on running into problems with the TXE# pin not going low, to permit data to be written to the internal FIFO.  All my software tweaks yielded nothing – the head banging was strong!  I put pen to paper and started writing my support email to the people at FTDI, working my way through the data sheet to explain what I had done.  All of the control lines were pulled in the correct directions. And then I found it, that crucial text: “Tie this pin to VCCIO if not used.

It turns out that that instruction is important when applied to the SIWU pin. Take heed.  As soon as the HDL code was modified to pull this line up – presto! It works!

image

image

It can be done! This requires a new 2032 size battery, a sharp knife, small screwdriver and a bit of patience. See the photos for more details.

One of my other hobbies is photography, and whilst I don’t spend as much time with the camera as I would like  I still like to have plenty of power. I shoot with a 30D and/or 40D, which uses the old style BP-511/A Canon battery.  The dilemna I had is that I would like to power my camera from a 12-14V source (such as a SLA battery) to get plenty of juice, but I need to provide the requisite 7.4V expected from the battery. There are two aspects to this – electronic compatibility and mechanical compatibility.  Luckily the electronic compatability is easy (at least on the older models – I can’t speak for the new ones) as you just need to provide the expected 7.4V.  Mechanically I looked at a few options such as custom fabrications, but in the end I just settled for the tried and true “crack open a battery that no longer works”.

BP-511A Casing after removing cells and control board.

Daniel McCauley of http://www.easternvoltageresearch.com/ used to have a wonderful document that listed the current draw of a 300D when operating in different conditions.  Whilst the document has long gone online, I recall that the peak current was in the range of about 1A, albeit for very short periods.  It does however provide a rough estimate of the currents involved.  I credit him with the original idea behind doing this as well!

Whilst the original design Daniel provided used a standard linear regulator, I figured that the size of switch mode supplies had decreased enough such that it should be possible to mount an entire DC/DC converter inside the battery compartment.  This way I can feed in any (reasonable) voltage and the camera will operate happily.  Being a touch lazy (and enjoying other things then power supply design) I just grabbed a module off the shelf that was small, and had what I thought would be acceptable specifications (lowish ripple, high efficiency).  I settled on the TI PTN78000W module (in the surface mount variety).  It was then just a matter of designing a rudimentary board around it that contained a protection diode as well as some input and output filtering. If you would like a copy of the schematic feel free to contact me!

Testing the new DC/DC converter board for fit - and it does!

I opted to get this board professionally made as I wanted a nice reliable final product that worked in some pretty horrid conditions (cold, dampy, hot, dusty – all the usual suspects!).  It was then time to get the hot plate out and do some soldering:

The board is assembled except for 3x 2.2uF 0805 caps (and the cable connectors!).

And that is where this first post ends – I need to order some caps that I apparently don’t have in my junk box.  I’ll post again once it is assembled and tested.

Note: I did contemplate purchasing a non genuine one from eBay, but I liked the idea of having something that I knew was a bit more reliable. Ironically enough I trust my own fabrications more when connected to expensive equipment then the really cheap knockoffs.

 

Some of the undertakings demonstrated on this website are dangerous and should not be attempted by unskilled persons.
I take no responsibility for any damage done to persons, property or relationships as a result of this information.
Information is provided on the understanding that it is correct, but without any such warranty.
Any undertakings based on the contents of this site are done so at your own risk.