Microchip Technology is an IC manufacturer, best known for its extensive range of PIC microcontrollers, but also memory and analog function ICs.
1
vote
2answers
74 views
Microchip DIY starting from Verilog
Given the Verilog description of a chip how what are the steps necessary to implement it in hardware and how would a person DIY something like this?
For a specific reference. I was looking at the ...
2
votes
2answers
129 views
Why do some Integrated Circuits get so hot?
I was reading an article about Radeon 6990 recently and it was recommending 1200 Watts of power supply and the entire machine to be kept dipped in mineral oil because air cooling would kill it in a ...
1
vote
1answer
113 views
How to understand the block diagram of microcontroller Architecture
I am started learning pic18f4550 controller . I find it difficult to understand the architecture block diagram . i cant understand how peripherals, cpu core (eg ALU), data bus , program bus are ...
0
votes
2answers
104 views
Interfacing a MCP23S17 (SPI) with a FPGA
I am working with a MCP23S17 SPI I/O expander chip in a VHDL project on my Basys 2.
At first glance I thought this was just a simple SPI interface where I put the chip select low and it will give me ...
2
votes
2answers
80 views
Where are the UART Rx and Tx pins on a dsPIC33FJ32MC202?
I'm a beginner to micro-controller and now learning Microchip's dsPIC. I'm trying to use UART with RS232 to communicate with my laptop, but I can't find out where the Rx and Tx pins are on the chip.
...
5
votes
3answers
370 views
Fastest way to toggle a bit in ASM
What's the fastest way to toggle a bit1 in MPASM for the 14-bit enhanced instruction set? (I'm working with a PIC16F1829)
The code has to be standalone - I mean that it can be called on any moment, ...
1
vote
1answer
57 views
How to get 10bit data of ADC using SPI protocol
I am doing Single master multiple slave implementation.
Master - PIC18F4550
Slave - PIC18F4520
A potentiometer is connected to the Slave. Slave will convert the Potentiometer value to digital and ...
3
votes
1answer
54 views
Figuring out the functions of PIC numbers in a data file
I'm using Bumblebee software to interface my Wisp648 PIC programmer. According to the list of supported files for the Wisp, I should be able to program a PIC16F1829. However, that chip isn't supported ...
0
votes
0answers
17 views
SPI based WiFi support for SSV module DNP/9200
I am using Embedded SSV module DNP/9200 in my current project of an Ethernet gateway. I am using the TCP/IP stack by SSV with kernel 2.6. Now I want to support WiFi for this product using the ...
1
vote
4answers
169 views
which RPM measurement method is suitable?
I have a PMDC motor which is electronically controlled for speed. And it is a closed loop system. A proximity sensor is there to measure the speed of the motor and there are 12 bolts attached to the ...
1
vote
1answer
48 views
PIC16: Out of Data Space - Make use all available banks
I'm using a Microchip PIC16F1825 with the XC8 (v1.12) compiler and defining some arrays (size between 16 and 64 bytes). I was able to declare them (linker output below). However, as soon as I try to ...
-2
votes
3answers
102 views
How was the first programmable microchip made [duplicate]
Microchips have to be programmed to function. But if programmers (computers) are needed to program it, and they use microchips, how was the first one made?
5
votes
2answers
135 views
Is there any possibility of dissecting a microchip to get data from its internal memory?
There are many devices that perform various cryptographic operations inside their microchips. One of their key feature is that the secret keys are stored inside of the hardware and never leave it. ...
1
vote
2answers
115 views
USB device with a serial number and 3 LEDs
I'm looking for a way to build a USB key. I have a bit of experience with the Arduino, however for this project that seems to be a bit of overkill.
The key should contain a unique serial number ...
2
votes
2answers
124 views
Boost converter to 5V
I'm searching for a boost converter to convert up small voltage (min 0.5V / max 81mA) to 5V.
(the smaller the better)
Can you recommend a special type number?
0
votes
3answers
315 views
How to learn dsPIC UART program based on PIC USART experience?
I've learned USART of PIC16F883, and I want to learn UART of dsPIC33FJ64MC802.(Actually I need to learn dsPIC, but I learned PIC16F883 first since I thought it's easier to learn.)
Here's my circuit ...
6
votes
3answers
265 views
Switching from PIC to AVR [closed]
I have worked with PIC16 and PIC18s for over three years now and would like to get to know AVR as well. I have no specific project in mind, but would like to try around with the different ...
6
votes
3answers
154 views
How to calculate day of the week for RTC?
I am using MCP7940 RTC from microchip it requires to enter the day of the week as part of updating RTC with date. So how should I calculate day of the week based on the date provided by the user ?
5
votes
3answers
302 views
Ethernet connector and transformers
I'm working on an Ethernet connection for a PIC18F4620 with the ENC28J60. I found a useful article here, with a schematic:
I see I need transformers between the RJ45 connector and the Ethernet ...
2
votes
1answer
98 views
Would a high priority interrupt interrupt another high priority interrupt?
In the datasheet of the 18F4620 and others, section 9.0 (page 91), I read:
The PIC18F2525/2620/4525/4620 devices have multiple interrupt sources and an interrupt priority feature that allows most ...
0
votes
0answers
102 views
RF Link with APC220 between two PIC16F877's
I am attempting to communicate through a RF link between two PIC16F877's using APC220 Radio Transients. When the PIC UART's are connected with wires between TX and RX they communicate just fine, but ...
0
votes
2answers
99 views
Read from UART seems to overwrite while in buffer
I am reading sending data to a PIC32MX7xx using UART. The data frames are all 6 bytes long, no exception.
The problem I am facing is that when there are 6 bytes waiting to be read and I send another ...
6
votes
3answers
251 views
How do I program a PIC12?
I have a PIC12F675 that I need to program. I'm using a Pickit 2 and the Pickit 2 software. Supposedly I should be able to program it using this circuit, but the Pickit 2 software is not detecting the ...
0
votes
2answers
52 views
Best Option for converting & processing multiple analog data lines
I am looking for a good Microcontroller (or DSP or other device if they are more applicable) option that has a reasonably large amount of analog input data lines (preferably > 10 analog input lines) ...
-3
votes
2answers
130 views
Can someone copy a gps device we make?
We plan to build a GPS device for our local community which will act like an electronic guide. The chip inside will contain GPS coordinates of important sites in our region as well audio guides.
...
1
vote
2answers
110 views
I2C with PIC32 and MCP4706 Not Working
We're working on a battery charger for an electric bicycle at the moment, but prototyping with a PIC32MX695F512H kit board and an MCP4706 DAC soldered onto a breakout board, programmed using a ...
3
votes
3answers
165 views
Why pic18fxxx microcontrollers is better for C language
Pic18fxxx family has a lot advantages and improvements from the pic16fxxx family of microcontrollers. What is the particular feature that make them better for C programming than the pic16fxxx devices? ...
5
votes
2answers
136 views
Save energy with PIC project
I want to implement a device with 2 push buttons. When I press the first button, it will increment a counter. When I press the second, the number of times the first one was pressed (counter content) ...
0
votes
1answer
180 views
RE: USART @115200 on PIC18 explorer (PIC18F8722)
I have tried to initialise UART1 and communicate with a PC with no success @115200, as the SPRTG register, which needs to be 4.4253, cannot be so without introducing a large error.
The board has ...
1
vote
1answer
118 views
dsPIC: Using FRC and OSC2 as an I/O pin
My question is about using FRC as an oscillator source and OSC2 pin as an I/O pin.
In several different manuals on dsPIC30F chips (ex: DS70139G, page 126) it is written:
...
-1
votes
1answer
56 views
wireless communication for identification purposes [closed]
I am working on a project that requires me to have a microchip installed on an electronic device and can also be identified by a scanner. The electronic device may be a car, so I need
microchip ...
4
votes
1answer
76 views
Would it harm a LiPo to charge it in several periods?
I have a 3.7V 5000mAh Lithium-Polymer battery cell, which I'm charging with the MCP73831, using the typical application circuit on page 1:
I have \$R_{prog}=2\text{K}\$ and \$V_{in}=6.0\text{V}\$. ...
4
votes
1answer
98 views
RGB and SRGB difference and their use
I am working on a project which include displaying RGB colors. I would like to know what is the difference between RGB and SRGB. Is it possible to have srgb colors in led. As SRGB has been used for ...
1
vote
1answer
86 views
Circuit breaker selection that can be tripped with a microcontroller
I am designing a system that will simulate an upstream fault with a micro-controller action. the micro-controller will send a signal to a circuit breaker to simulate a line to ground fault(just like ...
0
votes
0answers
75 views
Data loss between parsing and displaying on an 8 by 2 LCD
I'm trying to display strings that are larger than eight characters on the top row of am 8 by 2 LCD by making them scroll across the screen. I'm using a PIC16f1936 microcontroller and MPlab x IDE.
...
0
votes
2answers
159 views
General Questions about PIC24 MCU Input and Output Pin Impedance, Voltage, and Current
I'm having a mental lapse. Try and help me make sense of a few basic things concerning microcontroller pins at the hardware level, please!
Correct me if I'm wrong… in the circuit of Figure 1 (see ...
0
votes
2answers
180 views
Using the C18 compiler on Mac OS X
I'm currently in a microcontrollers class, one where we use the PIC18F4550 and must use the C18 compiler (something Windows oriented and used for grading). I'm trying to install this on Mac OS X, and ...
0
votes
0answers
143 views
Compare result from UART
I am using an UART connection to a WiFi module.
The module uses commands to be configured.
I want to check the response of the module ("AOK") to know if the commands are interpreted correctly.
My ...
6
votes
1answer
161 views
dsPIC chips running at a fraction of normal speed
I have two PCBs. One has a dsPIC30F6012a, the other a dsPIC30F6015. Both are being programmed from separate standalone HEX projects in MPLAB X, using a PICkit 3. Both firmwares have been applied to ...
7
votes
3answers
373 views
Absolute address of a function in Microchip XC16
Device: dsPIC33FJ128GP802
I have some *.s files as follows
...
-4
votes
1answer
118 views
Starter PICs in all device families [closed]
I want a list of PICs that are easy to start with in every device family. That is:
8-bit: PIC10, PIC12, PIC16, PIC18
16-bit: PIC24F, PIC24H, PIC24E
16-bit ds: dsPIC30F, dsPIC33F, dsPIC33E
32-bit: ...
-2
votes
1answer
152 views
RGB using PWM and PIC24FJ64GA002-I/SP C code [closed]
I am working on a RGB project using PWM. I need help in C- code. I want to display different colors from LED. But due to my small info of C- language it is difficult. Is there any guy can help me in ...
5
votes
2answers
773 views
Using multiple external interrupts in PIC
I've used PIC16F877 (datasheet) for several projects. For a single external pin change interrupts, you can use PORTB0 interrupt. ...
1
vote
2answers
280 views
Properly simulating a NAND gate? (I'm building a computer in my computer)
I am about to embark on a project, enspired by Nand2Tetris (http://www.nand2tetris.org/), to fully simulate a computer, building the entire thing up from NAND gates.
I want to simulate everything ...
3
votes
1answer
167 views
MCP6N11 reference voltage problem
I am using the MCP6N11-010 in a current sensing circuit (Battery charger). i would like the output of the INA to show the difference in inputs starting from 0v going up to VDD but cant seem to get the ...
1
vote
4answers
169 views
Is it fairly common to fry a programmer during the learning process of PIC programming development?
Background:
Despite having a degree in Computer Engineering, working for 2 years as a vb.net developer, and someone that enjoys messing around with electronics. I've narrowed my buying options down to ...
0
votes
1answer
154 views
Problem with PIC18F46J50 family USB enumeration
I am having an issue with getting my PIC18F46J50 device enumerated. I think this is the problem because when I plug in my device, I get the "USB device not recognized error". Also, PID and VID are ...
3
votes
1answer
809 views
How to offset program location in memory with MPLABX XC8?
I have a bootloader residing at locations 0x0000 to 0x0fff on an 8-bit PIC18F. How do I tell the XC8 compiler to output a hex file which starts at 0x1000?
With a CCS compiler my friend is using, he's ...
9
votes
3answers
1k views
How realistic is the famous “Bill sux” picture of a chip internals artwork?
There's an urban legend that some version of Intel Pentium chip had "Bill sux" caption somewhere on the circuit. The legend is accompanied with this picture:
Now let's assume for a moment that the ...
3
votes
2answers
260 views
DsPIC development board recommendation
In a few months I should begin developing a power converter and I was told I should get used to dsPIC. The currently used model is "dsPIC30F6010" which is kind of "old" (compared to the newer ...
