Team
Much appreciated ,a company that listen to its users for many years Thank you for this MATRIX
FLOWCODE 9 MCP23017 PROBLEM
- p.erasmus
- Posts: 434
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
-
- Posts: 140
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi Ben
Getting back to the MCP23017 issue
last Monday you advised
I'll test the component tomorrow when I'm back in the office and have access to the hardware. I've looked again and so far haven't spotted any problems.
Have you made any progress on this
David
Getting back to the MCP23017 issue
last Monday you advised
I'll test the component tomorrow when I'm back in the office and have access to the hardware. I've looked again and so far haven't spotted any problems.
Have you made any progress on this
David
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi David,
Sorry I didn't pick one up when I was there. Annoyed about that.
Is it urgent for you to get this working? If it is then I can head on over and pick one up for you.
Sorry I didn't pick one up when I was there. Annoyed about that.
Is it urgent for you to get this working? If it is then I can head on over and pick one up for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 140
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi Ben
Some time later this week would be okay as appreciate you are likely ultra busy at this time
and I am still anyway battling with another separate issue at present ie ESP32 installation
Best Regards
David
Some time later this week would be okay as appreciate you are likely ultra busy at this time
and I am still anyway battling with another separate issue at present ie ESP32 installation
Best Regards
David
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi David,
I went back into the office for you and picked up the board. However on getting back home I realised I had the MCP23S17 the SPI version and that worked fine as is!!! I'm back in tomorrow so I'll endevour to test while I'm there.
I have looked at the code again and can't find any problems but it's sometimes easier to spot things when you've got the hardware in front of you.
I went back into the office for you and picked up the board. However on getting back home I realised I had the MCP23S17 the SPI version and that worked fine as is!!! I'm back in tomorrow so I'll endevour to test while I'm there.
I have looked at the code again and can't find any problems but it's sometimes easier to spot things when you've got the hardware in front of you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 140
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi Ben
I have been investigating this further on the Arduino UNO using Flowkit 2 tonight
I have been checking the I2C operation using
1 FC9 I2C backpack LCD component which works
2 New FC9 MCP23017 which appears not to work
In simulation mode and linking to the FC9 oscilloscope
Both LCD & MCP23017 simulations provide data pulses on SDA & SCL which is correct
However when run on chip
When LCD is running I see pulses on SDA & SCL as expected
However when running MCP23017 see pulses on SCL but not on SDA
So I expect this should now give you a clue where the issues is within the MCP23017 component
David
I have been investigating this further on the Arduino UNO using Flowkit 2 tonight
I have been checking the I2C operation using
1 FC9 I2C backpack LCD component which works
2 New FC9 MCP23017 which appears not to work
In simulation mode and linking to the FC9 oscilloscope
Both LCD & MCP23017 simulations provide data pulses on SDA & SCL which is correct
However when run on chip
When LCD is running I see pulses on SDA & SCL as expected
However when running MCP23017 see pulses on SCL but not on SDA
So I expect this should now give you a clue where the issues is within the MCP23017 component
David
-
- Posts: 140
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi Ben
Any luck yet
Have again tried running exactly the same program in F8 and F9
MCP23017 still works fine inn F8 but not in FP9
Would like to get this resolved as really need it for my current Project
David
Any luck yet
Have again tried running exactly the same program in F8 and F9
MCP23017 still works fine inn F8 but not in FP9
Would like to get this resolved as really need it for my current Project
David
-
- Posts: 140
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi Ben
Any progress as i am having yo use FC8 until this is fixed
David
Any progress as i am having yo use FC8 until this is fixed
David
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi David,
I've got some chips on order now and they will arrive tomorrow so I'll let you know how I get on.
I've got some chips on order now and they will arrive tomorrow so I'll let you know how I get on.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: FLOWCODE 9 MCP23017 PROBLEM
Hi David,
I just started playing with the MCP23017 according to the datasheet you have to set
Port B in your case to be an OUTPUT, this is done by writing the IODIRB register.
Putting a value of 0 will set the entire Port B to be an Output.
Working fine on the STM32, I hope this helps.
-
I just started playing with the MCP23017 according to the datasheet you have to set
Port B in your case to be an OUTPUT, this is done by writing the IODIRB register.
Putting a value of 0 will set the entire Port B to be an Output.
Working fine on the STM32, I hope this helps.
-
- Attachments
-
- LCD_MCP23017_-TESTR_REV01.fcfx
- (10.95 KiB) Downloaded 191 times