Questions tagged [microchip]

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 the name after the term became common parlance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
23 views

How to forward Interrupts to application without EZBL in dsPIC? [on hold]

I am working on a bootloader for dsPIC and I am using EZBL Library for the same. The only thing I use from the library is EZBL_ForwardAllIntToApp() function call. ...
-1
votes
0answers
44 views

Communication between a microcontroller and a Linux machine [closed]

How to create my own communication protocol to communicate between a pic micro-controller(has USB stack) and a linux machine using usb port?
1
vote
1answer
116 views

PIC18F67K40 - Failed to get device ID

I am using PIC18F67K40 and PICKIT3 with MPLAB 8.92V for programming. But I am getting error: Failed to get device ID I have attached schematic snap of MCLR circuitry. I am able to program other ...
2
votes
1answer
68 views

Problem with 4-SMD Crystal / PIC16F1575

I'm trying to work with 32Mhz 4-SMD Crystal. (ASX3F-32M-FA100A4) with two capacitors: 10 pF (attached datasheet) The IC I choosed is the PIC16f1575. And using MPLABX-IDE MCC I performed the connection ...
0
votes
1answer
80 views

How to build a programmable LED strip? [closed]

I'm trying to build a home-made LED strip (non-RGB). It will be using single color SMD chips in array. The thought I have right now is to have 3 rows, each with about 15 or 25 same single color LEDs, ...
3
votes
4answers
117 views

Power supply circuit for a PIC16F88 Microchip

I'm coming from the world of software, where I feel quite at home - I spend a lot of time writing code. I do not feel at home in the world of electronics and designing circuits. I really REALLY would ...
1
vote
1answer
49 views

Interrupt on Change in PIC16F18877 Not Triggered

I'm trying to trigger the interrupt service routine method in PIC16F18877 microcontroller, but the code never gets into the isr() method. Not sure what and where am i going wrong. Here is the code i'...
0
votes
0answers
27 views

PIC32MX795F512H + DP83822I Transmit Error Signal

I am using PIC32MX795F512H with DP83822I as the Ethernet PHY transceiver. On the PIC32MX there is a pin for Transmit Error (ETXERR) but no Transmit Error pin on DP83822I. What should I do with the ...
1
vote
2answers
67 views

Best way to determine power consumption of a microcontroller

What is the best way to determine the power consumption of a microcontroller? Need to select the right voltage regulator to supply 3.3V for PIC32MX795F512H.
2
votes
2answers
138 views

PIC microcontroller programmer/debugger tools for beginner

I am a final year student and am going to use a PIC device for my project, so am getting familiar with it early. I will be using MPLAB X IDE to program the PIC. How is the code actually downloaded ...
1
vote
0answers
30 views

EVB-LAN9252-SPI not responding to SPI

I just recently bought an LAN9252 evaluation board from Microchip. I have communicated with the board over EtherCAT but couldn't do the same with the SPI. I have checked the PDI register showing ...
0
votes
1answer
92 views

SPI problem with PIC18LF27K42

I am facing issue using SPI with a PIC18LF27K42 in order to drive a micro SDcard. I am not very confortable with these "new" PIC18LF27K42 and i am trying to fix this issue since several weeks without ...
0
votes
2answers
54 views

How to connect PIC32MX470F512L to a micro usb connector?

I've seen some schematics and the D+ and D- of pic seem to be connected directly to the - and + of the micro usb connector. As the micro usb has a power of +5, i'm not that confident that it would be ...
0
votes
1answer
36 views

How to enable PIC16 watchdog timer for software control?

I am working on a project where I have an I2C slave application running on a PIC16F1829. I am finding that because the ISR must read the slave address, wait for a new byte, then read that byte, that ...
0
votes
1answer
34 views

Project with wattmeter in proteus works and in practice there is difference of values

in my project i'm using a current sensor ACS712 30A, for measuring current, i tested on proteus 8.6 sp3 and works ok, but in practice (using protoboard) the sensor it's accusing current without any ...
0
votes
1answer
45 views

PIC16F Byte Shift - Assembly Code

Need to shift 3bytes each in RAM buffer to the next 3 RAM locations in a circular manner. The below code is ok, but is there any compact method to do it? ...
12
votes
2answers
3k views

