Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MCP 2515 (CAN controller)

Status
Not open for further replies.

torana

Member level 2
Member level 2
Joined
Sep 11, 2011
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,683
dear friend,

i am using MCP2515. i am little confuse. In MCP2515 PDF
register name is

TXBnDLC and the address of same register is 35H,45H,55h, then which one is the address.
 

CAN controller you are using having three transmit buffer and each data link control for each transmit buffer as
transmit buffer 1 - 35h
transmit buffer 2 - 45h
transmit buffer 3 - 55h
likewise.
 

i am using MCP2515. i am little confuse. In MCP2515 PDF
register name is

TXBnDLC and the address of same register is 35H,45H,55h, then which one is the address.

If you examine, a bit more carefully, the name of the register, TXBnDLC, you will notice the lower case n which indicates in this case the register name is simply a generic, while TXB0DLC, TXB1DLC and TXB2DLC are specific register names corresponding to addresses 35H,45H and 55h respectively.

Reference: MCP2515 Datasheet, Section:11.0 REGISTER MAP, Table: 11-1, Page: 63



Are you attempting to write a custom driver for MCP2515 and a non-PIC microcontroller? If so, what specific microcontroller?


BigDog
 

thank you ...

actually i am using at89s8252(it is having SPI). writing code in assemblly language
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top