Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on SPI modes difference

Parent

SPI modes difference

+1
−0

What is a difference between SPI stream and memory mapped SPI?

PS SPI is a peripheral.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Isn't *"SPI is a peripheral"* misleading? Isn't it the ***interface specification*** [Serial Periphe... (1 comment)
Frank, could you please add a link to the text where you saw these terms? Otherwise, if would be too... (2 comments)
Post
+3
−0

"Stream" and "memory mapped" should be defined in the documentation for whatever microcontroller you are using.

"Memory mapped" can mean different things. It might be just a different way of saying DMA, meaning the peripheral gets and puts data directly to memory buffers without code intervention. Another completely different meaning is that external I/O sources and destinations appear in the memory space, as opposed to there being a separate I/O space. Memory mapping versus an I/O space are two different ways of giving code access to particular addresses on external busses.

"Stream" can also mean many things. When used in opposition to "memory mapped", I can only guess that it means something like programmed I/O as opposed to DMA.

Again, the only real answer is in the datasheet for your particular microcontroller.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

I am studying DMA blocks in VIVADo which I can use as a "connector" between SPI slave/master and CPU.... (1 comment)
I am studying DMA blocks in VIVADo which I can use as a "connector" between SPI slave/master and CPU....
FrankLEE‭ wrote over 3 years ago

I am studying DMA blocks in VIVADo which I can use as a "connector" between SPI slave/master and CPU. I found DMA and CDMA blocks, the first one is stream connection, the second one is a memory mapped. i am looking for which the best solution is for my design .