Content originally posted in LPCWare by Orac on Fri May 01 05:24:06 MST 2015
Many many thanks for this code and support.
Sorry I haven't been in touch for a while I've been sort out our issue.
I tried the above code (with CAN pins changed) on our board and found it not to work, I changed physically the CAN pins to that of your code, and ran your code totally unchanged, it didn't work.
We then built up another LPC1549 board, our design but minimum components, just clock, decoupling, ubiquitos LED and CAN transceiver hooked to ISP CAN pins as per your example. It worked! Hooray!
I then tried our application with CAN example embedded and it worked! Put the legs of the ICs back on the board to route CAN pins to our pins and yes, it worked!
So, going back to our original board, we have replaced the LPC1549 and now it works so I can only assume there was something wrong with the IC. I've never expercienced this before, I could toggle the pins as GPIO but the CAN peripheral could not be routed.
Anyway, all OK now, working and we are really really pleased and relieved, that you very very much for your help.
Regards
Pete