Page 1 of 1

more instances

Posted: Mon Feb 25, 2008 11:30 pm
by Brian
Is it possible to edit and simulate flowchart with more instances? Typically SPI or CAN need it.

Re: more instances

Posted: Tue Feb 26, 2008 10:43 am
by Benj
Hello Brian

More instances?
Sorry but not sure I understand your question.

Re: more instances

Posted: Tue Feb 26, 2008 1:07 pm
by Brian
I mean two PIC for example which are connected to each other through SPI.
It is not clear how you simulate CAN in one chart because CAN assumes more than one device.

Re: more instances

Posted: Tue Feb 26, 2008 1:11 pm
by Benj
Hello Brian

I see what you mean now. Yes this is a problem with the current simulation technique. We are thinking about overhauling this for Flowcode V4.

At the moment the best way to test and troubleshoot your comms programs are by sending the programs to the chips and using debugging LCD or LED messages to show how the programs are functioning.

The CAN analyser supplied with our CAN solution is also very handy for doing this as you can monitor the messages and also inject messages onto the bus.

Generally its a good idea to start simple and work your way up. So check that the comms is working for one message before designing your full system.

This also goes for SPI. Eg if you are reading an EEPROM then write a value, read it back and display it on a LCD or LEDs to ensure it is correct.