Designing Smart Meter and Edge-AI Data Loggers with MRAM