Feb 26, 2019
06:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 26, 2019
06:43 PM
Hi all,
I would like to use only SRAM for the DMA transfer destination area and heap area.
Is it possible? and, is there a problem?
I would like to use only SRAM for the DMA transfer destination area and heap area.
Is it possible? and, is there a problem?
- Tags:
- IFX
1 Reply
Feb 26, 2019
10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 26, 2019
10:12 PM
You mean you don't want to put anything else into SRAM? Seems impossible, at least the stack needs to be put there.
If you need a separate RAM region for your DMA transfer buffer and heap, consider that the XMC4800 states three separate RAM regions, see sections in linker script:
If you like, place heap and DMA into on of those sections manually.
If you need a separate RAM region for your DMA transfer buffer and heap, consider that the XMC4800 states three separate RAM regions, see sections in linker script:
PSRAM_1(!RX) : ORIGIN = 0x1FFE8000, LENGTH = 0x18000
DSRAM_1_system(!RX) : ORIGIN = 0x20000000, LENGTH = 0x20000
DSRAM_2_comm(!RX) : ORIGIN = 0x20020000, LENGTH = 0x20000
If you like, place heap and DMA into on of those sections manually.