Skip to main content
root
Associate III
October 5, 2012
Question

Hardware bug in STM32F051K8

  • October 5, 2012
  • 4 replies
  • 800 views
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.
    This topic has been closed for replies.

    4 replies

    waclawek.jan
    Super User
    October 8, 2012
    Posted on October 08, 2012 at 16:09

    Any code?

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

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

    root
    rootAuthor
    Associate III
    October 11, 2012
    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 II
    October 11, 2012
    Posted on October 11, 2012 at 19:36

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