Questions!
Moderator: Benj
Questions!
I'm using the "CAN", discovered a problem, as long as "CAN Init" later, the simulation is possible. But after downloaded to the chip can't normal operation! Even reset also can't run. For example a flash。Please help me!
- Attachments
-
- led flash.fcf
- (7.5 KiB) Downloaded 275 times
-
nuwan5213
- Posts: 82
- Joined: Thu Jul 29, 2010 10:03 am
- Location: sri lanka
- Has thanked: 24 times
- Been thanked: 4 times
Re: Questions!
hi nnnff,
try to increase the delay time more than 100ms.
i mean 500ms may be 1s.
in real world i think you cant see 100ms .because your eye is not response.
can int is not the problem.
regards.
nuwan..
try to increase the delay time more than 100ms.
i mean 500ms may be 1s.
in real world i think you cant see 100ms .because your eye is not response.
can int is not the problem.
regards.
nuwan..
Electronics for better world.
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Questions!
Hi,
This is working as intended, the CAN Init function has a while loop in it that waits for a valid CAN return message before it moves out of the initialiser icon, so, in other words, dont use CAN Init unless you are in a valid CAN network
This is working as intended, the CAN Init function has a while loop in it that waits for a valid CAN return message before it moves out of the initialiser icon, so, in other words, dont use CAN Init unless you are in a valid CAN network
Re: Questions!
Thank you very much!DavidA wrote:Hi,
This is working as intended, the CAN Init function has a while loop in it that waits for a valid CAN return message before it moves out of the initialiser icon, so, in other words, dont use CAN Init unless you are in a valid CAN network