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.
809
questions
0
votes
1
answer
38
views
Mplab XC16: can't use sprintf to convert float to string [closed]
I want to use sprintf function to convert a float to string, here is part of the main.c code : (PIC24JF64GA004)
...
0
votes
0
answers
126
views
PIC16F1829: how to read device ID using LVP mode?
I am stuck. Datasheet, programming guide. LVP mode.
I see how to write to area 0x8000-0x8008 using "load configuration" command, but I do not see how to read this area. It is not a part of ...
0
votes
1
answer
38
views
Can WINC1500 be used with SPI for connecting to a router?
I'm planning to buy the WINC1500 WiFi module. I have heard that it contains a SPI layer, which can be used for telling the WINC1500 to connect to a router.
But as I can see in the documentation, I ...
0
votes
1
answer
54
views
Do not get how to time PIC16F USART sending in interrupt-driven environment
Device: PIC16F1829, half-duplex communication (RS-485)
The USART is having two registers - TSR and TXREG. Transmit is performed from TSR and process is indicated by TRMT bit. TXREG is second register ...
0
votes
0
answers
54
views
PICkit 5 giving -109 error when programming PIC
I have a PICkit 5 which I think is correctly connected to a PIC16lf18425. Whenever try to program it I get
error -109
I just have a 0.1 uf electrolytic capacitor between GND and VDD and a 10k ohm ...
0
votes
0
answers
19
views
Dual Linux Images on a single partitioned eMMC for OTA updates on SAMA5D27 ARM based MPU
To be able to support OTA updates I want to load the new update image to one partition and have the current running image on the other partition. Then switch partition to run from the new image at ...
1
vote
1
answer
45
views
MTCH1010 internal pull up resistor draw more current than Icc?
I'm designing a Ultra-low power clock and I want to use a touch sensor for indicate the time since I want to reduce the power draw from the LED display.
I found the MTCH1010 from microchip. Based on ...
0
votes
1
answer
377
views
How do I make my Microchip MPLAB X IDE project use the free version of the XC32 compiler?
I was previously compiling my C and C++ PIC32 mcu project in Microchip's MPLAB X IDE v6.15 with a paid Pro XC32 compiler license. My license has expired and no amount of buying a new one will fix it, ...
-3
votes
1
answer
250
views
Microchip XC32 compiler license erroneously expiring and unable to download: `Error has occured. Please try again.404~Error:-160:` [closed]
I have two development computers, one is Windows 11, and one is Linux Ubuntu 22.04, each with their own Microchip XC32 compiler license activated for use in the MPLAB X IDE v6.10.
Both licenses are ...
1
vote
1
answer
74
views
Connecting Ethernet to PIC18F97J60
I am currently working on my diploma thesis and since circuit construction is not the main topic, I am unfortunately not making any progress. I would like to connect the PIC18F97J60-IPT with PoE. I ...
25
votes
4
answers
4k
views
Why do fabs bother to print circuitry right up to the edges of a wafer when they know that the partial dies will be discarded later?
Around the edge of a wafer (see image below) you will observe that there are many partial dies. It seems wasteful to use the lithography machine to print these partial dies because they will be ...
0
votes
1
answer
74
views
Device with USB C connected to USB A of the computer
We have a portable device with USB B and FTDI FT232RNL and (8 bit MCU) powered by an adapter. Thanks to the EU, we have to implement USB C in it. Our current prototype design is with USB C(replacement ...
1
vote
1
answer
97
views
PIC16F18855 adc read mismatch
I wrote a code for pic16f18855 analog voltage to digital value reading. but I noticed that analog voltage connected to pin RA0 read with RA1 and analog voltage connected to pin RA1 read with RA2 and ...
0
votes
0
answers
20
views
Deriving Power Budget for SAMA5D27C from Datasheet
I am spec'ing out my power distribution network and trying to figure out what Buck converters I am going to need for a Microchip MPU design using SAMA5D27C. I am looking through the data sheet below ...
1
vote
3
answers
106
views
PIC16f628a internal oscillator runs at a lower frequency than expected
Specifically speaking, it runs at almost exactly 1 MHz instead of the supposed 4 supplied by the internal oscillator. This is probably the cause of other strange behaviour like failing to blink an LED ...
0
votes
3
answers
119
views
How to find out if the PIC microcontroller is good or dead?
I am working with a PIC microcontroller (part number dsPIC33FJ64MC802).
Previously I was able to program it fine. But today, I have powered the PCB which contains the PIC microcontroller, then ...
0
votes
1
answer
89
views
PWM on desired pin PIC18f47k40
trying to question again.. Thanks in advance for any help!
I've been working with PIC chips for a while and recently using a PIC18f47k40. I cannot get the PWM via CCP or the separate PWM modules to ...
0
votes
0
answers
104
views
How do I choose the right microcontroller?
I have a new project that requires deploying deep learning algorithms on embedded chips.I'm new to this field, so I'm not quite sure what metrics do I need to choose based on.Such as how much RAM, ...
1
vote
1
answer
89
views
PIC16F1825 trouble with simple increment MPLAB XC8
I have set myself up with on a breadbord with a simple PI16F1825.
I am using MPLAB x with XC8 V2.45
i have a led that turn on/off every second using the simple delay function.
i would just like to ...
0
votes
3
answers
94
views
How can I find VDD in a Microchip datasheet?
I am horribly lost on how to find the value and location of VDD pins in the datasheet found on this webpage. Are there no table of contents for microcontrollers in general?
1
vote
0
answers
45
views
Issues with AVRISP MKII programmer
I am trying to program ATtiny10 using AVRISP MKII programmer and AVRDUDESS, spend 2 days trying to flash it but had no luck. Now I came up with a few issues regarding AVRISP MKII programmer, which ...
0
votes
4
answers
196
views
NE555, 50% duty cycle at 110kHz
I want to get an NE555 chip with a 50% duty cycle to 108-110kHz in output.
I have already experimented with various online calculators and values. However, I never get the values that allow me to do ...
0
votes
0
answers
96
views
Interfacing TM1640 LED driver with 7 segment display and PIC microcontroller
I have a customized LED display in which AIP1640 driver IC mounted on it and I think it's equivalent to TM1640. So does anyone have a working library for this driver?
I want to interface it with ...
1
vote
1
answer
84
views
USB2244 card power is never supplied and USB port is not detected [closed]
I have been trying to use the USB2244 on a board but I can't seem to get it working and I am not sure what the problem is. I went over and over the datasheet but can't seem to figure out what I'm ...
0
votes
1
answer
81
views
Connecting external clock source in PIC 18F4520
I require a delay of about 30 minutes using timers in PIC 18F4520. Using an internal crystal of 16 MHz, I would not be get desired delay from internal clock source.
I thought of using external crystal ...
0
votes
2
answers
144
views
Planning a University Course: Advantages of modern MCU platforms [closed]
I want to get sincere advice regarding the use of microcontrollers in educational institutes.
I am an Engineer at a University in India.
We have been using PIC microcontrollers (PIC16 and PIC18) for ...
0
votes
1
answer
68
views
I need the part name or description of below U12 i the PCB
I need the part name or description the U12 in the PCB highlighted.
0
votes
0
answers
121
views
microSDXC responding to SPI ACMD41 with SD mode?
For a project I am working on, I need to access raw blocks from a microSDXC 128GB card (SanDisk) using SPI, and I am writing my own code to do this. I am using a PIC18F87K22 microchip to talk to the ...
1
vote
1
answer
72
views
Why do my MCU's capacitive voltage divider results change with different power supplies?
I've started experimenting with the onboard capacitive voltage divider inside the PIC18F47Q43. I've had success getting it up and running and getting usable results. This is the block diagram of it:
...
0
votes
0
answers
95
views
Ziegler–Nichols method of PID auto tuning
I am working on a problem where I need to implement auto tuning PID control using Ziegler–Nichols method. Basically I want to control temperature using it.
The PID has to be implemented with the ...
0
votes
0
answers
22
views
How could I make my PIC32CXMTG-EK send messages to the electrical network through PLC without needing a request from my Circutor concentrator?
My scenario:
PIC32CXMTG-EK Evaluation Kit
PL460 Evaluation Kit
Compact DC-S SBT, PRIME PLC Concentrator
Relevant information about it:
The main protocol in use for communication is DLSM-COSEM.
The ...
0
votes
3
answers
194
views
Unstable output of ADC
I am trying to read the voltage from analog sensor via ADC of pic18 microcontroller. It has 10 bit ADC i.e. 1024 steps. But measuring a voltage of 2 V range (approx) my result keeps fluctuating + and -...
2
votes
2
answers
151
views
ATmega328P bootloader
I have read the complete datasheet of the ATmega328P but have a few confusions regarding the chip. In the datasheet in a section I have found that there is no specific bootloader section and also the ...
0
votes
1
answer
58
views
PIC32CX BZ2 register names don't match documentation
Preamble: I use MPLABx 6.1, the compiler (XC32) is installed and functions correctly, the correct device (WBZ451 with PIC32CX) is selected and xc.h is included. I have about 15 years experience with a ...
0
votes
1
answer
127
views
Can someone help me identify this chip on a robot vacuum?
It’s on a Rowenta Xplorer series 50, seems like it controls one of the wheel motors and it fried
0
votes
1
answer
76
views
Output of the built in ADC in PIC 18F4520
I am trying to use the built in ADC of a PIC 18F4520.
The input is a voltage signal from an analog sensor whose output varies with temperature. It comes to be about 5.2 V at a certain temperature.
I ...
1
vote
2
answers
241
views
Arithmetic calculation error using PIC 18F4520 [closed]
I am trying to solve an equation using a PIC 18F4520 but the result that I am getting is not matching to the accurate answer that I calculated with Matlab.
The part of the equation is ...
-1
votes
2
answers
94
views
Why don't microchips fail from repeated heat cycles? [closed]
Microchips can experience a pretty wide range of temperatures and they don't seem to crack or experience substantial fatigue from constant expansion and contraction. Why is this?
1
vote
0
answers
86
views
Strange.. UART accessing U1RXREG is not emptying buffer? PIC32
Not sure what's going on this PIC32 device, the ISR is only getting the first 8 characters (the size of the FIFO buffer) the first time it receives a string. Subsequent string arrivals cause an ...
0
votes
0
answers
30
views
Arithmetic calculation using long double in PIC 18F4520
I need to know the maximum size of number (number of decimal digits) that we can multiply using PIC18F4520.
I am using long double because I need a decimal value of high precision and calculations ...
0
votes
0
answers
71
views
PIC Low Voltage UART
I'm receiving data from SIM800L module to PIC 16F628A.
The problem is the PIC (PIC does not receive data properly from UART).It is working in home. But in site conditions It misses
lots of data. I ...
1
vote
0
answers
118
views
LAN8742a autonegotiation gives a half-duplex mode result when it's espected to be full-duplex mode result
I was testing an ethernet based project PCB that uses LAN8742a xip (lan xip seller link) and a stm32f207zg microcontroller (mcu seller link). We are having some issues when we increase the stress ...
0
votes
2
answers
217
views
PIC Microcontroller Environment VS Arduino Microcontroller Environment [closed]
Does the PIC chip environment have any advantage against AtMega or Arduino Environment for low cost, low power regular use rather than being a little chip?
Yes, this is a broad question but I am ...
0
votes
0
answers
39
views
ADC trigger Timer1 using dsPIC33CK64MC105
I currently working on the dsPIC33CK64MC105 controller. I tried to configure ADC triggered by Timer1 I have done step as in the datasheet but I didn't get the ADC data can anyone correct me for the ...
-1
votes
1
answer
81
views
Holtek HT16C21 not Acknowledge the I2C Slave address [closed]
I have a circuit with PIC16f628a interfaced to Holtek HT16C21 Display RAM IC via I2C interface, I have two MCUs one is Original ...
4
votes
2
answers
792
views
Logic value of a single input pin into a microcontroller
I'm trying to get the logic value from a node in a circuit (it is the output of a comparator that can either be 0V or 5V) into an AT89S51 microcontroller. My program just tries to get the value of pin ...
0
votes
1
answer
80
views
Read analog value with microcontroller without ADC
I have an AT89S51 microchip from Atmel. I want to read a value from a node in a circuit that can be either ~0V or ~5V (it's the output of a comparator, so the comparator itself is my ADC).
Is it ...
2
votes
2
answers
117
views
Can components like EPROM or NE 555 timer be built from scratch?
I was watching some videos on building an 8-bit computer and plan to do so myself, however, I wondered if it was possible to make something like an EPROM or 555 timers from scratch using basic ...
1
vote
1
answer
106
views
Microcontroller not blinking LED
I want to check if my microcontroller is working. It's the first time I'm working with microcontrollers. I followed this tutorial to blink a LED at the P1.0 pin, but nothing is happening.
My ...
0
votes
1
answer
83
views
What are the chips to build usb device? [closed]
I want to make some device, that should just do one thing - send few values - x,y and z via usb, so at pc end, for example there will be a driver for that device, which some program can access and ...