18F26K80 Code Optimisation.


Results 1 to 8 of 8

Threaded View

  1. #1

    Default 18F26K80 Code Optimisation.

    Attached is a complex man in the middle program I have written to control my Honda hybrid car via MCP2515 CAN bus modules and a PIC18F26K80 at 64mhz.

    It works well in the car presently but I'm keen to see if I have missed any obvious pbpro speed tricks.

    I would be grateful for any comments or observations from the gurus on here.

    I did try and get the pic to run at 80mhz with an external 20mhz resonator and 4xPLL but it just would not run/work.
    There was a separate thread for the overclocking attempt. Maybe a bad pic or bad resonator etc at my end.

    I'm thinking about adding a timer program loop counter so I can see what effect ideas people have have on the basic loop time.
    Thanks in advance for any speedup or space saving ideas.
    Attached Files Attached Files

Similar Threads

  1. 18F26K80 Serial setting sanity check and 4xPLL.
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 20th August 2023, 16:05
  2. Replies: 0
    Last Post: - 9th September 2018, 01:43
  3. Serial problem between BasicStamp code and PBP code
    By AllanZilkowsky in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 6th April 2014, 02:15
  4. Working code but my layman approach uses too much code space
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th December 2012, 20:44
  5. Code: Why is this code greater than 2000 words?
    By DrDreas in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 1st June 2007, 19:51

Members who have read this thread : 15

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