updating pinmux, merging memory transfer