From the course: C Programming for Embedded Applications

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Memory

Memory

- [Instructor] Memory is one of the elements we care about in embedded systems, because it is often very limited, but this limitation is not a bad thing. Actually manufacturers design their microcontrollers with a small memory because digital controlled programs are usually fine with just a few variables. Smaller memories use less area in the chip. This means that the chip will cost less, plus it will use less energy. An additional benefit often overlooked is that a memory much smaller than 64 kilobytes helps keep addresses shorter, up to 16 bits. Plus this prevents the need for a more complicated schemes, such as a virtual memory. Let's see the amount of RAM available in some popular microcontroller units or MCUs. First we have a member of the Kinetis KL series by NXP. This is an ARM Cortex M0+ CPU. This one has 16 kilobytes of RAM. This is not enough to store the incoming message sound in your smartphone, which is a very…

Contents