HI, I am working with LPC2129 with full CAN bus. I have written a code for master and slave. i am running a heartbeat LED on both of them at a rate 1Hz, and they work fine. When i connect 2nd slave after having done the appropriate changes, the LEDs on two slaves run on much slower frequency 1/2 Hz. ? why? are there certain registers need to be configured for this issue.? the code i am using should run the same either with one slave or more. I am using 1Mbps baud rate...
You are not giving us any real information. FulLCAN represents automagic filtering of received messages. But what do your transmit code look like? Are you making sure that you are sending one packet to each slave every second?
Hi, well i am using Shared clock CAN bus. i.e. i am sending a tick from master to slaves each 10ms and i interrupt the slaves. each 50 ticks = 500ms the LED should toggle. but in slaves what happen is that each 100 ticks= 1sec LED toggle
I.e. i am sending a tick from master to slaves each 10ms
That's still way too little information. When you say you "send the tick to slaves", what does that actually mean? You aren't by any chance sending separate tick messages to each of them, on a bus that had nearly 100% busload with a single slave, are you?