Other Parts Discussed in Thread: CC3220S, CC2650
Tool/software: Code Composer Studio
Hi all,
I recently purchased a CC3220S Launchpad hoping to connect a variety of I2C sensors to a database using MQTT. I can run the MQTT code perfectly OR the I2C code perfectly, but not at the same time (the MQTT takes preference). I know that the MQTT, or at least the SimpleLink Task, requires SPI to operate correctly, but I don't understand why I can't use MQTT AND I2C: the I2C_transfer(...) function blocks, or at least never returns. This link, https://e2e.ti.com/support/wireless_connectivity/wilink_wifi_bluetooth/f/307/t/144950 , indicates that simultaneous I2C and WiFi isn't possible, and while I can possibly work my code around the limitation, it seems ridiculous that the datasheet boasts 8 or so peripherals, yet some cannot be used with the chip's main selling point, SimpleLink.
I am new to TI/RTOS coding, so I could very well be overlooking something simple, but please let me know if there is any standard implementation for running both WiFi/SimpleLink and I2C. This isn't a problem on the CC2650, only the CC3220S.
Any help is appreciated. Thank you!
Blake