LPC15xx CAN sample

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC15xx CAN sample

804 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Wed Feb 26 11:46:56 MST 2014
I'm still missing a CAN sample in LPCOpen 2.08 LPC15xx?

Just something to work with?
Labels (1)
0 Kudos
7 Replies

640 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TravisT on Wed Apr 16 13:44:50 MST 2014
Mr. R2D2 was nice enough to point me at this thread.

It seems a little disappointing that a major peripheral like this would not have more support. Hopefully this can be resolved soon.

Just in case there is information posted on the thread I started I am putting the link here.
http://www.lpcware.com/content/forum/lpc1549-and-can

Thanks everybody for sharing as this is the most information I have found to date regarding CAN use on the LPC1549.
0 Kudos

640 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Mon Apr 07 03:11:46 MST 2014

Quote: lpcadmin
Hi,

The LPC15xx has ROM-based CAN support.  An LPCOpen CAN example demonstrating the use of the ROM CAN support is scheduled for end of this month.  Sorry for the delay.



...meanwhile it's April here. Any progress?
0 Kudos

640 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Sat Mar 08 15:35:51 MST 2014

Quote: R2D2
...is working fine here.



It's working fine here, too   

Just added LQFP48 CAN SWM setting and changed UART settings in board.c and board_sysinit.c.
PIO0_13/18 are switched there as UART since 'lpc_board_nxp_lpcxpresso_1549' is LQFP64.
#ifdef LQFP64
//CAN signal muxing LQFP64
 Chip_SWM_MovablePortPinAssign(SWM_CAN_TD1_O , 0, 31);
 Chip_SWM_MovablePortPinAssign(SWM_CAN_RD1_I,  0, 11);
#endif
#ifdef LQFP48
//CAN signal muxing LQFP48
 Chip_SWM_MovablePortPinAssign(SWM_CAN_TD1_O , 0, 18);
 Chip_SWM_MovablePortPinAssign(SWM_CAN_RD1_I,  0, 13);
#endif


Thanks a lot...
0 Kudos

639 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sat Mar 08 06:04:58 MST 2014

Quote: LabRat
I'm still missing a CAN sample in LPCOpen 2.08 LPC15xx?

Just something to work with?



I'm short of time so I asked a colleague today if he could write a quick and dirty sample to test my new Dev-Boards (LPC1549 LQFP64).

A few hours later he emailed me this LPCOpen main.c, which is working fine here.

Perhaps you have to change CAN pin muxing and LEDs for your board...

0 Kudos

639 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Fri Mar 07 20:20:33 MST 2014

Quote: lpcadmin
An LPCOpen CAN example demonstrating the use of the ROM CAN support is scheduled for end of this month...



Thanks for clarification...
0 Kudos

639 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcadmin on Fri Mar 07 15:34:00 MST 2014
Hi,

The LPC15xx has ROM-based CAN support.  An LPCOpen CAN example demonstrating the use of the ROM CAN support is scheduled for end of this month.  Sorry for the delay. 
0 Kudos

639 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Fri Mar 07 08:26:06 MST 2014
Any news about CAN Library for LPC15xx this week  :quest:
0 Kudos