The microprocessor is an integrated circuit that elaborates information in the form of digital signals. Not to be confused with a microcontroller, which embeds many additional devices to control embedded systems.

learn more… | top users | synonyms

-3
votes
1answer
41 views

Using djnz to make a loop in 8051 assembly language [on hold]

To program 8051 using djnz loop I know that if we give r0 a number the loop will be executed accordingly. For example: ...
0
votes
1answer
39 views

After research, how should I go about creating a bluetooth peripheral?

My goal is to create a very simple (1 input, 1 output, both high / low states) bluetooth peripheral to be worn on the wrist to connect to an android phone running Lollipop. I have the following ...
0
votes
2answers
67 views

How a multicore processor is initialized?

Is there any general protocol or algorithm to start a multicore processor? If so, how it works?
0
votes
0answers
31 views

8051 interrupt timing [closed]

In the question above only timer 1 and serial interrupt have high priority. Each interrupt service routine takes 1.2ms. I couldn't decide the priority after 2.4 ms of the program execution. Since ...
-3
votes
1answer
81 views

How to reset all flags in 8085 without an arithmetic or logic operation?

How can I reset all flags in 8085 without an arithmetic or logic operation?
-1
votes
0answers
12 views

Swapping an Arduino Mega 2560 for a PCduino3 [migrated]

I am a student working on a project and I need to switch microcontrollers from an Arduino Mega 2560 to a PCduino3 and i am having problems matching the pins, based on the following ...
0
votes
1answer
34 views

In 8085, what is peripheral mapped I/O?

Is the peripheral mapped I/O different from what is known as port-mapped I/O or simply known as I/O mapped I/O? I don't see the usage of the term "peripheral mapped I/O" around much. Was it only ...
1
vote
3answers
299 views

Why is the cost of microcontroller lesser than microprocessor

I was learning today about 8051 and I encountered a point which said microntroller generally costs less than a microprocessor. I didn't understood why is it so since microcontrollers have RAM, ROM, ...
2
votes
3answers
63 views

Buses in 8086 micro-processor

What are the buses known as A, B, C in the following architecture of 8086? I cannot find any information about these.
-1
votes
2answers
153 views

Most carefull way to concatenate strings in C

My firmware in one cycle per 10 second is moving string to the output (csv file on SD card). The problem is that string sometimes in non-deterministic way is changing adding values that shouldn't be ...
-3
votes
1answer
62 views

I want to create a custom computer board with USB and Ethernet feature that runs linux. [closed]

I want to make a computer board which only has USB and Ethernet. And the board should run linux. Actually I want to download some data from internet and save it on USB device. I am a programmer I can ...
0
votes
0answers
42 views

Simulating LCD device

I wanted to connect LCD LM016L in my device simulating it on Proteus.I wanted to use 8255 to connect the LCD directly with one port of the 8255.But I have a doubt do I need a controller too or just ...
1
vote
2answers
60 views

Why is there an inductor in this power supply circuit for SAM3X MCU?

I am working on a senior design project and am trying to embed an ATSAM3X8E (Here is the Application Sheet PDF) micro-controller into a system my team is designing. What is the pourpose of ...
1
vote
1answer
289 views

Micro and Nano Memory, Calculate Reducing Bits?

I ran into a question: in digital system with micro-programmed control circuit, total of 32 distinct pattern operation signal is ...
1
vote
1answer
135 views

Using an FPGA over an Arduino

Having read this excellent answer on FPGA's vs Microcontrollers I have a few queries. I recently completed a project that utilised reflectance sensors. Simply put, it reads the reflectance by ...
2
votes
7answers
1k views

Why are 11, 111, 1111, … equivalent to -1 in two's complement? [duplicate]

According to two's complement, the binary numbers 111 and 11111111 are equivalent to -1. Why or how are the binary numbers 11, 111, 1111, 1111 1111, etc. equivalent to -1 in two's complement? Can ...
3
votes
3answers
191 views

Why All 1's used as a second input in decrement operation of ALU?

Suppose the first four data inputs are X (X0, X1, X2, X3) and the second four data inputs are Y (Y0, Y1, Y2, Y3) in a 4-bit ALU. Why "All 1's" are used as an input for Y in the decrement operation of ...
2
votes
1answer
211 views

