Skip to main content
Senior
April 18, 2024
Solved

Bus sharing

-Hi, wanted to know, how to go about having a parallel bus shared by microcontroller and fpga. 

-fpga and microcontroller both r/w from external sram over the same bus.

1. What should be the configs for microcontroller : fsmc in memory to memory with DMA2 burst?

2. Will fpga and microcontroller both be masters in the bus. how can writing only 1 device is handled?

please check 

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
April 22, 2024

The MCU isn't going to share or arbitrate the bus.

Put whatever logic you need to manage things in the FPGA

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

4 replies

GauravKAuthor
Senior
April 21, 2024

I'm reading about fsmc, parallelly wanted to know about the implementation from experts.  

Also the idea is to directly pass sram data to lcd (on a different interface) rather than having whole data in internal memory.

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
April 22, 2024

The MCU isn't going to share or arbitrate the bus.

Put whatever logic you need to manage things in the FPGA

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
GauravKAuthor
Senior
April 22, 2024

Thanks. Does arbitration in FPGA double the I/O's requirement for parallel bus?

Please can I know any reference diagram

GauravKAuthor
Senior
April 23, 2024

Closing this thread.... Will try soon and come up with queries soon...