Maybe Issues with SPI update?
Posted: Tue Jul 23, 2019 2:23 pm
Hello Everyone
I did a program a while back in FC6, I then did an update to the program where I needed to add Modbus Slave back in November last year. Back then it seemed to work fine, but now I am having issues... And its defenitly based on FC8 and its updates...
So, I have attacehd the FC6 Program that works fine once it get compiled from FC6. When I open from FC8.2 I need to set the RS232 component to no RX pin in order for it to compile (the RS232 is obsolete now anyway). Then when I test it on hardware the SPI does not work anymore as well as the output on A4. When I do a little blinker program (on A4) I can find out that it will work when I put the blinker before the SPI initialise, and will not work after it.
*EDIT* one more thing. I have changed the Auto CS for hte SPI on/off, this does nothing. Also when I use the correct pin for hte CS / SS it still does not work.
Hope this all makes sence, let me know if you need more information
Thanks
I did a program a while back in FC6, I then did an update to the program where I needed to add Modbus Slave back in November last year. Back then it seemed to work fine, but now I am having issues... And its defenitly based on FC8 and its updates...
So, I have attacehd the FC6 Program that works fine once it get compiled from FC6. When I open from FC8.2 I need to set the RS232 component to no RX pin in order for it to compile (the RS232 is obsolete now anyway). Then when I test it on hardware the SPI does not work anymore as well as the output on A4. When I do a little blinker program (on A4) I can find out that it will work when I put the blinker before the SPI initialise, and will not work after it.
*EDIT* one more thing. I have changed the Auto CS for hte SPI on/off, this does nothing. Also when I use the correct pin for hte CS / SS it still does not work.
Hope this all makes sence, let me know if you need more information
Thanks