Microchip Technology is an IC manufacturer, best known for its extensive range of PIC microcontrollers, but also memory and analog function ICs.
0
votes
1answer
42 views
Micro-controller and microphone minimal current possible
We would like to have an idea about the minimal current consumption that could be achieve .
We need to have some microchip mcu , that have a microphone connected to its ADC port , and that is ALWAYS ...
2
votes
1answer
46 views
Digital input ports of the dsPIC30F4011/4013 not working on the dsPICDEM 2 Development Board
I have a Microchip dsPICDEM 2 Development Board with two microcontrollers on it: a dsPIC30F4011 (Motor Control Family) and a dsPIC30F4013 (General Purpose Family). I'm programming in C using the MPLAB ...
0
votes
0answers
49 views
Smallest gate length possible for transistors printed by photolithography
I'm doing a project about Moore's Law, one of the subtopics I've come to is photolithography. The way I understand it is that the MOSFET transistors are currently printed on a silicon wafer by ...
0
votes
1answer
39 views
Setting external clk for a pic
Using pic16f690 with xc8, i can't figure out how to set external osc with quartz crystal.
I have set :
#define FOSC_XT
Is ...
-2
votes
2answers
88 views
External programing of an mcu without Hex
We need to change a controller code from the out side as they do with industrial MCU.
So that you have an MCU, with a program on it, and someone can program some "words" to it, that will determine how ...
6
votes
3answers
285 views
Can you choose any crystal for a PIC Microcontroller?
I am using the PIC16F690 and I know that the internal oscillator has certain values (20,8,4...).
I would like to put an external 8MHz crystal, but I could find only 8.8MHz or 7.6MHz.
I would like to ...
0
votes
1answer
30 views
Configuration Settings of 18F4550 in a header file
Recently I was wondering if is there any option to move my Configuration bits to a header file?.
right now I'm using the 18f4550 microcontroller,with mplabx IDE,and my developed code entirely is in ...
0
votes
3answers
207 views
Are modern processors safe from backdoor? [closed]
I have been reading so many thing about leaks of surveillance recently,
Most of the things covered under
NSA 2013 Mass surveillance disclosure
I use the chips of Microchip for designing few ...
0
votes
1answer
84 views
What is the PIC equivalent to AVR's ICP?
On many AVR devices (afaik every one that includes at least one 16bit timer), there is an ICP (Input Capture Pin) that fires an edge-triggered interrupt. What's the equivalent on a PIC micro? Does ...
1
vote
0answers
58 views
Chipkit Uno32 Debug with mplabx
Hello guys I bought a good night chipKIT uno32 to use it with projects but with the language of c32 with IDE MPLABX and pickit 3, everything went well but when I want to debug a project says disposito ...
1
vote
2answers
89 views
High Voltage input and output microcontroller
I am new to this, but I am looking to regulate a few ballast controlled fluorescent lamps with a micro-controller. Everything I look at has a low operating voltage and below 10 volt input/output ...
1
vote
1answer
71 views
RTCC Peripheral, PIC24F16KA102, Problem accessing values
Minimal Peripheral Description
To read the values from this particular RTCC peripheral you have to read the data from a single register(RTCVAL), where the information it represents is dependent on a ...
1
vote
1answer
62 views
spi interrupt code
I am trying to let two uC talk to each other. Both chips are from dsPIC33EP family. The slave will respond according to what master has sent to it. My question is, since SPI is full-duplex, would it ...
5
votes
2answers
219 views
LEDs not working, Simple :)
Objective
I am trying to change the state of a pin on the PIC24FV16KA304 depending on a button press. Initially the pins are set as inputs, upon a button press the pins change to an output with a low ...
3
votes
1answer
105 views
Why UART Interrupts are not working properly in dsPIC?
Hello I am working with the UART1 module in a dsPIC33FJ128GP802 but it is not working as expected using XC16 compiler. Here is my initialization code and interrupt routine, the ...
2
votes
1answer
59 views
Why does DSPIC33F restarts when timer interrupt flag is addressed?
I have a peculiar problem with the timer on the DSPIC33F. I need to create a delay function and I have decided to use Timer 2 to count the number of instruction cycles. The function would enable the ...
0
votes
1answer
50 views
error 499 in mplab while interfacing lcd
Hi, i was using mplab with hitech c compileri just came across an error[undefined symbol: _lcd_write(testlcd4.obj)] >any solutions pls
7
votes
1answer
173 views
dsPIC33 vs PIC32
I originally thought the advantage of PIC32 was the ability to handle more sophisticated RTOS, like ones that are linux based. Unfortunately it lacks a Memory Management Unit (MMU) and enough ram.
...
0
votes
1answer
59 views
PIC32 stuck after long time
I am using a PIC32MX795F512L which sends CAN messages to a WiFly module (RN-171) using UART.
I receive messages over WiFi but after a longer time (20-60 minutes), the PIC seems to be stuck and I have ...
2
votes
1answer
153 views
How to erase PIC microcontroller?
Sorry for such "noobish" question but I've tried to help my son with learning PIC programming. I load some simple asm source into MPLAB and pressed "make and program device main project". IDE build ...
3
votes
1answer
108 views
How do I detect / retrieve the silicon revision of a dsPIC?
Before starting on my project, I need to familiarize myself with any possible silicon errors in my dspic.
I saw this for PIC micros, but it doesn't apply to the dsPIC33F that I'm using.
I found a ...
0
votes
0answers
56 views
how to tell apart mixed up parts?
Is there a way to tell what a part is based on the lettering on the chip? I mixed up a few parts and I would rather not test them just to tell them apart
1
vote
1answer
148 views
Help me to drive the CCD ICX282AQ
This is the first time i working with an image sensor, i have the datasheet of ICX282AQ here : http://www.riddle.ru/dl/ccd/sony/icx282aq.pdf‎ .But i don't understand so much, what i would like to do ...
-1
votes
1answer
148 views
USB to OBD-II Converter
I want to make a scan-tool that works via a PC for my Thesis. To test it I have bought an ECU simulator (ECU-Sim 2000) with a CAN bus.
I'm planning to make it using an FT232H USB to serial chip and a ...
0
votes
3answers
148 views
Microcontroller I/O configuration
I have been using PIC microcontrollers and have been using MikroC for the programming but I am little bit confused about the ports. On a PIC16F84A the port is defined in mikroC as ...
4
votes
4answers
180 views
Can I control a voltage output from a microcontroller?
I have to generate values between 0V and 0.8V for a circuit and take the value of the voltage output from the system and analyze the data. Can I generate voltage values automatically using a ...
0
votes
4answers
155 views
Timer on PIC18 not getting close to desired interrupt period time
I tried to setup Timer0 on a Microchip PIC18F46K22 so that it will trigger an interrupt and toggle an LED. However, it takes at least 42 µs for the LED to toggle.
At an increment rate of Fosc/4 (= 8 ...
0
votes
1answer
82 views
Input change notification not interrupting after sleep()
I have quite a large codebase running on a PIC24F (PIC24FJ128GB106) and have a Change Notification IRQ handler managing external inputs from the user. Everything's been working well for quite some ...
0
votes
1answer
91 views
Compare mode, set output on match (CCP1IF bit is set) - PIC16F88 microcontroller
Hy.
I want to make a program who toggle a led using compare mode, set output on match (CCP1IF bit is set).
I dont know if it is possible what i want to do. Anyway the RB0 is always ON.
I know, it ...
1
vote
2answers
128 views
Microchip DIY starting from Verilog
Given the Verilog description of a chip how what are the steps necessary to implement it in hardware and how would a person DIY something like this?
For a specific reference. I was looking at the ...
2
votes
2answers
177 views
Why do some Integrated Circuits get so hot?
I was reading an article about Radeon 6990 recently and it was recommending 1200 Watts of power supply and the entire machine to be kept dipped in mineral oil because air cooling would kill it in a ...
1
vote
1answer
343 views
How to understand the block diagram of microcontroller Architecture
I am started learning pic18f4550 controller . I find it difficult to understand the architecture block diagram . i cant understand how peripherals, cpu core (eg ALU), data bus , program bus are ...
0
votes
2answers
247 views
Interfacing a MCP23S17 (SPI) with a FPGA
I am working with a MCP23S17 SPI I/O expander chip in a VHDL project on my Basys 2.
At first glance I thought this was just a simple SPI interface where I put the chip select low and it will give me ...
2
votes
2answers
126 views
Where are the UART Rx and Tx pins on a dsPIC33FJ32MC202?
I'm a beginner to micro-controller and now learning Microchip's dsPIC. I'm trying to use UART with RS232 to communicate with my laptop, but I can't find out where the Rx and Tx pins are on the chip.
...
5
votes
3answers
542 views
Fastest way to toggle a bit in ASM
What's the fastest way to toggle a bit1 in MPASM for the 14-bit enhanced instruction set? (I'm working with a PIC16F1829)
The code has to be standalone - I mean that it can be called on any moment, ...
1
vote
1answer
126 views
How to get 10bit data of ADC using SPI protocol
I am doing Single master multiple slave implementation.
Master - PIC18F4550
Slave - PIC18F4520
A potentiometer is connected to the Slave. Slave will convert the Potentiometer value to digital and ...
3
votes
1answer
75 views
Figuring out the functions of PIC numbers in a data file
I'm using Bumblebee software to interface my Wisp648 PIC programmer. According to the list of supported files for the Wisp, I should be able to program a PIC16F1829. However, that chip isn't supported ...
0
votes
0answers
41 views
SPI based WiFi support for SSV module DNP/9200
I am using Embedded SSV module DNP/9200 in my current project of an Ethernet gateway. I am using the TCP/IP stack by SSV with kernel 2.6. Now I want to support WiFi for this product using the ...
1
vote
4answers
370 views
which RPM measurement method is suitable?
I have a PMDC motor which is electronically controlled for speed. And it is a closed loop system. A proximity sensor is there to measure the speed of the motor and there are 12 bolts attached to the ...
1
vote
1answer
101 views
PIC16: Out of Data Space - Make use all available banks
I'm using a Microchip PIC16F1825 with the XC8 (v1.12) compiler and defining some arrays (size between 16 and 64 bytes). I was able to declare them (linker output below). However, as soon as I try to ...
-2
votes
3answers
117 views
How was the first programmable microchip made [duplicate]
Microchips have to be programmed to function. But if programmers (computers) are needed to program it, and they use microchips, how was the first one made?
5
votes
2answers
164 views
Is there any possibility of dissecting a microchip to get data from its internal memory?
There are many devices that perform various cryptographic operations inside their microchips. One of their key feature is that the secret keys are stored inside of the hardware and never leave it. ...
1
vote
2answers
138 views
USB device with a serial number and 3 LEDs
I'm looking for a way to build a USB key. I have a bit of experience with the Arduino, however for this project that seems to be a bit of overkill.
The key should contain a unique serial number ...
2
votes
2answers
167 views
Boost converter to 5V
I'm searching for a boost converter to convert up small voltage (min 0.5V / max 81mA) to 5V.
(the smaller the better)
Can you recommend a special type number?
0
votes
3answers
670 views
How to learn dsPIC UART program based on PIC USART experience?
I've learned USART of PIC16F883, and I want to learn UART of dsPIC33FJ64MC802.(Actually I need to learn dsPIC, but I learned PIC16F883 first since I thought it's easier to learn.)
Here's my circuit ...
8
votes
3answers
396 views
Switching from PIC to AVR [closed]
I have worked with PIC16 and PIC18s for over three years now and would like to get to know AVR as well. I have no specific project in mind, but would like to try around with the different ...
6
votes
3answers
267 views
How to calculate day of the week for RTC?
I am using MCP7940 RTC from microchip it requires to enter the day of the week as part of updating RTC with date. So how should I calculate day of the week based on the date provided by the user ?
5
votes
3answers
466 views
Ethernet connector and transformers
I'm working on an Ethernet connection for a PIC18F4620 with the ENC28J60. I found a useful article here, with a schematic:
I see I need transformers between the RJ45 connector and the Ethernet ...
3
votes
1answer
223 views
Would a high priority interrupt interrupt another high priority interrupt?
In the datasheet of the 18F4620 and others, section 9.0 (page 91), I read:
The PIC18F2525/2620/4525/4620 devices have multiple interrupt sources and an interrupt priority feature that allows most ...
0
votes
0answers
172 views
RF Link with APC220 between two PIC16F877's
I am attempting to communicate through a RF link between two PIC16F877's using APC220 Radio Transients. When the PIC UART's are connected with wires between TX and RX they communicate just fine, but ...