The output structure of the GPIO for I2C needs to be open
drain. When left at the default, one can observe on a scope
the slave contending with the push-pull during the ACK
The output structure of the GPIO for I2C needs to be open
drain. When left at the default, one can observe on a scope
the slave contending with the push-pull during the ACK
The output structure of the GPIO for I2C needs to be open
drain. When left at the default, one can observe on a scope
the slave contending with the push-pull during the ACK
The output structure of the GPIO for I2C needs to be open
drain. When left at the default, one can observe on a scope
the slave contending with the push-pull during the ACK
New interface allows checking if RTC time has been set. This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
Add serial init to centralize UART/LPUART management
Use kinetis_ not up_ where arch specific
Defined kinetis_[lp]uart_[early]serialinit to facilitate
bring up both UARTs and LPUARTs as devices and a console
Support ordering and merging of serial devices names.
1) Removed SIM_CLKDIV2[USBFRAC, USBDIV] setting as it is now
done in kinetis_clockconfig
2) Use BOARD_USB_CLKSRC to select the clock source to the
USB block
3) Removed warning
4) Removed CONFIG_TEENSY_3X_OVERCLOCK from the driver as
the board.h will now provide BOARD_SIM_CLKDIV2_USBDIV
and BOARD_SIM_CLKDIV2_USBFRAC to the kinetis_clockconfig
If a board.h provides BOARD_SIM_CLKDIV2_FREQ it will configure the
SIM_CLKDIV2 based on the additional provided
BOARD_SIM_CLKDIV2_USBFRAC and BOARD_SIM_CLKDIV2_USBDIV
The reason for doing this globaly is that the output the
SIM_CLKDIV2 divisor may be also used for other IP blocks in
future configurations (as is done for SIM_CLKDIV3)
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.