I am struggling to get hardware serial working with my maple mini. I am trying to drive a shift register with the USART2 peripheral, but I need to be able to drive the register's clock. I am using USART2 which should have TX/RX on D09 and D08, with CLK on D07. I have tried manipulating the control register for USART2 to enable the clock, but nothing seems to work. If I set the D07 pinmode to output, it goes logic low and never changes when data is being transmitted. If I do not set pinMode for D07, then the pin goes highZ and never changes.
Surely I am overlooking something simple. It seems retarded that I would need to bitbang a simple serial peripheral if I need the clock signal out of it. I cannot use my SPI peripherals for this since they are already being used (analogIn for SPI1, and digitalIn on pins 28 and 29 due to needing the 5V tolerant pins).