Is there a difference between an NFC and RFID chip?

The other day, my friend said that he wants to write an app that uses the NFC chip on a phone to read pet microchips. I told him I was pretty sure that pet microchips don't use NFC, but he said he was ...
1
vote
0answers
42 views

mcp2221 i2c CLOCK down after ACK

I am trying to control an Analog Devices programming resistor AD5254 by a USB to I2C master device from MicroChip MCP2221. The problem I am facing is that each time MCP2221 is waiting for ACK from ...
0
votes
0answers
35 views

help identify the SMD AK1629

Failed DVR Suspect that burned down this detail:prozvanivatsya short circuit in both sides can't understand which part to replace?
0
votes
3answers
330 views

How to read a specific port with ADC in Mplab Harmony?

I configured the ADC for 3 instances/3 analog inputs: ...
-2
votes
1answer
49 views

How can a watchdog timer be cleared in Mplab Harmony?

Using Mplab Code Configurator (MCC) it's easy to clear watchdog timer, for example i created a project for a PIC 16F15324T and in my code i only have to call the ...
0
votes
2answers
59 views

How to read a port by a label in Mplab Harmony?

I'm more familiarized with MCC and with that framework is really easy to read a port we just need to give a custom name in ...
0
votes
1answer
65 views

How to toggle a pin in Harmony framework for a pic?

I'm new to pic's and the harmony framework, and i'm trying to toggle a pin from high to low and vice versa in the interrupt callback of the Timer. I configured my oscillator to operate at 32 MHz or ...
1
vote
1answer
43 views

Anyone knows what is a driver implementation in Harmony?

When configuring a Timer Driver implementation the option for Dynamic and Static appears. Anyone knows, what does these 2 types mean?
0
votes
1answer
88 views

With harmony how to implement printf to uart?

I setup a project using harmony v2 for a pic32mx470f512l. In drivers -> USART i configured the UART (strange its called USART in harmony in datasheet says its a UART): Now i want to use the function ...
0
votes
1answer
68 views

MPLAB Harmony Configurator not working

After installing MPLAB Harmony Configurator from the available plugins in MPLAB (v5.05) i tried to create a new project but it seems that harmony location is not valid? I doesn't seem to have ...
0
votes
1answer
22 views

PIC32MX470F512L not appearing on harmony setup?

I installed Harmony plugin in MPLAB X IDE because i can't put this pic working with MCC. I was going to do a new project for this pic and when i was going to select it, it doesn't appear on the list! ...
0
votes
3answers
121 views

What Is the timer period of a timer of a Pic

This is causing a bit of confusion to me. I'm assuming that timer period of a timer is the time that it takes for an increment of timer. Am I correct? It works the same way for 8-bit and 16-bit timer,...
0
votes
1answer
52 views

Does the increment of a timer on pic is equal for a pic16 and pic32?

The question is because in porting code from a PIC16F15324T using MCC to a project using a PIC 32MX470F512L. There are portions of code where i have code like this: ...
1
vote
0answers
58 views

Estimating gate or transistor count for an IC

I'm messing around with calculating predicted failure rates using MIL-HDBK-217F. For microcircuits (depending on linear or digital) you need to come up with a gate count or a transistor count for the ...
1
vote
3answers
102 views

How to look at the emitted assembly code of MPLAB X IDE

I'm using MPLAB X IDE V5.05 to generate the code to program a PIC32MX470F512L. It happens that i'm having some problems in the code and i would want to take a look ...
1
vote
2answers
78 views

How to calculate instruction cycles on pic?

I want to know how much instruction cycles are each line of a program, is there a way to do that? It's important to me because i'm having a problem with the oscillator (or might be something else) ...
4
votes
1answer
56 views

PIC CCP in compare mode not changing CCP2 pin

I'm learning PIC C programming from Gooligum Enhanced C lessons. In lesson 14 CCP module there is example 4a which flashes LED every 500ms, see below: Using 16F1824 PIC I can compile in MPLAB X and ...
1
vote
1answer
57 views

What clock source is the oscillator connected at the OSC1 and OSC2 pins of a pic?

I'm connecting a Crystal SMD of 32 MHz to the OSC1 and OSC2 pins of a pic. When doing the configurations for the pic, inside <...
0
votes
0answers
31 views

