After installing FC V1.3 i got following Bugs.
-->UART1 INT no function. Same Error like FCV 1.2 (reported in 2015).
--> SPI MAster Mode 0,3 Pin clocking failure:
- SPI communication to MCP23S17 is OK.
- SPI communication to WIZnet W5100 or WIZnet W5500 not possible, because the single bits are
in Mode 0 and 3 not clocked in/Out correctly (via SPI Master Interface). (use logic analyser)
- When I insert in an empty Programm the WIZ810MJ TCP/IP or Webserver Components, communication is not possible too.
--> Because of the SPI Bug many Components (like WIZ810MJ TCP/IP or Webserver) wich
are part of Flowcode Professional are not available.
Bugs in UART and SPI Master and TCP/IP components
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bugs in UART and SPI Master and TCP/IP components
Hello ARM,
I looked into this on your original thread and was unable to replicate the issue. Both UARTs were firing interrupts correctly. Do you have an example of this I can try again for you?-->UART1 INT no function. Same Error like FCV 1.2 (reported in 2015).
I will have a play here and see if I can get the W5100 and WIZ810MJ working on the ARM hardware but I'm not aware of any problems relating to the SPI.--> SPI MAster Mode 0,3 Pin clocking failure:
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Bugs in UART and SPI Master and TCP/IP components
Hello,
UART1:
when enabling UART1 in Macro "SYS_initialise peripheral" (enable 2 Macro calls) and set PA 21 (RXD1) to ground, SPI COM to mcp23S17 and UART0 crashes. You can use the Project "Test_35" or "Flowcode check"
SPI:
SPI COM to W5500io/WIZ810MJ was tested with "send String" too, but no responce from chip. (Macro: SYS_initialise w5500, Macro: W5500 RXD Test)
When testing Ethernet adapter in Keil ide, it works without problems.
UART1:
when enabling UART1 in Macro "SYS_initialise peripheral" (enable 2 Macro calls) and set PA 21 (RXD1) to ground, SPI COM to mcp23S17 and UART0 crashes. You can use the Project "Test_35" or "Flowcode check"
SPI:
SPI COM to W5500io/WIZ810MJ was tested with "send String" too, but no responce from chip. (Macro: SYS_initialise w5500, Macro: W5500 RXD Test)
When testing Ethernet adapter in Keil ide, it works without problems.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bugs in UART and SPI Master and TCP/IP components
Thanks ARM,
I've collected the hardware together and will have a go first thing in the morning to see if I can find the cause of the issue.
I've collected the hardware together and will have a go first thing in the morning to see if I can find the cause of the issue.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bugs in UART and SPI Master and TCP/IP components
Hello,
Right sorry for the delay taken me a while to get onto this and there was a problem with the EB031 SPI definitions that threw me sideways for a while.
Anyway here is the fixed EB031 definition file with the SPI pins fixed. I've been through and checked the other ARM targets do not have this issue.
On to the EB023 / WIZ810MJ issue I have created a simple program and it is now working very well for me using Flowcode 6.1.3 with no changes to the component or the SPI CAL layer.
If you are still having problems then is it possible for you to put together a very simple file that demonstrates the problem? The simpler the better as we can be more sure that nothing in the program is causing the issue.
Right sorry for the delay taken me a while to get onto this and there was a problem with the EB031 SPI definitions that threw me sideways for a while.
Anyway here is the fixed EB031 definition file with the SPI pins fixed. I've been through and checked the other ARM targets do not have this issue.
On to the EB023 / WIZ810MJ issue I have created a simple program and it is now working very well for me using Flowcode 6.1.3 with no changes to the component or the SPI CAL layer.
If you are still having problems then is it possible for you to put together a very simple file that demonstrates the problem? The simpler the better as we can be more sure that nothing in the program is causing the issue.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel