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, 4 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 Recent Posts

  • Getting into an LED bulb April 21, 2026
  • understanding of resonance in time domain April 21, 2026
  • Beginner Questions About CNC Machines – G-code, Control Systems & Accuracy April 21, 2026
  • A Must-Watch Video Showing Dangerous Construction of Cheap Lithium-Ion Cells April 21, 2026
  • S1MJ ? April 20, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media 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 WTWH Media
Privacy Policy | Advertising | About Us

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