Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

18F4585 - CAN-related registers

Status
Not open for further replies.

atferrari

Well-Known Member
Most Helpful Member
18F4585 - For CAN bus applications

I am trying to know exactly how the different registers (mentioned in pag 280 of the datasheet) are mapped when selected by ECANCON <EWIN4:0> Before going into hardware I want to know exactly where each one shows up when selected.

List and explanation too criptic to be of real use. Buffers are obvious but, what about the others?

Two questions:
a) Anyone with hands on experience on the 18F4585 to tell how (sequence-respective address) they are ACTUALLY mapped in that range when selected. Trial and error is not easy (if at all possible) and MPSIM is not that helpful to have a complete picture.

b) Is it anyone one actually using EWIN<4:0> bits in ECANCON to address CAN-related registers? Or do you always use BANKSEL macro and forgot all that?
 
Registers

My question is about addresses, so I think that language used is not relevant here. (Always Assembly).

Still waiting for a formal reply from Microchip. Somebody there, accepted that the subject is not well explained in the datasheet.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top