I am trying to comunicate two 16f877 using 2510 with help of canbus driven by mcp2551. I use the driver can-mcp2510.c. But, My pics don't make the can_init(); operation. This line never finished by pics. What can be wrong.
sraiderk
Joined: 09 Feb 2005 Posts: 48
Posted: Mon Feb 21, 2005 9:25 am
lcd_init();
can_init();
printf(lcd_putc,"I AM MASTER");
I never see the I AM MASTER on lcd but if I write like that
lcd_init();
printf(lcd_putc,"I AM MASTER");
can_init();
I see the I AM MASTER on lcd.
16F877 and MCP2510 There is a 4 connection pins. I never use the int pin of the mcp2510. sck,so,si,cs. I changed the CS pin from the file can-mcp2510.c . The others remain constant. Xtal:4mhz used for mcp2510.
help me please!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum