small modification to mem and peripherals. burst mode close to be working.