SAM4S & G55 Bare Metal. Should I use the cache?

Discussion around product based on ARM Cortex M4 core.

Moderators: nferre, ncollot

jonavarque
Posts: 29
Joined: Fri Jul 10, 2015 6:35 pm

SAM4S & G55 Bare Metal. Should I use the cache?

Fri Aug 14, 2015 12:06 am

I am working on a project with the SAMs.
It is pretty simple.
I'm using:
USB HID
I2S or SSC transmit from RAM buffers via PDC to UDA1380 CODEC
Serial IO
SPI Flash or NAND(EBI) flash
ADC
Bare metal.

It is all working quite well as far as the scope timings go. I'm trying to squeeze a little more headroom out so I can perform some dsp on the buffers before they go out to the codec.

I have been reading about the cache a little. But it's a bit confusing.

Is there any advantage to turning on the cache for a project like this? I know it is a simple question with many answers but I have to start somewhere.

Return to “SAM4 Cortex-M4 MCU”

Who is online

Users browsing this forum: No registered users and 2 guests