cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware bug in STM32F051K8

root
Associate II
Posted on October 05, 2012 at 11:28

Hello,

Did some more tests on my TIM + DMA issue with also atollic to verify it was not the compiler.

I am now pretty sure it is a hardware bug in the STM32F051.

I tried almost every configuration possible, but if you configure the DMA as it is supposed, you end up having the LS byte copied twice and the MS byte discarded.

For example, if the DMA was supposed to copy 0x1234 in DMAR, you end up with 0x3434 in DMAR, and then in the timer final register (DMAR being a DMA buffer for burst copy).

I guess ST doesn't care either ?

Thomas.
4 REPLIES 4
Posted on October 08, 2012 at 16:09

Any code?

JW
zzdz2
Associate II
Posted on October 08, 2012 at 18:07

Does setting DMA MSIZE/PSIZE have any effect on this?

root
Associate II
Posted on October 11, 2012 at 18:12

Hello,

Setting it to halfword or byte doesn't change anything. Setting it to word gets weird effects.

Thomas.

David Littell
Senior III
Posted on October 11, 2012 at 19:36

Perhaps a minimal-line-count test that demonstrates the problem would be helpful.