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

1
vote
1answer
32 views

how to set up SPI communication between a STM32F746ZG and a MCP2515

I am trying to communicate my STM32F746ZG microcontroller with a MCP2515 and am having a problem where I don't believe the MCP2515 is receiving anything I have sent via SPI. The reason I have come to ...
3
votes
2answers
77 views

Pic16 Timer0 puzzle

INTRO The whole point of a timer with overflow interrupt is that the interrupt will trigger on a precisely timed interval - so long as the code executed in the interrupt doesn't take longer than the ...
1
vote
0answers
20 views

EEPROM in Simulator for Microchip Pic18f

When programming a Microcontroller from Microchip using Pic18F and using XC8 Compiler, can i use Simulator to test / verify it ? ...
0
votes
0answers
14 views

creating port pin's Array in Hi-tech C

I am using pic16f887 microcontroller and using Hi-tech C compiler. I want to implement port pin's Array in Hi-tech but it is not allowing me to do so. What is the correct way to access pin address ...
0
votes
0answers
47 views

Regarding RN4020 and MSP430 interface

I have recently started working (no previous experience of working with BLE) on BLE2 click module (RN4020), I could successfully connect TTL-USB cable to my laptop and could communicate with the ...
3
votes
1answer
173 views

PIC outputs while programming

Does anyone know what the state of the PORT pins are on a PIC when flashing the part? I am running a PIC 16F916 with an ICD3 programmer, and the IO pins are performing various functions, and need to ...
1
vote
1answer
49 views

Problem with pic24f code

I'm trying to write some code that waits for a pin to change before continuing but it doesn't work. The code that I already have is: ...
0
votes
1answer
49 views

How clock signal is distributed in Microprocessor chip? [closed]

How clock signals are distributed in Microprocessor. I have been searching over the internet but nothing found useful. To complete process certain clock periods are needed 4 or 80 cycles.How signal is ...
2
votes
0answers
75 views

XC8 pointer issue

I am struggling with the following code: ...
1
vote
0answers
31 views

Bootloader for PIC33FJ64GP706A - AN1094

I am trying to use AN1094 application Target source code and x86 source code for the target PIC33FJ64GP706A. In given source code example linker file attached 710 series uC. Replaced with 710.gld with ...
0
votes
0answers
41 views

ISIS Simulation “is not running in real time due to excessive CPU load”

Here is an animation showing the problem in action : https://gfycat.com/ImmaterialNextGermanshorthairedpointer I press Play, it works, I stop and play again, it stops working until I remove the ...
0
votes
1answer
50 views

Loading a HEX file with PICkit 2

I'm trying to upload a hex file, generated from multiple C source files with xc8 in Proteus, into a PIC18F4520. Usually, I don't have any problems doing this but ...
0
votes
0answers
53 views

PIC18 strange bug

I am experimenting with the PIC18F46K80 in assembler with MPLAB 3.30 and MPASM 5.67. While execute some simple programs I noticed a strange bug which made it impossible for me to use the PIC in any ...
0
votes
1answer
40 views

dsPic33f : How to interface ECAN with CAN High/Low Signal

I want to start communication between (dsPic33f) ECAN_Module & PCAN-USB ADAPTER I have downloaded a demo code AN1249 from microchip website. I am using Explorer-16 board for Testing. Now the ...
0
votes
3answers
100 views

Can opamps marked as single supply be driven from a dual supply?

Can an opamp designated as a single supply opamp be driven from +/- dual supplies as long as its within the VDD - VSS range? I'm looking at this particular opamp from Microchip.
0
votes
1answer
92 views

CAN protocol : How to start with CAN interface with Microcontroller [closed]

I want to communicate with VFD (variable frequency drive) via CAN open protocol. I have never used CAN before. So can anyone Guide me from where Should I start with ? Any link or Suggestions would ...
0
votes
0answers
75 views

BLDC Motor : Control Speed digitally using Microcontroller

I am stuck with a logic to control the speed of BLDC Motor via Microcotroller. I have a BLDC Motor with Electronic fitted. It requires following signal to drive : +24v 0v or GND Enable ...
0
votes
1answer
24 views

dsPICDEM MCHV-2 Development Board motor connection

