SPI on M5dial but i cannot use I2C port
-
Hello all,
right now im developing such a project that requires a two temperature sensor PT1000 and to convert RTD values to signals we are using two MAX31865 which is based on SPI. we are stuck at how to use SPI on m5dial as i cannot use the I2C port's GPIOs so im stuck with only two GPIOs of port B,
The problem arises because we have to write configuration register into the MAX IC which will be done with MOSI. And MISO is used for continous inputs from sensor.
Since there is no real option i am planning to place these on the port B and since we already have used a IO expander via I2C i can put CS for both the ICs on there but the SCLK is a major problem as i would have liked use it on GPIO straight but rather i will have to bit bang it.
Does anyone have any other ideas on how i can implement this?
Thank you.