On Wed, 15 Jan 2014, Frank Duignan wrote:
# There are a number of options available to Tim2 - A good read of the
reference guide is required. Alternatively, if you just want a periodic
interrupt why not use systick - it is
# much simpler (doesn't even require ack'ing the irq)
For the project in question I need pretty high speed and very
accurate timings; this sample is just to get things in hand .. objective
complete I guess.. learned a nasty :)
Last thing I need to sort out is.. although setting to 120MHz, the
timings actually feel half that.. so probably some scaling or something in
the timer; once I get that wrinkle out, I'm in the busines.
Porting over a basic VGA display and sprite/character-set library
from avr8 to stm32. The avr8 jhust wasn't fast enough to keep resolution
and colour up, nor had enough RAM for a framebuffer. The STM32 F2 and F4
are far more beefy and can handle bit banging various video protocols no
problem.. as long as you can keep your timing straight :)
jeff
--
If everyone would put barbecue sauce on their food, there would be no war.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
libopencm3-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel