BBC Posted September 16, 2022 Share Posted September 16, 2022 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 The address is correct but I am unable to open the device and write signal to the DIO and AO. 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 Link to comment Share on other sites More sharing options...
0 Jeffrey Posted September 19, 2022 Share Posted September 19, 2022 What happens when you click on "Open"? Does it display an error? and if so, what is it? Link to comment Share on other sites More sharing options...
0 BBC Posted October 5, 2022 Author Share Posted October 5, 2022 (edited) 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 [...]". Edited October 5, 2022 by BBC Link to comment Share on other sites More sharing options...
Question
BBC
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
The address is correct but I am unable to open the device and write signal to the DIO and AO.
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
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now