I have dsPICDEM MCHV-2 Development Board and three phase induction motor. I don't know how to connect the motor to the development board. I have connected three lead wires of the motor to the three ...
2
votes
1answer
54 views

FFT Bin Problem with external 24 Bit ADC(FFT bins changing with time)

Currently I am working on one project that includes 24 Bit external MCP3919 and MCP3914 ADCs and Tiva C series 32 Bit MCU. I am trying to calculate harmonic values of input signal. I am using CMSIS ...
0
votes
2answers
131 views

PIC16f877A: Working in Debug mode not working in Release mode

I am facing an Issue with my PIC16f877A controller. Its working in Debug mode with PicKit3 connected. But when I program the device for release mode, It gives no sign of working. I am using MPLAB X ...
0
votes
2answers
92 views

What is the difference between ISO/IEC 14443 and ISO 7816 smart cards

I am trying to build my own smart card decoder and I found that the smart card with the most popularity in terms of security and utility is the Mifare Desfire EV1 which is pretty much industrial grade....
0
votes
1answer
50 views

If current consumption of serial flash SST26VF064B is 15mAq104MHZ then at 50MHZ it is 7.5?

I am Mohan working in Germany. For my data logger project i choose SST26VF064B serial flash. My data logger should consume lowest power possible. I see that SST26VF064B is consuming 15mA@104MHZ. In my ...
1
vote
1answer
87 views

Problem with Ethernet controller ENC424J600

I have recently produced a number of prototypes using the Microchip ENC424J600 Ethernet IC. I can't a full circuit diagram as this is a commercial product but I have reproduced the relevant part of ...
-1
votes
3answers
99 views

Questions about CAN bus [closed]

