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
0
votes
1answer
28 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
20 views

Project with wattimeter 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
44 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
26 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
32 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
256 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
37 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
48 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
46 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
40 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
53 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
37 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
21 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
104 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
50 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
52 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
74 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
75 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
53 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
49 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
30 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
79 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
79 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
53 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 ...
0
votes
0answers
13 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
39 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
41 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
91 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 (...
0
votes
0answers
47 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
102 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
125 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
64 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
70 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
66 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 ...
0
votes
1answer
57 views

PIC18F26K20 PWM Configuration

I am working with PIC18F26K20 and MPLABX IDE. I wrote some code for configuring and running the PWM. However, The output I get is at 50 percent duty Cycle no matter what duty cycle I provide the ...
2
votes
1answer
70 views

PIC32 having multiple PORTB's “high” at the same time

I am trying to set a couple of PORTBbits to "high" (1) at the same time for that I am using the following code: I am using thePIC32MX695F512H ...
1
vote
1answer
54 views

RETLW 0 and RETURN command on PIC10F222 microcontroller

When I am building a code in MPLAB X IDE v5.15 I get an Warning "Substituting RETLW 0 for RETURN pseudo-op". As I have researched the PIC10 series don't have return command so it changes to RETLW 0. ...
0
votes
2answers
63 views

Improve Brightness in LED Multiplex

I’m doing a 16 rows & 48 column LED matrix design. The attachment shows only one row & some columns. I’m scanning rows @ 1/16th rate. Designed for 4mA average current to the LEDs. I’m doing a ...
1
vote
2answers
45 views

DSPIC33EP AN1307 application note source code

I've downloaded source code of an application note from Microchip's web site (AN1307). In order to try it, I created a new project in MPLABX. Then I added all source and header files that I've ...
1
vote
0answers
105 views

PIC10F222 Failed to program device

Every time I try to program my hex file I get an error: The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x3b configuration memory program memory ...
1
vote
1answer
43 views

What are ADC channel “map,” “max,” and “amount” used for on a Microchip ATSAML21 ARM MCU?

I'm working with a Microchip ATSAML21J18B ARM microcontroller and learning how to set up an ADC input. Coming from the AVR world, things are rather more complicated. The ADC features (datasheet pg ...
1
vote
2answers
170 views

How to analyze Microcontroller input-logic-signal without ADC?

I have a signal which is fed to one of the digital inputs of a microcontroller (PIC16F18326). The signal is shown in the image-1 below. This is during the normal operation of the circuit, that means ...
0
votes
1answer
100 views

MCP73871 Battery Under Voltage Protection

I want to use MCP73871. Is there a battery under voltage protection in this charger IC? or may I use a battery protection IC? Answer for @Bimpelrekkie I decide to use my power architecture as ...
1
vote
0answers
38 views

RN4871 auto pairing

We are developing an application which needs the BLE Peripheral to be automatically paired with the smartphone when the smartphone is near the BLE Peripheral. We are using RN4871 Microchip BLE Board. ...
1
vote
2answers
87 views

LED Matrix Leakage LEDs

I'm doing a LED matrix design and it's a cathode row design. Attached is a picture of my matrix design. The design works ok and I can show any pattern in the matrix. The problem is when a leak LED ...
0
votes
2answers
64 views

Selection of External Current Transformer

simulate this circuit – Schematic created using CircuitLab I am designing a product for motor protection circuit. where I want to use customized external CT for application which gives me ...
0
votes
1answer
53 views

Weird behavior of pwm controlled servo motor?

Hello there I have experienced some really weird behavior from servo motor wheni try to control it with pwm. I am using dspic30f4013 and servo motor sg90 tower mini. I configured my pic with 10Mhz ...