cancel
Showing results for 
Search instead for 
Did you mean: 

bug report: problem with 4 Channel output compare mode of TIM2

cqz98
Associate II
Posted on December 20, 2013 at 06:53

I used STM32F407 to generate pulse output in 4 channel of TIM2 , these 4 channels are configured in output compare mode and toggle mode, which compare value are DMA transfered. Every channel works fine when working indepently, but the 4th channel output becomes bad when these 4 channels work simultaneously. 

In my project, every channel have 4 compare value in one timer period, it seems 4th channel DMA only transferred 2 value for comparision.

Does any have ideas?  Thanks a lot! 0690X00000602qIQAQ.jpg

2 REPLIES 2
cqz98
Associate II
Posted on December 20, 2013 at 07:01

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6dT&d=%2Fa%2F0X0000000bsC%2F9yNmnuJtQBgex8tHh4K0EJEG7q5AzgD1E1yUdrJYUK0&asPdf=false
cqz98
Associate II
Posted on December 20, 2013 at 07:51

I looked into the DMA registers, the NDTR register of DMA1_Stream7(corresponding to 4th channel) becomes 2, while other channels is 4. This value seems corrupted by hardware internally. Will it be STM32F407 serious MCU's hardware bug?  I tried STM32F407IG and STM32F407ZG, the bug exists in both model chip.