expand rs232_init to 3 stages