Change initial TX output data to the neutral value (0x80).

This commit is contained in:
Jared Boone
2012-06-15 16:14:58 -07:00
parent 59a5b92300
commit e32a60495a

View File

@ -186,8 +186,8 @@ void configure_sgpio_test_tx() {
SGPIO_PRESET(SGPIO_SLICE_A) = 0;
SGPIO_COUNT(SGPIO_SLICE_A) = 0;
SGPIO_POS(SGPIO_SLICE_A) = (0x3L << 8) | (0x3L << 0);
SGPIO_REG(SGPIO_SLICE_A) = 0xFF00FF00; // Primary output data register
SGPIO_REG_SS(SGPIO_SLICE_A) = 0xFF00FF00; // Shadow output data register
SGPIO_REG(SGPIO_SLICE_A) = 0x80808080; // Primary output data register
SGPIO_REG_SS(SGPIO_SLICE_A) = 0x80808080; // Shadow output data register
// Start SGPIO operation by enabling slice clocks.
SGPIO_CTRL_ENABLE =