Hello,
so I am working on a board using the SGTL5000, and I need to change the TX and RX pins for I2S.
My plan is to change them to pins 3 and 4 on a Teensy 3.1.
Since I don't have the hardware yet, I would like to walk through my plan of attack before I order my board.
I plan to copy the input_i2s and output_i2s files and make a new library.
Change output_i2s from:
to:
and also change input_i2s from:
to:
any reason this shouldn't work? is it CORE_PIN4_CONFIG or CORE_PIN04_CONFIG?
anything else I am obviously missing?
Thanks!
so I am working on a board using the SGTL5000, and I need to change the TX and RX pins for I2S.
My plan is to change them to pins 3 and 4 on a Teensy 3.1.
Since I don't have the hardware yet, I would like to walk through my plan of attack before I order my board.
I plan to copy the input_i2s and output_i2s files and make a new library.
Change output_i2s from:
Code:
CORE_PIN22_CONFIG = PORT_PCR_MUX(6); // pin 22, PTC1, I2S0_TXD0
Code:
CORE_PIN3_CONFIG = PORT_PCR_MUX(6); // pin 3, PTC1, I2S0_TXD0
and also change input_i2s from:
Code:
CORE_PIN13_CONFIG = PORT_PCR_MUX(4); // pin 13, PTC5, I2S0_RXD0
Code:
CORE_PIN4_CONFIG = PORT_PCR_MUX(4); // pin 13, PTC5, I2S0_RXD0
any reason this shouldn't work? is it CORE_PIN4_CONFIG or CORE_PIN04_CONFIG?
anything else I am obviously missing?
Thanks!