Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to emulate this IC TL494 on ATMEGA128L using C programming

Status
Not open for further replies.

kunal5959

Junior Member level 3
Joined
Jul 26, 2011
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,644
I want to write a code in C for microcontroller ATMEGA128L so that i can replace the complete functionality of TL494 IC with the code.

. Data sheet of TL494:-
https://www.ti.com/lit/ds/symlink/tl494.pdf

Being a beginner in embedded programming i am a bit confused how and where to start with. Can anyone please suggest me some tutorials or links where i can learn the coding of such emulations.
 

This will end up being slower than the internal PWM hardware.

Have you tried to see what F you need and what pre-scaler changes can be made to default counter clock?

For standard Arduinos the system clock is 16MHz so that the timers are clocking at 250kHz by default. Phase correct 8-bit PWM mode takes 510 clocks to cycle and fast 8-bit PWM mode takes 256. This means a frequency of 490Hz for pins 5 and 6.
 

490 Hz is also ok for the project..!!!

- - - Updated - - -

How to emulate dead time controller??
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top