MCP23017 probelm

For general Flowcode discussion that does not belong in the other sections.
Post Reply
max.tisc
Posts: 124
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 10 times

Flowcode v10 MCP23017 probelm

Post by max.tisc »

Hi, I'm referring to a previous post of mine regarding interrupts on the MCP23017 component https://www.flowcode.co.uk/forums/viewtopic.php?t=3107. With the help of Medelec35, the component worked, but now it doesn't. Have there been any updates that have compromised its functionality? Can someone try? I'm connecting it to an STM32F411.
Thanks

medelec35
Matrix Staff
Posts: 2120
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 658 times
Been thanked: 716 times

Re: MCP23017 probelm

Post by medelec35 »

Have you tried redownloading the component I modified.
If hardware still does not then could be a hardware issue.
If your hardware starts working, then I will look into what updates have been applied since I updated the component last.
Martin

max.tisc
Posts: 124
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 10 times

Flowcode v10 Re: MCP23017 probelm

Post by max.tisc »

Hi medelc35
I've looked over my hardware again, but I can't find anything strange. I even removed the MCP23017 board and connected it to another BlackPill STM32F411, but it didn't work. I replicated the same code for an Arduino Nano, but it didn't work either. I also replaced the MCP23017 board with a new one. The strange thing is that the INTA and INTB pins are always low. Shouldn't they be high and go low when a port changes state? I'm attaching the test code.
Thanks.
Attachments
NANO_DIGITAL_FC10.fcfx
(14.8 KiB) Downloaded 2 times

Post Reply