Microchip Technology is an IC manufacturer, best known for its extensive range of PIC microcontrollers, but also memory and analog function ICs. The term "microchip" is a legacy term for integrated circuits, not just ones designed by Microchip Technologies. The company came into existence and took ...

learn more… | top users | synonyms

0
votes
1answer
31 views

How do I get a firmware .hex running on a PIC18F2550?

I've been playing with this data logger board that's based on the Microchip PIC18F2550, but my application requires a lot of analog front-end signal conditioning. I would like to combine everything ...
0
votes
0answers
12 views

PIC10F202 configuration bits MCPU and IOSCFS_4Mhz

So I have the following code which orginally had the __CONFIG line uncommented apparently this is depreciated in recent versions of the XC8 compiler from Microchip. I found the #pragma config ...
-1
votes
0answers
35 views

how to make a cortex m4 development board? [on hold]

I made my first own development board, with an 8-bit AVR mc (382p). Next I would like to make my own development board with an arm cortex m4(much harder). But I can't find any useful information. ...
0
votes
2answers
36 views

Read and Write Protection to pic18f4520?

I am working on pic18f4520 using MPLAB C18 compiler. I have just completed a project (Asked questions about it earlier,see my other posts) and now I want to lock the data of the micro-controller so ...
0
votes
0answers
23 views

PIC32 and I2C EEPROM interface problems

I am writing code for a PIC32MX250F128B to interface with the Microchip 24LC02B EEPROM with I2C interface. I have followed the datasheet of the EEPROM, the PIC32 and section 24 of the PIC32 family ...
0
votes
2answers
151 views

How to blink LEDs with different frequency?