Interfacing 2 accelerometers through I2C

I am looking at designing a system where 2 accelerometers are connected to a microcontroller using I2C however I am unsure as to how this would actually work. In particular would I need a ...
0
votes
0answers
37 views

How the clock runs on modern processors? [duplicate]

I would like to understand how the clock in modern processors. It is delivered via hardware or via software? I understand how the clock works of a microcontroller with an external crystal or even ...
12
votes
3answers
3k views

Why does a processor get hot?

I would like to understand how the computation process causes the processor to get hot. I understand that the heat is generated by the transistors. How does the transistors generate the heat ...
0
votes
3answers
143 views

How Can A Coded Firmware Control Hardware [closed]

I really want to know how could a virtual coded program really affect and imitate and animate a piece of hardware. I Have Always Seen The Diagram Of Processors In the Book Showing ALU and CPU as The ...
-1
votes
1answer
60 views

Can a microprocessor ( specifically the ALU) be considered as an FPGA that is re-programmed by the Instruction Decoder

So, I have been reading about FPGAs. As I understand, they work by providing logic blocks for the programmer to link together to solve a particular task. Many such tasks may run in parallel; so an ...
0
votes
0answers
25 views

What is the procedure to execute GO command in mda-win8086 kit?

I think to execute a program whole at a time GO command is the only option in a 8086 microprocessor kit. But unfortunately I am not understanding how to execute GO command. Yes, I understand I have to ...
3
votes
2answers
159 views

What should I know if I want to move from microcontrollers to microprocessors? [closed]

I'm familiar with using microcontrollers, both with frameworks like Arduino and natively (PIC / AVR). I'm also familiar with the general architecture of embedded systems, in so much as I know you have ...
0
votes
1answer
74 views

need for external i/o interfacing like in 8086 for latest processors

I am a student now currently learning about interfacing 8255 with 8086. For me the doubt is that, is there a need for external i/o interfacing like in 8086 for latest processors? what is GPIO ?
0
votes
1answer
45 views

5V I/O Chip Which Works Like An Atmel µC Port? [closed]

I'm working on a project with a 5V vintage 8-bit microprocessor, which I would like to hook some I/O to. I'd like to find a nice little package that could help me with this. I'm happy if it is a ...
0
votes
0answers
36 views

Control Steps of “SUB R1, [[R3]]” for Intel 8086

Question What are the control steps for SUB R1, [[R3]] for Intel 8086? I do not know how to obtain the content of the address twice. I guess that maybe I should put two \$MAR_{in}\$s like the ...
1
vote
0answers
42 views

arduino output pins collapsing voltage - is it dead?

After a while i came back to my arduino UNO R3, and attempted most simple program, that sets digital output pin high. I measured voltage over that pin, and got 5 volts, but when I connected an LED, ...
-1
votes
1answer
70 views

CPU Core frequency [closed]

I was going through the selection criteria of CPU (MCU/MPU/FPGA) and observed that core frequency is one important parameter while selecting a CPU. But I was unable to get information regarding, how ...
0
votes
2answers
71 views

Shift value to some point in binary number

I wonder if it is possible to do the following. For instance, I have a number 00001110. I am shifting it left. -> 00011100.... But the question is if it possible to start setting value in carry flag ...
1
vote
1answer
52 views

What is Pipeline Flushing in microprocessors

I am reading the book "Writing Operating System from Scratch" by Nick Blundell. In one of the chapters, it is explained how we make transition from 16bit mode to 32bit mode. It says that before moving ...
0
votes
1answer
196 views

STM32F4 - DMA with bigger steps

I'm programming an STM32F4 Discovery board to push a sequence of 12 bit values into the DAC data register. This works well using timer interrupts: inside my IRQ handler, I have code that looks like: ...
0
votes
2answers
130 views

Why does the Intel Atom processor need so much thermal dissipation compared to similar ARM processors

When looking at cases designed around the Intel NUC Atom-based board it seems they put a lot of effort into thermal dissipation (i.e. the entire case is basically a big heatsink). Of course, these ...
0
votes
1answer
43 views

