[Open_electroporator] culture shock ADC and DMA

John Griessen john at cibolo.com
Mon Aug 27 12:43:37 UTC 2018


On 08/27/2018 05:57 AM, Nathan McCorkle wrote:
> I wonder what the pulse way past the tail is


It's probably the stored energy of an odd pulse coming out.   I saw 6 of one, 5 of the other at times.  (push and pull pulses)

Some day I'll rework the use of timers so there is no interrupt happening, just timer hardware outs to other timer triggers
and a push and pull coming out.  Then that sequence can be slaved off another timer edge and you could let it run and get exact 
pulse counts.   Then it would be possible to make any pulse recipe up to the speed limit of the transformer and doubler.

A good use of interrupt service routines would be to tell when a timer sequence is done so you could start another one in a chain.

to modify an already running pulse train, code can poll timer status and write changes to pulse widths only on even time slots, 
(just after a pull pulse), so all push and pull pulses stay equal time.  Equal push and pull time keeps the transformer 
transforming instead of saturating and behaving like a low value resistor.


More information about the open_electroporator mailing list