I am using the PIC18F2680 built-in CAN module along with CAN MCP2551 transceivers, and I am using the plib library for CAN2510 functions. My question are: Should we use twisted pair wires (like take ...
0
votes
2answers
101 views

Using UART's TX & RX for Separate Functinality

I am using PIC18F4520. The project requirement is to interface GSM module with uC as well as receive commands from PC via serial port. to achieve this I have connected Microcontroller- TX to GSM ...
1
vote
1answer
207 views

I2C protocol between PIC32mx and Arduino Uno

I am implementing a way to transfer data using I2C protocol between PIC32mx and Arduino Uno. I've decided to establish PIC as master and Arduino as slave. I passed by all the definitions and configs ...
0
votes
0answers
23 views

MCP391X Series External 24 Bit ADC Software Reset Problem(SPI reading behaves weird) [duplicate]

I have a strange problem and I couldn't find a solution for 1-2 months!!! In my system I have MCP3919 and MCP3914 24 Bit external ADCs. PWM pin of MCU generates 4MHz clock for ADC main clock. And my ...
0
votes
1answer
67 views

Toggle switch as momentary with debounce

I have been trying to do the following: When a toggle switch is flipped down, the pic I'm using (16F1503) sends a pulse and turns on a led, when it is flipped up sends the same pulse and turns off the ...
0
votes
1answer
126 views

UART only returns the same character

I am trying to create a program that contains UART using the PIC18f25j50 device. I have attached my creation so far which is a simple program that outputs a single character repeatedly to the console ...
4
votes
1answer
275 views

UART Interrupt does not get more than one Char - PIC32MX110F106B

I am really struggling with an UART communication with my PIC32MX110F016. It is the first time I am trying to implement an UART communication with PIC32MX family but I find it difficult and I don't ...
0
votes
0answers
66 views

AR1020 correct I2C communication protocol

i have a problem in the right sequence of I2C communication protocol to communicate with the attached device AR1020 Microchip touch controller so does any one have the idea of the correct sequence ?...
1
vote
2answers
79 views

Design Questions for a Nixie Tube Clock

I'm making a Nixie Tube Clock as a project for a class. The whole point of the project is to essentially to do it from scratch. I'll be designing a PCB for the project and I want to put the ...
-3
votes
1answer
258 views

Software i2C communication protocol “MikroC for Pic” halting problem

I work with Pic16f688 , and i do a soft i2C MikroC for pic compiler does not supply its libraries functions code this is the whole code i use for MCU ...
0
votes
1answer
69 views

pic18F4550 code protection

I use PIC18F4550 in my board and it is "read protected". But I want to have more security by changing the part number of the micro to another part number. This way if someone cracks the code, the code ...
-1
votes
1answer
123 views

PIC C program flow problem XC8

Problem: My C code is not running to the end. To test my EEPROM read and write, I decided to write a simple array and read it back to different array using a PIC. However the problem is not the ...
1
vote
1answer
46 views

Resolving interrupt-on-change mismatch conditions in a PIC16F877

I am using pic16f887 to quickly simulate encoder to later use it in a bigger project. reading signals from A and B encoder using interrupt on change for portb and the program was : ...
-2
votes
2answers
157 views

Count external clock pulses for a predefined time interval (PIC16f877a)

I need to count external clock pulses for a predefined time using PIC16f877a. I don't know what to use, whether counter or timer or both. I don't know to use timer and counter modules of PIC16f877a. ...
-3
votes
1answer
94 views

What is the DIP IC abbreviation? [closed]

If I am being correct, DIP means that some microcircuitry is embedded into uniform plastic or ceramic casing, which makes it more robust to physical damage and allows to connect to the breadboard or ...
-2
votes
2answers
61 views

Led matrix display atmega32

I need help with an LED matrix I am building for my son, running from an atmega 32 and a BC818 transistor. I have the schematic from http://dhassel.de/projects/cool/led-matrix-display/ In the ...
3
votes
3answers
190 views

Industrializing a PIC micro-controller

I want to replace some timers with a PIC16F887 micro-controller. The problem is that the input voltages to the I/Os is going to be 24V which is too much. For the output part I was thinking about using ...
0
votes
1answer
93 views

How to calculate the Timer Preload Properly on PIC32MX575F

I am trying to achieve 1 second on a timer in PIC32MX575F but somehow I am not reaching what I want. Some people says I have to look into the the PLLDIV, some other people says I should look into the ...
0
votes
1answer
272 views

PIC32mx UART to Bluetooth RN4020

I am trying to establish an UART comunication between PIC32MX110F016 and a RN4020 Bluetooth Module. I am new on PIC32mx but I think I am doing enough code/configuration for them to comunication but ...
-1
votes
1answer
100 views

Interrupt INT0 on PIC32MX110F016 not working

I am trying to put the INT0 working in a PIC32MX110F016 but it seems it never goes there. The INTO pin is Electrically powered with a pull-up resistor and when I press a tactile button it goes from ...
1
vote
1answer
113 views

Programming Pins (PGC/PGD) problem on PIC32mx

I made a design using PIC32mx and everything is working well. I was trying to debug my first program and for this case instead choosing PGEC1 and PGED1 I am using PGED2 and PGEC2. Problably that's the ...
0
votes
1answer
76 views

PIC32mx110F016B Programming issue

I am trying to program a PIC32mx110F016B with a PICkit 3 with the "Power target circuit from Pickit3" enabled at 3.25V. When I am trying to program this small code ...
0
votes
1answer
91 views

PIC32mx Timer5 not working

I am struggling to put my Timer5 working properly. I think I have enabled all the registers but the interrupt never occurs. I already put a break point inside in the FingerprintRun() in the asm("nop") ...
0
votes
2answers
336 views

Which MPLAB-X version supports Pickit 2?

I got myself a Microchip Pickit-2 Programmer from a local store. I installed MPLAB release v2.26 from Microchip's website. However, in this version of MPLAB, it is not detecting my Pickit-2. ...
0
votes
1answer
203 views

Bit Banging UART PIC32mx

I am trying to bit banging an UART Port using PIC32MX with timer5 (the only available at this time) but I am struggling how to configure the timer for a Baud Rate of 115200bps. I don't want a flow ...
0
votes
1answer
96 views

Fingerprint Reader on Pic32mx

I am struggling in trying to put a UART Port working (no flow control and no parity bit) in a PIC32MX in order to comunicate with a Fingerprint for too long, so I decided to get back to you guys. I ...
0
votes
2answers
137 views

pic16f877a problems

I'm pretty new to the pic. I've made a really long circuit on proteus, ran my program, things worked out great. I then moved on to the breadboard, nothing really worked. I made another prpgram that ...