cpic32j1939

Modification of J1939 C Library for PIC32


I am working on a project based on J1939 Interface. I am using J1939 C Library for PIC 18 devices (AN930), I am wondering how can I modify this library to work with PIC32MX795F512L device? I am not the expert level programmer and started working on PIC32 couple of month ago. Please guide me.

Thank you


Solution

  • If the library was developed the right way, then you only need to find out the clock that controls the timing for the messages; and route it to the right configuration; also you need to identify the buffer where you are going to be receiving the messages, and route it to the library.