2019-04-17 09:15 AM
Hello,
I am looking to prototype a project. I will need I2C, SPI and UART. I2C for some ST sensors/gas gauge, SPI for sd card and UART for RS485. Is it possible to use SPBTLE-1S, to run both host applications and bluetooth.
Thanks for your help
2019-04-18 03:34 AM
I am slightly confused by the datasheet.
https://www.st.com/resource/en/datasheet/spbtle-1s.pdf
The GPIOs can they be set at different modes. For example, can i set module pin 3/4 for UART_RX and TX, (mode 001) and at the same time use module pin 15, 16, 17, 18 for SPI (mode 100)
Thanks you
2019-04-21 08:04 PM
Hi Sam,
Yes, it is possible.
Register MODE0 (offset 0x2C) is for IO0 - IO7, so to configure
please set MODE0 as below
set MODE0 = 0x00114444
Best Regards,
Winfred