I want to use this board with the ESP32 module as the main MCU and while I was reading the documentation, trying to figure out all the pins that are connected between it and the SAM MCU, I found some conflicting information:
DATASHEET:
GPIO19 is connected to PA12 (Pin 21), which is also connected to GPIO12
GPIO22 is connected to PB11 (Pin 20 / D3)
LSM6DSL in the Features section and LSM6DSOXTR in the Board Topology section (which doesn't look at all like the real board).
SCHEMATIC
GPIO19 is connected to PA14, which is also connected to GPIO5
GPIO22 is connected to PA15, which is also connected to GPIO18
LSM6DS3TR
GPIO19 is UART_CTS and GPIO22 is UART_RTS of ESP32.
The webpage and library also say LSM6DS3, but 3 different IMUs have been stated (DS3, DSL, DSOX), with different (even if similar) datasheets. (I know TR probably refers to the tape-reel packaging).
The more important part was related to the connected pins, as I want to get an idea of what I can use. I haven't tested them by setting and reading each pin yet, but the conflicts still remain. Hopefully I got everything right, but can someone doublecheck?
I am aware mistakes can easily make their way anywhere, I just want to get those things clarified so I can continue with my project.
then pin numbers are mapped to port pins in variant.cpp
nina-fw has
SPISClass(spi_host_device_t hostDevice, int dmaChannel, int mosiPin, int misoPin, int sclkPin, int csPin, int readyPin);
SPISClass SPIS(VSPI_HOST, 1, 12, 23, 18, 5, 33);
Yes, I was aware of the communication protocols, I was asking about the two pins that are marked as UART RTS and CTS.
Pin 21 is PA12 and Pin 20 is PB11, which is D3.
the PA14 and PA15 can be used as RTS and CTS for Serial communication with the Nina module. ArduinoBLE library uses Serial. WiFiNINA library uses SPI. BLE and WiFi can't be used at the same time.
ArduinoBLE uses this from variant.h
extern Uart SerialHCI;
Not (only) that...
The fact that, again, those GPIO are mapped in the table to physical pins 20 and 21 of the SAM D21 MCU, corresponding to PA12 and PB11.
I contacted official support, just wanted to make sure I was not mistaken, but yeah...