AND another note…
(warning: this may not be in English)
Do you know how freaking long it takes to configure UARTB as a GPIO for the I.mx31 microprocessor? It took me two freaking days to figure how to configure the SW_MUX_CTL register so the pins would be configured properly. And even when I did that, the stupid pin wouldn’t go high on the scope. After banging my head on everything, I went to Mike A, the microprocessor God. We went through everything and it turned out my little program worked great! But due to poor documentation (thank you Freescale), it turned out the General Purpose Register (GPR) needed to be configured too. Guess apparently when UARTB is configured for IrDA mode, the FIR module internal to the chip overrides everything. Including GPIO! I am still trying to figure out why they just didn’t configure the port for IrDA mode through the standard SW_MUX_CTL register, instead of having to dork around with the GPR register. Loordy.
They should at least have some sort of bolded footnote or something saying that if you configure the GPR register for IR, everything else will cease to work. I mean, do they just expect that there is a Mike A in each office?
Loordy.
OK, I’m done.
