Discussion in "ARM Development" started by    gharibeh    Jul 17, 2009.
Fri Jul 17 2009, 03:17 pm
#1
hi
there is a sample code in
C:\Keil\ARM\Boards\Keil\MCB1700\CAN
about using can controller of nxp lpc1766.
but it use transmit buffer 1 for sending the data.
i want to use other buffers (like 2 ,3) for sending the data.
can any one tell me how i should change the code?
i attached the original sample source code to this document.

Attachment
Sat Jul 18 2009, 08:53 pm
#2
to change buffer you need to make selection in CMR register.. currently code is just selecting buffer 1 for sending data...

you can rewrite the write function to have selection of buffer you want to use..
make a switch case statement inside..

[Topic moved to ARM Discussion Forum]
 gharibeh like this.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am