CAN header and EXT asm question


+ Reply to Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: CAN header and EXT asm question

    Very useful info that are posted in this thread, but I am afraid that CAN topic is not very popular!

    Thanks anyway for your kindness to share your experience.

    Ioannis

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: CAN header and EXT asm question

    I played with the MCP25625 (CAN controler and driver) using the SPI peripheral on the 18F57Q53 a while back (just looked, turns out it's 4 years ago now, bloody hell...).
    My intention was to make a "universal" driver for it and it looks like I did get most of the way but then lost interest it (which is what usually happens) since I didn't really had a need and/or use for it at the time.

    You could
    Code:
    #DEFINE CAN_OSCILLATOR 20
    #DEFINE CAN_BITRATE 125000
    And it would automatically set the CNF1-3 registers (to reasonable values) based on bitrate and oscillator speed. Low level read/write/modify register routines, medium level Load_Tx_Buffer & Read_Rx_Buffer routines and higher level like GetCANMessage seems to have been implemented. I need an actual project to finish it.

Similar Threads

  1. A header wizard
    By cncmachineguy in forum PBP Wish List
    Replies: 229
    Last Post: - 24th February 2011, 04:21
  2. ASM question
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th February 2011, 17:37
  3. Question about using ASM interupt with PBP
    By cncmachineguy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 4th December 2010, 18:04
  4. ASM question
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 23rd March 2010, 00:33
  5. question about how to implement ASM and ENDASM
    By karenhornby in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th March 2008, 09:21

Members who have read this thread : 20

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts