Other Parts Discussed in Thread: MSP430FR6041, MSP430WARE, , MSP430FR5043, MSP430FR5041, TEST2
Dear Community,
I want to store 200 bytes of data in my FRAM. Two 8-byte data and one 32-byte data.
Using driverlib, I am trying to write a FRAM program.
FRAMCtl_write8(uint8_t *dataPtr,uint8_t *framPtr,uint16_t numberOfBytes);
FRAMCtl_write32(uint32_t *dataPtr,uint32_t *framPtr,uint16_t count);
I am not getting any example programs for the above FRAM functions. From where do I get the example code?
Already, 00009562 bytes have been used, and I want to use the last 200 bytes in the remaining unused 00000a1e bytes.
To find out the starting address of the unused data, I used the below formula.
Starting Address of Unused Memory: Origin + Used = 0x00006000 + 0x00009562 = 0x0000F562.
Starting Address of last 200 bytes Memory= end address + 200byte = 0x0000FF80 - 0xC8 = 0x0000FEB8 to start storing your data in the last 200 bytes of FRAM.
- First 8-byte data: 0x0000FEB8 to 0x0000FEBF
- Second 8-byte data: 0x0000FEC0 to 0x0000FEC7
- 32-byte data: 0x0000FEC8 to 0x0000FEE7
Is the above memory calculations are correct?
Please suggestion where can I read the example code for the FRAM implementation?
Regards,
Sarwath