Incompatibility between 5v processor and 12v source

L,H on the diagram below represent processor pins in LOW/HIGH states. LOW is 0v, HIGH -- 5V. Difference in voltage levels (5V vs 12V) leads to problems -- current flows on paths where it shouldn't. If ...
1
vote
2answers
84 views

How is data allocated in an assembly language using the instruction set?

Consider the following excerpt of assembly code written for the Nios II embedded processor architecture: ...
0
votes
1answer
117 views

Why does the A8 have twice as many transistors than the Haswell processor yet runs on less power?

There's something I don't get - I am always under the impression that the more transistors we pack in, the more energy it consumes and the hotter it gets (assuming we haven't shrunk the die). However, ...
1
vote
2answers
103 views

How much energy does cache memory consume in a modern processor? [closed]

What fraction (on average or range) of total processor energy consumption does the cache subsystem consume in modern processors (say post 2009)?
7
votes
3answers
258 views

How to find out if a microprocessor is powerful enough

Everybody knows its easy to develop a proof of concept for an embedded device on a rasbperry pi or even a PC, although when it comes down to choosing a microprocessor for your product, it is difficult ...
2
votes
3answers
83 views

Fast and cheap data aquisition

I need to be able to analyse signals that are 10ns in length. It comes from a PMT (Photomultiplier tube) or an equivalent detector. We need to be able to trigger at a certain signal strength coming ...
3
votes
5answers
755 views

How do you design processors / microprocessor [ not broad ]

Apologies for this vague title, but my question is a little specific. I have two concerns : During my digital electronics class, I was told that the design of the processor is first carried on an ...
-4
votes
3answers
82 views

What is the maximum battery lifetime for a sleeping microprocessor? [closed]

I know it depends on the processor and the battery, I just want to know what's possible. [EDIT:] An example would be great!
0
votes
0answers
52 views

How to implement a pipelined integer divider

I need to implement a pipelined integer divider for my 64-bit microprocessor. I have tried reading up on this, but I am still confused. Any advice would be appreciated.
-1
votes
1answer
55 views

How to set flags in microprocessor 8085 after IN instruction?

When microprocessor reads an input port, the instruction IN does not set any flag. If the input reading is zero, what logic instruction can be used to set the ZERO flag without affecting the contents ...
1
vote
1answer
58 views

Small system on a chip : Power consumption [closed]

This question is lying somewhere between electrical engineering and computer science, however I felt that this forum suited my question the best. I post this question because I feel that this kind of ...
0
votes
6answers
187 views

how to know how many bits a microcontroller has?

How can I know what kind of architecture a microcontroller has? For example where can I read in the datasheet of the pic 16F873 how many bits architecture is? 8, 16, 32? Next question what does: What ...
2
votes
2answers
418 views

Rotating POV LED Cylinder Using Addressable RGB LED Strips

​My son and I are trying to build a somewhat large Rotating POV Cylinder (or Globe) making use of ready-made Addressable RGB LED strips (WS28011 or LPD8806?). After some browsing, we found that many ...
3
votes
3answers
749 views

memory segmentation in 8086

If the external memory (1 MB) in 8086 based system is segmented into code, data, stack and extra which are all 64 kB, what do we do with the rest of the memory? Does it go waste?
0
votes
1answer
141 views

Shortest time required UART- UART transfer of 32 Byte block

I need to transfer 32 Byte block UART to UART 8 clock cycles per bit 1 start bit Struct 8-E-2 8bits 1 UART char, Even Parity, 2 stop bits/ char 1 + 8 + Even parity + 2 stop bits = 11 efficiency = ...
0
votes
0answers
132 views

NXP LPC2138 does not start up. Electronic problem?

I have a problem with LPC board and I cant figure out what is wrong. It manifests like this: I can connect board via jtag and Keil sw recognise the processor. I can program it (at least I guess that ...
0
votes
1answer
131 views

24 volt on microprocessor input pin

I have got my hands on a Intel Edison system on chip. I would like to use it to detect non-zero voltage. For example I have a test point that could be either 0 volt or 24 volt and I want to detect ...