AnsweredAssumed Answered

kea8 pin configuration

Question asked by Tim Barry on Jun 23, 2015
Latest reply on Jun 26, 2015 by Tim Barry

I've probably missed something obvious, but I'm struggling to get my head round the pin configurations for the KEA8. With other processors, like the KL25, every pin has a port pin control register which has a MUX field (e.g. 0 for GPIO, 1 for UART etc). In the KEA8 manual, it has a table of alternative functions, but there doesn't appear to be a MUX field for each individual pin. The SIM_PINSEL register seems to allow for a UART and I2C to connect to the same pin at the same time (i.e. by setting UART0PS to 1 and leaving I2C0PS cleared), but surely this can't be right? The table on page 134 of the reference manual also says that the majority of the pins default to analog inputs, but analog functions aren't even listed in the SIM_PINSEL register, and neither are GPIO. So how, for example, can I set PTA6 to be GPIO?

Outcomes