store data to FRAM use a subfunction called store_singlechannel