Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

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
69 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
44 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
33 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
90 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
39 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
65 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
120 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
56 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
64 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
63 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
54 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
0answers
57 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
52 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
58 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
39 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
92 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
35 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
166 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
87 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
30 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
72 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
57 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
51 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 ...
0
votes
1answer
40 views

Microchip IS1678S Questions - wanting to implement SPP as simply as possible

I'm looking for a solution to implement Blutooth Classic SPP on a chipset. What I'd like is everything to be on an external chip, so I don't have to run any sort of Bluetooth stack on my STM32 which ...
3
votes
2answers
188 views

Does the Microchip/SMSC PHYBoost technology help with Rx, or does it boost Tx only?

So I'm doing some configurations on a product which has a LAN9514 chip (datasheet), that features the "PHYBoost" technology. Microchip's website is very vague about the technology, and my impression, ...
0
votes
1answer
68 views

Understanding PWM period and frequency calculation on dsPIC30F4013?

i am working on a project of my own, making a RC CAR. I want to my motor to be controlled with PWM. I understand the basics of basics for PWM but still I get confused with calculation. What is the ...
1
vote
1answer
77 views

Getting weird resitance drops with an FSR and a raspi using a MCP30

I tried to create a weight detecting device, that detects when a heavy objects are placed on a table. Its supposed to work like this: The raspi keeps checking the recistance on the force sensing ...
0
votes
1answer
42 views

MCP23S17 Interrupt Issue

I am having issues with interrupt setup on MCP23S17. Not able to set up the INTB line properly. I have an external 10K pull up resistor connected to the line and 3 input buttons connected to GPB0 - ...
0
votes
2answers
55 views

USB EC vs PIC MCU [closed]

I'm trying to make a peripheral with an embedded USB hub, which will include USB-C 3.1. As I've been researching USB I've found that Microchip has a whole slew of embedded controllers dedicated to USB,...
0
votes
0answers
138 views

Why does my LM393N (dual comparator) ignore its inputs completely when used with an LED?

I have made the following circuit: Viusalisation (not working): https://i.stack.imgur.com/tDA85.png Circuit (working): simulate this circuit – Schematic created using CircuitLab Left to ...
0
votes
1answer
265 views

Small microcontroller with USB host peripheral [closed]

I'm trying to find microcontroller with low pin coutn that has USB host capabilities. I know this can be done with big PIC24 or PIC33 microcontrollers, but I wonder if there are others chips that ...
0
votes
1answer
49 views

Write collision for multiple reads - PIC24 I2C

I am trying to poll a CAP188 sensor so I'm sending it read commands in a while loop, but the first read works and then on the second read when I send the slave address it detects a write collision. ...
0
votes
0answers
42 views

Microchip MRF24WN0MB datasheet for use in STM32

We have designed a board where a Microchip MRF24WN0MB WiFi is connected to an STM32L082 ARM micro-controller through SPI. I can generate code with STM32CubeMX (compiled with Eclipse SW4STM32) and run ...
1
vote
1answer
63 views

Which UART is used on the Explorer 16 development board with PIC32?

I am trying to use "PIC32mz2048ech100" on "explorer16" to get "UART" communication. Can anyone let me know which uart channel(from 1 to 6)of PIC32 microcontroller is connected to explorer 16.
4
votes
2answers
262 views

Strange VIH and VIL specification of MIC4451

In MIC4451's datasheet, it shows: The \$V_{IH}\$ min. is 2.4V, then where the smaller typical value 1.3V come from? The same is \$V_{IL}\$, why it has a typical value larger than the max. value?
0
votes
2answers
62 views

Am I on the right track with the 16F1704?

I am 100% new to PICs and I know I have a lot to learn. My end goal is to have a DC motor controller that will operate a motor in one direction only and with the push of one button have the motor run ...
1
vote
0answers
210 views

FIR filter in dsPIC with DSP Library

I have to make a digital filter with a dsPIC30F, but I don't know much about it. I've read part of the documentation about the dsPIC30F and the DSP Library, and I found a page on Microchip website ...
1
vote
1answer
161 views

DSP Library not working in MPLAB X

I have to make a digital filter with a dsPIC30F4011 (I'm completely new to microcontrollers). I was reading the documentation about the DSP Library to figure out how to use it. I created a simple C ...
-3
votes
1answer
109 views

PIC 10F200 MCLR PIN as Output

I need To use MCLR pin to make led blinking using this configuration but I conn't write the code for that
0
votes
1answer
64 views

PIC32 data storage in flash change / corrupt

I have some random issue with data saved in flash on PIC32MX470F512L. Since there is no EEPROM, part of the flash storage is used to save configuration and some statistics (ie.: reboots reason, ...
1
vote
0answers
30 views

ENC28J60 rejects unicast packets - unicast filter is on, MAC is set, and addresses match

I'm programming an ENC28J60 driver at the moment, and have encountered something odd when attempting to receive packets. More specifically, unicast packets. According to the datasheet, when the ...
0
votes
1answer
88 views

Timer0 not interrupting on PIC18f4321

I'm trying to run some basic code from my textbook onto a PIC18F4321, using the latest XC8 compiler. It's supposed to turn on an LED after 10 seconds, but the LED never turns on. I've checked my ...
2
votes
2answers
83 views

Why are different names given to the same bit in MPLAB XC8?

I am using PIC18F45K22 and MPLAB XC8. Recently I stumbled upon something while reading ADCON0 register. A particular bit in the register, GO/DONE has many representations while I try bit addressing it ...
1
vote
3answers
91 views

Maximum CPU Frequency of PIC24FJ256GA705 That I Can Get with 8MHz Crystal

I'm used to run PIC24 device family (e.g PIC24FJ256GB) at CPU freq 32MHz using the PLL. Recently I got to use PIC24FJ256GA705 on my new project and when I read the datasheet, I found out that the PLL ...
0
votes
1answer
114 views

uploading sketch using mcp2221 to Atmel Mega1284P

Hi I am unable to upload sketch to Atmel mega1284p using a mcp2221 usb to uart converter IC. I have a simple code prints "message received" It works to program the Mega1284p using arduino nano as ISP....
0
votes
1answer
97 views

i2c bus sniffing and spoofing

Some Background: I am working on an embedded c project for a samd21j18a MCU. The MCU communicates with 2 crypto eeproms on the i2c bus. All the data is encrypted with AES in CCM and additional ...