plz help me to write code for COUNTER to know given frequency& send it for every 1sec through UART in ARM7(LPC2368).
HOW TO USE TIMER AS A COUNTER,HOW TO COUNT FREQUENCY,IN 1SEC HOW CAN IT SEND TO ANOTHER DEVICE THROUGH CAN ANY BODY PLZ GIVE ME A BRIEF OVERVIEW PLZZ...
I think NXP thoroughly documents their parts.
If the task is too complicated, start by doing simpler tasks, and breaking the complex ones down.
Well, they did document the LPC23xx chips well enough that I managed to implement counting, timing and frequency-measuring with optional prescaling with the timer modules. But I obviously couldn't do it without reading the documentation - but some people seem to think that the documentation is expected to be read by someone else. Or that the code just magically exist and that the documentation is irrelevant - all that is needed is to just locate that magically existing code.