Firmware programming in controller

Status
Not open for further replies.

dharithothi

Junior Member level 3
Joined
Dec 19, 2014
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
229
Hello Guys,

This question I had from few past days. While we program any controller we write codes and burns it in controller. How exactly that code transfers into hardware inside the controller??? If I write 1 in any GPIO pin at that time we can get some positive voltage level on controller pin. But how that 1 or 0 which is written in software makes MOSFET or any internal switching in micro controller.

I know that 1 or 0 makes some switching inside but how that software flag makes that internal hardware switching???

Thanks in advance...
 

What you write is an instruction made from a combination of binary bits stored in memory. When the instruction is selected, the bits are fed to an instruction decoder which sets a specific sequence of events in action. Those events may turn switches on or off, in the case of your GPIO pin, they clock the required state in to a flip-flop which has it's output connected to the pin.

Brian.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…