Hi,
Sorry if this sounds basic but my knowledge of hardware is limited.
I'm trying to connect a hall effect sensor to a arduino feather BLE - though using my old Bluefruit Micro as test bed as it has all the pins soldered and is sitting in breadboard.
The board of the sensor has the following diagram
I get that the SCK,MOSI and MISO pins should connect to the relevant pins of the bluefruit/feather. From what I researched the SDA/CSn - SS/ line is the chip select line. I read in another forum post that I can use any GPIO pin for that. The documentation for the sensor says "chip select-active low". So am I right in assuming that if I set whichever GPIO to LOW it will get data from that, and if I set it to HIGH it will not ?
The pinouts page of the bluefruit says
"You can also use the SCK/MOSI/MISO pins with an SPI device as long as it is on a Chip Select line and you disable it when you talk to the BLE module."
Both the feather and bluefruit use Pin 8 as bluefruit CS pin. So my methodology should be, when I need to get data from the sensor I set Pin 8 HIGH, whichever GPIO pin is connected to the SDA Low and when I want to use the bluetooth module I set pin 8 low and whichever GPIO pin is connected to the SDA of sensor low ?
I'm only using the sensor for stepper motor stop detection so I wont be constantly switching between the two, just at initial calibration phase.
Thanks.
Frigby