Pin should be lock for sample A warning in Pic

In an ADC i'm trying to configure for a pic PIC 32MX470F512LT its giving me a warning, that like the title says, it's that the pin should be locked for sample A. I ...
0
votes
0answers
88 views

Is there a minimum frequency in PIC32MX470F512L?

I'm still an inexpirient and I'm configuring the PIC, through MCC (Microship Code Configurator) So i set in the MCC a TMR1: The configuration for the ...
0
votes
0answers
19 views

Command from Openocd to deactive Target

Can someone tell me if there is a command from OpenOcd that we can deactivate/stop the Target for a while? (like when we press the reset button) I am flashing 4 devices in a daisy-chain with Jtag and ...
0
votes
1answer
83 views

Increase LED Brightness

The schematic shows one row of my 16(row)x32(Col) LED matrix. Each row has 32 LEDs. I'm Scanning rows @ 1/16th rate.I'm using a PIC micro controller. I use 3V LEDs. The problem is LEDs are dim. How ...
1
vote
0answers
60 views

PHY Link only establishing 10 Mbps speed when both devices 100 Mbps capable

I've designed a circuit board with a Microchip switch (KSZ9897) going to a Ethernet-to-VDSL module (LX200V20). The PHY ports between the two devices are connected using a transformerless connection ...
1
vote
0answers
14 views

sawtooth generator for MCP1630

when using MCP1630V to design a buck converter in voltage mode control, is it preferabale to get sawtooth generator from the drive output pin or from the oscillator input pin? From the timing diagram ...
1
vote
1answer
46 views

Configuration in MPLABX compared to MikroC Pro

I need to modify a C code of an PIC18F4550. I want to use the MPLAB X IDE to do the job because I'm more familiar with it. However, the code that I need to modify is accompanied by an introduction ...
0
votes
2answers
42 views

MCP19035 buck converter controller

I'd like to design a buck converter using MCP19035, I've gone through the datasheet of this component and and the design procedure using it. In the datasheet, it says that the component provides Two ...
2
votes
3answers
92 views

Possible Error in Microchip Datasheet

I am working on duplicating a product according to the Microchip datasheet. http://ww1.microchip.com/downloads/en/appnotes/00857b.pdf My question has to do with something I found in the schematic (...
1
vote
0answers
52 views

Not able to view my code in MPLAB X IDE..!

I am trying to open my project (.C file) in MPLAB X ide (v5.15), but i cannot see my code, instead it opens up a rather weird window. It shows some history tab (of which i have no idea). I have ...
1
vote
1answer
173 views

PIC18F47K42 I2C Slave MCC code incrementing register by accident

Disclaimer: I have submitted a forum post on Microchip as well as the forum appears to have issues with me and to increase the pool of possible answers I thought of posting here with as much detail ...
3
votes
1answer
128 views

As a computer science engineering graduate, do I need to learn Assembly language in today's day and age? [closed]

Given that there are simple and easy to learn/use MCU devices such as those offered by Arduino, Particle, TI (MSP430 series), Microchip (PIC16 series) does it make sense to teach ALP to computer ...
2
votes
1answer
78 views

Using pickit 3 with DSPIC30F2010

I'm just learning to use the PIC microcontrollers and am totally confused having no knowledge prior. I am using a pickit 3 and the DSPIC30F2010. I have used to connect them via the circuit as shown ...
-1
votes
2answers
74 views

PIC32 Real Time Clock and Calender. What is a use case? [closed]

I have observed that some PIC32MX micro-controllers have an inbuilt RTCC peripherial. The first feeling i had when i saw this was joy, as it meant i could eliminate a component of my PCB. However ...
8
votes
2answers
2k views

Microchip documentation does not label CAN buss pins on micro controller pinout diagram

Link to the data sheet I want to use Microchips DSPIC33FJ128GP802 in a new project and want to use the ECAN buss. The problem ...
1
vote
1answer
68 views

What is the right order for 16bit data on 8bit 8080 data bus

I'm trying to create a program to drive a TFT LCD with an ILI9486 in 8bit but I don't know if I must send the configuration data and commands MSB or LSB first. The color data for the pixels in 16bits ...