EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / need a programme to generate multichannel pulse output using lpc2378

need a programme to generate multichannel pulse output using lpc2378

|

Miscellaneous › Others › need a programme to generate multichannel pulse output using lpc2378

  • This topic has 0 replies, 1 voice, and was last updated 11 years, 10 months ago by mayank sharma.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • December 10, 2014 at 6:40 am #3348
    mayank sharma
    Participant

    I am using LPC2378 to generate multichannel pulse on cro..I need a programme to do this work.

    I can generate single channel pulse using LPC2378, but not able to do this…

    so, plz help me..

    for single channel pulse generation progamme is as folows..

     

     

    #include <LPC23xx.H> /* include for LPC23xx */
     void PWMInit()
    {
    /* considering LPC2368 */
    PINSEL3 |= (0x02<<8); /* reset PWM counter */
    PWM1TCR = 0x02; /* setup match control to reset on MR0 */
    PWM1MCR = 0x02; /*Reset on PWWMR0*/
    /* select single edge for PWM1.1… and enable PWM1.2 o/p */
    PWM1PCR = (1 << 10); /* setup PWM period */
    PWM1MR0 = 12000000000/500; /* setup PWM duty cycle (50%) */
    PWM1MR2 = PWM1MR0/2; /* start counter and enable PWM */
    PWM1TCR = 0x81; /* enable LER */
    PWM1LER = 0x04;
    }
    int main()
    { 
    PWMInit();
    while(1);
    }
  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

RSS feed: Recent Posts Recent Posts

  • Delco alternator (12SI) AC-tap - what is the mate to this connector called and where to find it? October 9, 2026
  • Frustration, single phase, high KW, high voltage battery charge module, rectifier. October 9, 2026
  • Almost Very New in PCB / KICAD DESIGN October 9, 2026
  • Vehicle alternator regulator - use external regulator, connect field lead to "lamp" ("D") ??? October 9, 2026
  • solderless sma screw mounting RF causaliy problem October 8, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 Arrowfly LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Arrowfly
Privacy Policy | Advertising

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise