LPC824 CLOCKOUT CMSIS PINASSIGN11

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC824 CLOCKOUT CMSIS PINASSIGN11

859 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kiryat8 on Tue May 05 01:03:04 MST 2015
I am using the latest CMSIS definitions "CMSIS 3.20 March 2013 release."
There is no  PINASSIGN11 definition in LPC8xx.h for routing the CLKOUT function as written in the pdf.
I see in the LPC open project there are  PINASSIGN11 definitions.


SWM_ADC_PINTRIG1_I = 0xB0,   /*!< PINASSIGN11 - ADC PIN TRIGGER-1 Input */
SWM_ACMP_O_O,                /*!< PINASSIGN11 - ACMP OUT Output */
SWM_CLKOUT_O,                /*!< PINASSIGN11 - CLKOUT Output */
SWM_GPIO_INT_BMAT_O,         /*!< PINASSIGN11 - GPIO INT BMAT Output */

Does the LPC824 have the ability to route its clock out?
Can I add PINASSIGN11 definitions to the header file?

Thanks
David Kaplan
Labels (1)
0 Kudos
Reply
2 Replies

794 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by besterm on Tue Jul 14 07:35:01 MST 2015
I had the same issue and after looking at the datasheet, decided to modify my header file to include the missing pinassign entries (9-11).  I was then able to assign the clkout pin function to an IO pin and it works fine now.  Just remember if you add these entries, to also change the PINASSIGN array from 9 to 12 and to change the RESERVED0 array from 103 to 100 to account for the 3 new pinassign entries. 
0 Kudos
Reply

794 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Tue May 05 15:13:37 MST 2015
Hi,

The LPC82x features a clock output function that routes the IRC, the SysOsc, the watchdog oscillator, or the main clock to the CLKOUT function. The CLKOUT function can be connected to any digital pin through the switch matrix.You can use the PINASSIGN11 definition for CLKOUT function assignment.

Thanks
NXP Technical Support
0 Kudos
Reply