added 2 baud rates: 500000 and 512000 bits/s