Jump to content

BBC

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by BBC

  1. I tested the hat against another RPI (3B) and it's working fine. I think the original RPI (4B) that I used was defected.

    I had another hat stacked (RPI CAN Hat shield) along with the MCC-152 and that might have messed up the SPI pins...

     

    Thanks for the reply though. 

     

    BTW there was no error message and no response if I tried to open the device from the GUI program. 

     

    If I tried to run the python program I get a message "Error during opening port [...]". 

     

     

  2. SPI and I2C are both enabled. When I run the MCC DAT HAT Manager it is able to detect the MCC 152 from the List devices 

    image.png.51cd1479da0258fdcc2f117d20400a00.png

     

    The address is correct but I am unable to open the device and write signal to the DIO and AO. 

    image.png.da10ae229f505fd920771bc96252a92d.png

    Is there anything I am missing? I am running the latest Raspbian on Pi 4 with Python 3 installed. 

    Is there anything I can check or probe on the HAT to verify it is working? 

    Thank you. 

    Leon

     

×
×
  • Create New...