working chip select and enable to write to ram