Other Parts Discussed in Thread: SYSCONFIG
Hi,
When upgrading to SDK 6.10 we noticed that some TI drivers does not configure GPIOs any longer like they used to do. So to make it work our application first has to configure the GPIOs required using GPIO_setConfig before calling the TI driver open function, otherwise it won’t work.
This is true for the following drivers at least
- /source/ti/drivers/spi/SPICC26X2DMA.c
- /source/ti/drivers/uart/UARTCC26XX.c
- /source/ti/drivers/nvs/NVSSPI25X.c (since it is using the SPI driver)
Other TI drivers in SDK 6.10 does handle GPIO configuration using GPIO_setConfig themselves like I2C, PWM so it seems a bit inconsistent between the different drivers. In earlier SDKs (before SDK 5.30) the SPI and UART driver also took care of the GPIO configuration, so this change was introduced in SDK 5.30.
Is this an intentional change in the TI driver behaviour?
BR,
Johannes Kjällquist