🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    SPI on M5dial but i cannot use I2C port

    PRODUCTS
    1
    1
    219
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mukul_100_
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post