-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hehe, just found the time to go and look at some of my code, and it's
got this line in it too...

        //Keep on requesting DMA, as long as ADC is running
        ADC_CR2(ADC1) |= ADC_CR2_DDS;

Sorry I didn't get there earlier!



Bernard Mentink <bment...@gmail.com> wrote:
> Hi Guys,
> 
> I found the issue:
> 
> I had to add the following line when setting up the DMA/ADC to allow the
> DMA to re-trigger (it does not do so by default).
> That was the only thing missing from my code to make it work.
> 
> ADC_CR2(adc) |= ADC_CR2_DDS; // Make sure DMA requests happen every
> time.
> 
> Thanks for the help ..
> 
> Cheers,
> Bernie

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVn6r1AAoJEBmotQ/U1cr2QV8QAKXxxOz2p+N6wM8RMLM5Q4en
w7KZ/KcXB/1efJUV9tmBmFoc5ReI4YDSHnCZSZLg7F+soeJBmuRmwkk12k3/DyYD
axJri12pkGMHUmq0f/e6uL07T+xjoRQhXmbE+wicR6WAuunS1LGTCLYqF5v4S7Ak
15Esr24aX7ckPZnVWwm4fRUQchaRkTlcAQC7D6tODaWdB7eHx0cF3IfupF6zJtQU
JE+y3zNEZz3DmDnyAL4hdL5T4M4y2Df4LbYUVJFzCxwunA2JclDs7Naj4ie1sNWv
B+Ajpb4TXaqiRKyafdW6LOFJrYn/DLUhgDcHuDEqz/iaJo5kz6qRNDa0/Gf/SxQf
2nzoxvUrJOk1lF6rLe305/d0yRnCNt3vdGHFfE4rmLKC21pdCdEtt8GGeQ5vOYHs
jAoj0zWRItTG1Fp1L1OqIiboyS4Jrd77zCupC6GRFOF8KtbM3jxgLppXw6mjdYFj
2qfMul0uWBjTQVKB2XgCz9Nf3a9l2XurURvKe1Kl5DlniXRXAKREbu3Z5Md0btaB
FRZOY35/IL7tURmijk+b47IkeZys7xr62CC15DMpU8PncGktrEN8JuoNiFcsO+P2
+TjKmLGlBSnmoKRZj+tc5N0bwEnoIuicNVlhSDsofQQtij9i9XmSbAL8jV+kZMZe
MtBOMSn5pMP/NroQDGFM
=ggtq
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
libopencm3-devel mailing list
libopencm3-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to