Skip to content

SPI RAM (SRAM, FRAM, EEPROM) library for inclusion. #4425

@feilipu

Description

@feilipu

https://github.com/feilipu/Goldilocks_Analogue_SPIRAM_Library

This library implements firmware to control SPI SRAM, FRAM, and EEPROM as implemented in the Goldilocks Analogue, a ATmega1284p MCU classic Arduino board.

// DEVICE TYPES
#define FRAM_FM25W256           11//  FRAM       32k x 8 bit
#define FRAM_MB85RS64V          12//  FRAM        8k x 8 bit
#define SRAM_23LC1024           21//  SRAM      128k x 8 bit
#define SRAM_23LC512            22//  SRAM       64k x 8 bit
#define EEPROM_AT25M01          31//  EEPROM 131,072 x 8 bit
#define EEPROM_AT25512          32//  EEPROM  65,536 x 8 bit

// SELECT PORT HARDWARE ASSIGNMENT HERE - WHICH DEVICE ARE YOU USING?
// Comment out (undefine) RAM0 or RAM1 port if you are not using it.
// RAM0 is upper (physical) device on the board (lower address)
// RAM1 is lower (physical) device on the board
#define RAM0        SRAM_23LC1024
#define RAM1        EEPROM_AT25M01

Also provides Ring Buffer support for all memory types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions