Page 1 of 1

Port Expander Library issue ?

Posted: 26 Feb 2021 20:41
by kentar
Hi all. At July 2018 made a project with STM32F407VGT6 and I used Mikropascal 6.0 .
In my code i used 5 Port Expanders MCP23S17 SPI . Eyerything worked fine.
I had to make some modifications in Graphical Interface (FT800) and I recompiled the code with version 6.1 and 6.2
Port expanders are on other PCBs and connect with controller board with ribbon cables.
When I connect more than 3 expanders they do not operate normally. To be more specific device with address 7 does not
''listen'' commands. I checked everything before compile the new code with version 6.0 again.
Hex file generated from version 6 compiler works . Hex file generated from version 6.1 or 6.2 does not work!
Both hex files are compiled from same source code.
It seems that something is going on with port expander library when using multiple mcp devices...

Re: Port Expander Library issue ?

Posted: 10 Mar 2021 13:54
by filip
Hi,

Can you please send the minimal project that demonstrates this issue ?

Regards,
Filip.