more instances
more instances
Is it possible to edit and simulate flowchart with more instances? Typically SPI or CAN need it.
- 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: more instances
Hello Brian
More instances?
Sorry but not sure I understand your question.
More instances?
Sorry but not sure I understand your question.
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: more instances
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.
It is not clear how you simulate CAN in one chart because CAN assumes more than one device.
- 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: more instances
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.
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.
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