STM32F407 FSMC synchronous burst AHB size?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-04-30 2:02 AM
Posted on April 30, 2013 at 11:02
Hi.
I have a problem with FMSC. I want to use FSMC single synchronous burst transfer with PSRAM. The memory has a 16bit data width and i read into ref. manual that ''When the selected bank is configured in synchronous burst mode, if an AHB single-bursttransaction is requested, the FSMC performs a burst transaction of length 1 (if the AHB
transfer is 16-bit), or length 2 (if the AHB transfer is 32-bit) and de-assert the chip select
signal when the last data is strobed.''.
Can I choose the AHB size or it is fixed to 32bit?
Best regards Przemek #stm32f4-fsmc-psram
Labels:
- Labels:
-
FMC-FSMC
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-04-30 4:01 AM
Posted on April 30, 2013 at 13:01
It is the AHB master - usually the processor (more precisely the processor-bus interface), but also the DMA controller, for example - who determines the transfer width.
In other words, if the processor performs a halfword read or write, the transfer width is 16-bit, if a word read/write, the transfer width is 32-bit (provided the transfers go from/to apropriately aligned addresses). Normally, this directly translates to reads/writes from/to 16/32-bit variables allocated to the FSMC address space, in C. JWOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-04-30 4:26 AM
Posted on April 30, 2013 at 13:26
Thanks for reply.
So when I use the forumla which return a 32bit value the AHB is 32bit, otherwise when return value is 16bit the AHB is 16bit.Best regards Przemek