I have a pic32mx and three LEDs. [datasheet pic32mx] (http://hades.mech.northwestern.edu/images/2/21/61132B_PIC32ReferenceManual.pdf) I need a function that gets the number of LEDs and frequency, and ...
0
votes
1answer
32 views

Problem with XC8, RX interrupt [PIC18F4550]

I have a problem with my interrupt and I don't know why. I want to use an interruption each time I receive a data from my RX port. So, I used the interrupt on the port RX of my microcontroller. My ...
0
votes
1answer
56 views

Avoid Overrun Error in PIC18F46K80

I am using PIC18F46K80, at a baud rate of 115200, a Stop Bit of 1 and no parity. I am sending data from a C# application(Baud Rate 115200, Stop Bit-1 and No Parity) to the PIC. After send some bytes ...
0
votes
0answers
38 views

Pic24F: #define I/O pins?

I am trying to #define Pic24f I/O Pins with user defined Name. here is the part of my code : ...
0
votes
3answers
66 views

Capacitor rated for 100vdc on 5vdc board

As the title says, I have capacitors rated 100VDC 18pF. Can I use these on a board that uses 5V Max ? I can't really find any direct answer to that question. What I want to do is to put a crystal to ...
0
votes
1answer
36 views

PIC Kit 3 - PIC32 memory mismatch error

after I worked for a while with the PIC16 microcontrollers, I wanted to get known to PIC32 microcontrollers. But I have a problem. If I try to run a simple program on the PIC32MX110F016B or on the ...
0
votes
1answer
93 views

PIC24f: How to Generate Start condition using SPI for I2C device?

I am trying to communicate with the device having internal communication as I2C while externally it has two different pin for Input & Output along with a separate pin for Clock. Here is the link. ...
1
vote
3answers
177 views

PIC32 does not have Memory Managment Unit, why would a high end microcontroller not have such a peripheral

MMU is needed to run Linux and perhaps for other tasks related to OS. However, the PIC32 does not have one of these. Why would someone make a high end microcontroller and not include a MMU? It may ...
-1
votes
1answer
32 views

Where can I find schematics for the Microchip development kits?

I cannot find schematics on the page of development boards. Is it possible (generally) to get schematics of PIC development boards developed by Microchip?
0
votes
0answers
35 views

Simulating Microchip TCP/IP Stack on Proteus

I have tried so hard to work with the Microchip TCP/IP, basically to do a simple simulation on proteus. The major issue is that for most people who have successfully done this, they don't really give ...
2
votes
3answers
115 views

Why do I have to disconnect and reconnect the Microchip ICD3 after every programming?

I'm having a problem with the Microchip ICD3 programmer. I'm getting connection problems, connecting to the programmer itself, even when using the selftest mode with the Microchip-provided selftest ...
0
votes
0answers
33 views

Multiple bytes of data not being read from PIC18F46K80

I am trying to receive multiple bytes of data from the hyper terminal to PIC18F46K80. This is my source code ...
4
votes
4answers
970 views

Checking when a car horn is pressed?

I want to detect when a car horn is pressed. The only way I can detect it currently is using the voltage on its line. When the car is turned on, there is always 12V being supplied to the horn through ...
0
votes
1answer
56 views

ASIC Power supply requirements

I am a newbie in ASIC design process and have a question. What is difference (or pros and cons) of shorting the voltage supply pins(which have the same voltage requirements) in package level or in ...
0
votes
4answers
108 views

Can this ATMega328-PU ATMEL microchip be used instead of MCP3008

I wanted to follow this tutorial as a first project. I've got all the parts I need, but I could not purchase the chip that was linked in the article. So I found another chip that sound similar (To a ...
-1
votes
1answer
24 views

Current limit on data out pins of Microchip HV5623

I am working on a project that uses the Microchip HV5623K7-G Serial-to-Parallel converter. As part of the design process I need to determine what would happen if the board I am designing is plugged in ...
0
votes
0answers
36 views

Standalone Ultrasonic speaker with preprogrammed frequency

I've been toying around with some Piezo speakers for my Arduino. Now I've been wondering if there is a way to remove the Arduino from the equation. It only serves as a power supply for the speaker. ...
0
votes
1answer
68 views

Help with On/Off Flip Flop Switch

I'm still fairly new to electronics and have been teaching myself as a hobby. Currently I'm working on a project that detects a red laser beam, and once detected will turn AC lights OFF if they're ...
0
votes
3answers
79 views

RAM and stack memory

I'd like to know what is the difference between RAM ( data memory ) and the stack memory in PIC micro controllers if both of them is volatile( not sure about stack ) and the stack is temporary memory? ...
17
votes
8answers
4k views

Why do Microcontrollers need a Clock

Why do instructions need to be processed at set time intervals (i.e. with the use of a clock)? Can't they be executed sequentially - immediately after the previous instruction has completed? An ...
0
votes
0answers
51 views

MPLAB X CONFIG2 Error

While compiling my SPI Test code, I am getting a following error. ...
-1
votes
1answer
56 views

MPLAB X IDE : Cannot see console output using Pic24F?

How to see the console output using command "printf" ??? example : if i want to display "Hello World" on output screen. How to display it ?? I am using Pic24F on MPLAB X IDE v3.00 Thanks in advance ...
0
votes
0answers
86 views

PIC18F: Flash Write/Read working on Simulator but not on PIC18F46K80

I have been trying to read/write and erase flash memory of PIC18F46K80. I have followed the procedure specified in the datasheet. The below code works on the simulator of MPLABX at the address ...
0
votes
0answers
51 views

Help in understanding a question so that i can answer my assignment

A single conversion is to be applied to the analog signal connected to input of Channel 5 of A/D 0 of the MC9S12DB256B microcontroller. The conversion is to be triggered by software. Give the ...
0
votes
2answers
52 views

PIC24f Get Clock Signal for external Device?

I have an external memory device with pin configuration: Data Input Data Output Connection System CLock DC 24V Ground Here is the link I need to design a code to communicate with this device. I ...
0
votes
0answers
51 views

Write serial number into a PIC24 series.

I want to write a serial number into a PIC microcontroller using SQTP (Microchip's Integrated Programmer Environment). They mentioned some supported programming tools Supported Programming Tools ...
1
vote
1answer
183 views

How to write 4 bytes continuous data without any SCK delay through SPI with Pic18f45k20

In pic18f45k20, I have to write 4byte data at once without any setup SCK delay through SPI. Is there any way to cancel the SCK delay while sending 4 bytes together?(like Assembly)I am using MPLAB-XC8 ...
0
votes
3answers
68 views

Microchip PIC Development with OTP Devices (12C672)

I have to work on a system that uses 12C672 PICs from Microchip. These are one-time-programmable (OTP) devices. The board has been designed already without any in-circuit programming facility. How ...
1
vote
2answers
138 views

I2C Module Not Responding

I am writing a basic I2C slave as part of my code on a 20-pin 8-bit PIC16f MCU. As best as I can tell, this microcontroller has a module that watches the I2C bus and only updates my registers if there ...
2
votes
1answer
109 views

PIC Microchip Keeps Resetting

I have a PIC16LF1709 20-pin 8-bit microchip MCU. I am programming it using a PICkit 3. I am able to successfully burn a program to the chip and run it, but it always seems to reset part-way through ...
0
votes
3answers
216 views

64k x 8 RAM what exactly does it mean

I'm looking at this microcontroller because it has the protocols that I want and a really interesting price. My doubt is related with this field: RAM Size 64K x 8. What exactly does it mean? I know ...
2
votes
1answer
48 views

XC8 Interrupt function qualifier

Referring to the XC8 user manual, DS50002053E, section 2.5.10.3 the following is stated: For 8-bit compilers, change any occurrence of the interrupt qualifier e.g., from: ...
2
votes
1answer
73 views

Understanding PIC32 watchdog timer operation

I'm new to uC development and have been fooling around with the PIC series for about 6 months now. I recently started working with the PIC32 and Microchip's XC32 C++ compiler. I don't know if I have a ...
1
vote
2answers
156 views

convert Unsigned Int to array of chars (String)

EDIT: I am using this for programming a pic, so the C will be quite limited. The compiler is XC8. Following function expects me to pass a string: ...
1
vote
1answer
57 views

How to reset MCP2200 to default settings?

I designed a simple USB to UART coverter using Microchip's MCP2200 microcontroller. worked nicely for a while, but while i was trying to Update configuration using supplied config utility... the ...
2
votes
1answer
94 views

Is my lookup table with 50,000 entries too big for MCU memory (dsPIC33EP256MC506)?

I want to implement a 2-input 1-output fuzzy logic controller using lookup table on the dsPIC33EP256MC506 microcontroller. I am comparing the lookup table and actual fuzzy logic controller side by ...
1
vote
1answer
116 views

PIC 16F887 and the mysterious System Clock Select bit (SCS)

I'm using a PIC 16F887 and I'd like to use the internal oscillator HFINTOSC. To accomplish this, I set the IRCF 2:0 bits to 110 (4Mhz prescaler) and the FOSC 2:0 config bits to INTOSC. Now I should ...
0
votes
1answer
26 views

VDD Error with 18F24J10 after turning off XINST

I am using a PICKit2, pk2cmd, and SDCC to program a PIC18F24J10. In the course of troubleshooting some problems I was having with my code, I upgraded to SDCC 3.4.0. Compiling with the latest version ...
0
votes
0answers
27 views

EEPROM 24LC16B pickit2

I'm having difficulties getting my pickit2 (I have a pickit3 as well but it does the same) to work mplab v8.92 to program the 24lc16b. on the microchip documentation it says it should work but when I ...
-2
votes
1answer
70 views

pic debugging vs programming

I'm using a Microchip ICD 3 to connect to my PIC chip and read the memory. When I connect the ICD 3 as a "programmer" and then select "read" (from the "programmer" menu) and then "View-->"File ...
0
votes
1answer
91 views

2.2K Resistors on Microchip Data Input Lines [duplicate]

I've just been dabbling for the first time into circuit design with microchips and I noticed a lot of designs put 2.2K or 4.7K resistors on some input lines. I get that this is to limit the ...
0
votes
0answers
119 views

How to use printf(), scanf(), gets() etc with *both* USART's?

I'm using a PIC18F26K22. It has two USARTS. The compiler provides a printf() function, and the user provides the underlying getch() and putch() functions. However, using Microchip Code Configurator, ...
0
votes
1answer
55 views

can't get PORTB value in pic18f2550

I'm trying to send The PORTB to the serial port and receiving the data on pickit2 UART mode.. ...
2
votes
1answer
143 views

Inserting compile date/time into the code in XC8

I'm in the process of writing code for a real time clock, and I want to compile the code with constants for the date/time of compilation to burn onto the clock immediately upon programming. I believe ...
0
votes
1answer
42 views

How do implement my pic24 onto a pcb board?

I have a microstick development board for the pic24, shown here. The microstick contains many other components and parts other than the pic24 that are used for voltage regulating, debuggers, etc. In ...