Content originally posted in LPCWare by JohnR on Thu Sep 13 07:11:49 MST 2012
Thanks again for your help.
The CodeRed NXP compiler uses a startup file, cr_startup_lpc43xx-m0.c, rather than the Keil's .s file.
I thought I could avoid modifying this compiler-generated file by using M0_I2C0_OR_I2C1_IRQHandler, // 35 I2C0 or I2C1, instead of
M0_SGPIO_IRQHandler, // 36 Serial GPIO. I have had no success so far using either M0_I2C0_OR_I2C1_IRQn or M0_SGPIO_IRQn as the interrupt ID.
I have the SGPIO system working in M0 by running the SGPIO calls from a while(1) loop in the main code, a bit crude but it is a start.
Any more ideas as still welcome.
John.