Hello All, I m using MCBSTR9 keil board and i want to test my CAN port, though in loopback mode, i've checked it. But i want to communicate between PC and CAN. I dont have any other CAN controller to set up a small network. Will it be possible to communicate between PC and CAN without any other CAN controller. Is their any way to simulate CAN....What are the basic things that i need to form a CAN network. I am thankful to one who can help me out...
Its like i'll form 4 nodes and each having 32 message objects. I'll try to make communication between these 4 nodes using the CAN packet format and the way CAN protocol works, its just like a demonstration of CAN protocol communication......... Though i may have confused you a lot :-) But still i am expecting that you may have got my point.... I think i will have to write code from scratch only.. But still if you have some idea or knowledge to make the way easier, then i'd be thankful.....
If you want to demonstrate, without the hardware, you can use normal networking and broadcast messages with similar contents.
Then you can have a graphical front-end that either picks up the IDs that it likes and extracts relevant info to show. Or the front-end could have input fields where you specify variable values and send repeat times and other computers (or other programs on the same machine) will then display the transmitted value.
Ask your teacher in what form he wants you to show your CAN knowledge, or ask him for a second board, so that you can connect
PC1 [rs232] <-> [rs232] BOARD1 [can] <-> [can] BOARD2 [rs232] <-> PC2
and have two PC commuicate using CAN.