New answers tagged microchip
4
votes
Accepted
Can I use ST-Link V2 in conjunction with MPLABXIDE to program Microchip dsPIC33FJ and related?
The answers in Can I use ST-Link programmer for non-ST chips? mention that a ST-Link can be flashed with different firmware. Looking at the possible options:
Black Magic Debug : The Supported Targets ...
0
votes
How does the control unit (CU) actually work?
I didn't understand the explanation of the CU (Control Unit). How do signals control, for example, whether the ALU should add, subtract or perform a logical operation
It's the same as in a simple ...
2
votes
Accepted
How does the control unit (CU) actually work?
The ALU is just a bunch of building blocks to add and subtract and stuff. Sometimes it must include the carry, sometimes it must not. Sometimes it is required to shift bits left, sometimes right. ...
3
votes
How does the control unit (CU) actually work?
To provide more of a visualization of Matt's answer, here's a good diagram of how MIPS architecture handles their operations. This is a 1-bit ALU:
Picture can be found in the textbook Computer ...
3
votes
How does the control unit (CU) actually work?
The function of the control signals are determined by the design of the ALU, so my answer should be considered as one possible implementation.
That being said, the simplest answer is that control ...
0
votes
How does the control unit (CU) actually work?
The ALU can take two numbers in, do some operation to the two numbers, and output the result. It can do any one operation out of many available but it must know which operation to do. The information ...
5
votes
Microcontroller - Difficulty with CMCON and MCLR commands
You are strongly recommended to read the manufacturers' datasheets and avoid very frequently unreliable secondary sources such as blogs and tutorials and most especially unverifiable "AI" ...
3
votes
Microcontroller - Difficulty with CMCON and MCLR commands
The TRIS overrides the analog input, so you can still use the pin as an output regardless of whether the comparator is enabled or not.
However, by my reading, RA0 always reads as '0' when the pin is ...
Top 50 recent answers are included
Related Tags
microchip × 832pic × 409
microcontroller × 379
c × 73
mplabx × 52
usb × 48
uart × 40
mplab × 38
programming × 37
embedded × 34
integrated-circuit × 32
spi × 32
i2c × 28
xc8 × 28
interrupts × 27
adc × 26
timer × 24
pickit × 24
microprocessor × 23
assembly × 20
arduino × 19
ethernet × 19
can × 19
pwm × 14
atmel × 14