Skip to content
Discussion options

You must be logged in to vote

It still isn't rotating. And it will never rotate because it isn't designed to rotate!
Your single-byte DMA transfer somehow replicates itself to bit positions [31: 24] [23,16] [15:8] [7:0]
Thus you're seeing a (previously unnoticed) side-effect. (data shifting to the right from [15:8]).

Will check the reference manual whether this is intended or not.

EDIT:
Already found it. Page 92.
The DMA performs standard byte lane replication on narrow writes, so byte data
is available in all 4 bytes of the databus, and halfword data in both halfwords.

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
8 replies
@rkompass
Comment options

@rikkenharp
Comment options

@rikkenharp
Comment options

@rkompass
Comment options

@GitHubsSilverBullet
Comment options

Comment options

You must be logged in to vote
1 reply
@rikkenharp
Comment options

Comment options

You must be logged in to vote
1 reply
@rikkenharp
Comment options

Comment options

You must be logged in to vote
3 replies
@GitHubsSilverBullet
Comment options

Answer selected by rikkenharp
@rikkenharp
Comment options

@rkompass
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants