MB85RC256V

MB85RC256V is a 32,768words × 8 bits FeRAM (Ferroelectric Random Access Memory) chip manufactured by FUJITSU SEMICONDUCTOR MEMORY SOLUTION. This posting will provide the OSS-ECAL(Open Source Software for Electronic Components Abstraction Layer) for MB85RC256V .
MCU interface : I2C

CAUTION:Please be sure to refer to the latest version of the Datasheet prior to actual design.

MB85RC256V

General description

The MB85RC256V is an FeRAM (Ferroelectric Random Access Memory) chip in a configuration of 32,768
words × 8 bits, using the ferroelectric process and silicon gate CMOS process technologies for forming the
nonvolatile memory cells.
Unlike SRAM, the MB85RC256V is able to retain data without using a data backup battery.
The read/write endurance of the nonvolatile memory cells used for the MB85RC256V has improved to be
at least 1012 cycles, significantly outperforming other nonvolatile memory products in the number.
The MB85RC256V does not need a polling sequence after writing to the memory such as the case of Flash
memory or E2PROM.

Feature
  • Bit configuration : 32,768 words × 8 bits
  • Two-wire serial interface : Fully controllable by two ports: serial clock (SCL) and serial data (SDA).
  • Operating frequency : 1 MHz (Max)
  • Read/write endurance : 1012 times / byte
  • Data retention : 10 years ( + 85 °C), 95 years ( + 55 °C), over 200 years ( + 35 °C)
  • Operating power supply voltage : 2.7 V to 5.5 V
  • Low-power consumption : Operating power supply current 200 μA (Max @1 MHz) Standby current 27 μA (Typ)
  • Operation ambient temperature range : − 40 °C to + 85 °C
  • Package : 8-pin plastic SOP (150mil), 8-pin plastic SOP (208mil), Both are RoHS compliant

OSS-ECAL specification

API Function

This product provides the following command API functions.

etSTS oMB85RC256V_BYTE_WRITE( etCMP cmp, uint16 mem_adr, uint8 val )

Return value
Parameter IN

etSTS
etCMP cmp
uint16 mem_adr
uint8 val

OSS-ECAL status code
OSS-ECAL Components number codes
Memory address
Write data

Feature :
Command API function to write the value of val to the address specified by mem_adr.

Process :
1. Writes the value of val to the address specified in mem_adr.

Return value :
eSTS_FIN
eSTS_ERR_PARAMETER
eSTS_ERR_HAL_I2C
eSTS_ERR_OTHERS_RUN
eSTS_ERR_I2C_OBJECT


NOTE :

etSTS oMB85RC256V_PAGE_WRITE( etCMP cmp, uint16 mem_adr, uint16 len, uint8* buf )

Return value
Parameter IN

etSTS
etCMP cmp
uint16 mem_adr
uint16 len
uint8* buf

OSS-ECAL status code
OSS-ECAL Components number codes
Memory address
Number of bytes to write
Data buffer to write

Feature :
Command API function that writes values from buf[0] to buf[len-1] in order from the address specified in mem_adr.

Process :
1. Write values from buf[0] to buf[len-1] in order from the address specified in mem_adr.

Return value :
eSTS_FIN
eSTS_ERR_PARAMETER
eSTS_ERR_HAL_I2C
eSTS_ERR_OTHERS_RUN
eSTS_ERR_I2C_OBJECT


NOTE :
If mem_adr + len > 0x7fff, the address rolls over to 0x0000.

etSTS oMB85RC256V_CURRENT_READ( etCMP cmp, uint8* rlt )

Return value
Parameter IN
Parameter OUT

etSTS
etCMP cmp
uint8* rlt

OSS-ECAL status code
OSS-ECAL Components number codes
Read data

Feature :
Command API function to read 1Byte value from the last Read or Write address +1 and save it to rlt.

Process :
1. Read 1Byte value from the last read or write address +1 and save it to rlt.

Return value :
eSTS_FIN
eSTS_ERR_PARAMETER
eSTS_ERR_HAL_I2C
eSTS_ERR_OTHERS_RUN
eSTS_ERR_I2C_OBJECT


NOTE :
If the last read or write address + 1 > 0x7fff, the address will roll over to 0x0000.

etSTS oMB85RC256V_RANDOM_READ( etCMP cmp, uint16 mem_adr, uint8* rlt )

Return value
Parameter IN

Parameter OUT

etSTS
etCMP cmp
uint16 mem_adr
uint8* rlt

OSS-ECAL status code
OSS-ECAL Components number codes
Memory address
Read data

Feature :
Command API function that reads 1 Byte worth of value from the address specified in mem_adr and saves it to rlt.

Process :
1. Read 1Byte worth of value from the address specified in mem_adr and save it to rlt.

Return value :
eSTS_FIN
eSTS_ERR_PARAMETER
eSTS_ERR_HAL_I2C
eSTS_ERR_OTHERS_RUN
eSTS_ERR_I2C_OBJECT


NOTE :

etSTS oMB85RC256V_SEQ_READ( etCMP cmp, uint16 mem_adr, uint16 len, uint8* buf )

Return value
Parameter IN


Parameter OUT

etSTS
etCMP cmp
uint16 mem_adr
uint16 len
uint8* buf

OSS-ECAL status code
OSS-ECAL Components number codes
Memory address
Number of bytes to read
Data buffer to read

Feature :
Command API function that reads sequentially from the address specified in mem_adr and saves from buf[0] to buf[len-1].

Process :
1. Read in order from the address specified in mem_adr and save from buf[0] to buf[len-1].

Return value :
eSTS_FIN
eSTS_ERR_PARAMETER
eSTS_ERR_HAL_I2C
eSTS_ERR_OTHERS_RUN
eSTS_ERR_I2C_OBJECT


NOTE :
If mem_adr + len > 0x7fff, the address rolls over to 0x0000.

etSTS oMB85RC256V_DIAG_ID( etCMP cmp )

Return value
Parameter IN

etSTS
etCMP cmp

OSS-ECAL status code
OSS-ECAL Components number codes

Feature :
Command API function to diagnose Manufacture ID and Product ID.

Process :
1. Read the Manufacturer ID and Product ID.
2. Returns the comparison result of Manufacture ID = Fujitsu Semiconductor (0x00A) and Product ID = 0x510 as the return value.
True … eSTS_FIN
False … eSTS_ERR_DIAG

Return value :
eSTS_FIN
eSTS_ERR_DIAG
eSTS_ERR_HAL_I2C
eSTS_ERR_OTHERS_RUN
eSTS_ERR_I2C_OBJECT


NOTE :

etSTS oMB85RC256V_WP_EN( etCMP cmp )

Return value
Parameter IN

etSTS
etCMP cmp

OSS-ECAL status code
OSS-ECAL Components number codes

Feature :
Command API function to write protect enable (write disable).

Process :
1. Write protect output as “Hi”.

Return value :
eSTS_FIN
eSTS_ERR_GPIO_OBJECT


NOTE :

etSTS oMB85RC256V_WP_DIS( etCMP cmp )

Return value
Parameter IN

etSTS
etCMP cmp

OSS-ECAL status code
OSS-ECAL Components number codes

Feature :
Command API function to write protect disable (write enable).

Process :
1. Write protect output as “Low”.

Return value :
eSTS_FIN
eSTS_ERR_GPIO_OBJECT


NOTE :

Files
Folder*Filesummary
MB85RC256V_HALNAME/samplesample.c (.cpp)Sample Application Program
sample.hSample Application Header
MB85RC256V_HALNAMEoMB85RC256V.c (.cpp)OSS-ECAL Program for MB85RC256V
oMB85RC256V.hOSS-ECAL Header for MB85RC256V
oss_ecal.hOSS-ECAL Common Header (Ver 01.01.00 or later)
user_setting.c (.cpp)Const and Table of User setting
user_setting.hHeader of User setting
oHAL_i2c_stm32f4.cHAL Program for STM32Cube FW_F4
oHAL_i2c_stm32f4.hHAL Header for STM32Cube FW_F4
readme.mdReadme
OSS-ECAL Terms of Use.txtOSS-ECAL Terms of Use

* For HALNAME, please refer to HAL Support.

HAL Support List
MCU/Board
manufacturer
HALMCU*Development environment*HALNAME
ArduinoArduino 1.8.6ATmega2560
ATmega328P
Mega 2560 Rev3
Arduino Pro Mini 3.3V
ARDUINO
ARMMbed 6.17.0STM32F401RETxSTM32 Nucleo-64 boardsMBED
InfineonModusToolbox HAL Cat1 2.4.3CYBLE-416045-02CY8CPROTO-063-BLE PSoC 6 BLE Prototyping KitModusToolbox
NXPMCUXpresso SDK
iMXRT1051B_1052B
ksdk2_0
CYBLE-416045-02IMXRT1050-EVKBiMXRT1051B1052B
STMSTM32Cube FW_F4 V1.27.1STM32F401RETxSTM32 Nucleo-64 boardsSTM32F4

* MCU and development environment at the time of development. Even if the same HAL is used, different MCUs and development environments may not work together.

OSS-ECAL Download

Please login before downloading. To register as a new user, please click here.

“ABC.zip was blocked because this type of file can harm your device.” in Microsoft Edge.

If you are unable to download the File, please contact us and let us know the model number and HAL type. We will send you the file as an email attachment.

Built-in How to

Please refer to the following to incorporate API functions into your user program.

Pin A0, A1, and A2 should be set with the following code in user_setting.h.

// Device address Code bit2:A2, bit1:A1, bit0:A0
#define MB85RC256V_1            0b00000111

For Infineon ModusToolbox HAL, set the I2C Timeout setting with the following code in user_setting.h. For details, see cyhal_i2c_master_write(), cyhal_i2c_master_read() Parameters timeout.

#define I2C_TIMEOUT             10U     // Timeout[ms] 

For STM32Cube FW_F4 HAL, I2C Timeout time is 25ms.

Note :
For the following command API functions, the Timeout time varies depending on the Read/Write data length len.
etSTS oMB85RC256V_WRITE_PAGE( etCMP cmp, uint16 mem_adr, uint16 len, uint8* buf )
etSTS oMB85RC256V_READ_SEQ( etCMP cmp, uint16 mem_adr, uint16 len, uint8* buf )

How to incorporate OSS-ECAL into user programs

How to incorporate multiple OSS-ECALs in a user program (same MCU function)

How to incorporate multiple OSS-ECALs in a user program (different MCU function)

How to incorporate multiple identical electronic components into a user program

How to reduce the impact on user programs by replacing electronic components

OSS-ECAL English
error: Content is protected !!