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

-2
votes
0answers
12 views

Driving OTA5182A controller using PIC

I want to Drive A LCD graphic Display which uses OTA5182A Controller Link http://www.phoenixdisplay.com/wp-content/uploads/2015/07/OTA5182A.pdf I will be using PIC24. Does anyone has a Example code? ...
1
vote
1answer
53 views

Can't control RB10 (and RB12) of the PIC32MZ2048ECG064 as a 'normal' GPIO [closed]

This is an excerpt from the datasheet of the PIC32MZ EC Family concerning peripheral pin select output mapping: I'm using the PIC32MZ2048ECG064. My question concerns RPB10. I would like to use RB10 ...
2
votes
0answers
30 views

PIC32MZ bootloader without development board

I would like to put a bootloader in a PIC32MZ2048ECG064. I found AN1388B, but in table 9 (available bootloader workspaces) it lists only PIC32MX devices as compatible. The datasheet doesn't mention ...
0
votes
1answer
74 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
15 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 ...
0
votes
2answers
46 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 ...
1
vote
2answers
91 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
174 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
43 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
64 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
46 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
67 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
63 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
105 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
212 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
33 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?
1
vote
0answers
50 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
151 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
38 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
1k 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
58 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
116 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
26 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
40 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
95 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
81 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
58 views

MPLAB X CONFIG2 Error

While compiling my SPI Test code, I am getting a following error. ...
-1
votes
1answer
99 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
117 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
53 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
3answers
80 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
54 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
201 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
82 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
151 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
130 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
258 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
59 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
97 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
234 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
63 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
99 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
143 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
28 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
30 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
75 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
95 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
142 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
62 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.. ...