Hi All, does anybody know of a way that I can produce a 2mhz square wave output from a pic continously without actually coding one of the pins. I need to ...
James, You can do it using a timer and interrupts. The PWM module is out since the max frequency it can generate is 208 kHz. Set the timer up for a period of...
... The OP wanted 2 MHz, not 2 mHz :) Always do the reality check: at 20 MHz the PIC runs 4 MIPS, so the OP has 2 instructions for each phase of the 2 MHz. So...
Hi James, You can't make a 2MHz square wave with a PIC running a 20MHz xtal; neither PIC's hardware. Perhaps you've a chance using a xtal of 2MHz, 8MHz or...
... xtal; ... 2MHz, ... Of course he can, but sooo difficult it doesn't worth the whole bother: he need a PLL multiplier outside the PIC starting from a low ...
Wouter, I was aware that he wanted a 2 Megahertz squarewave, just a mental slip on capitalization of the abbreviation, besides how would you get millihertz...
Very nice web site... But i've problem at the end of compile: MPLAB C18 v3.00 (demo) Copyright 1999-2005 Microchip Technology Inc. Days remaining until demo...
sorry guys, made a mistake in the maths, the frequency I actually need is only 400KHz. I still want to generate it without using software to drive a pin high...
d it comes as part of the C18, in fact theress a couple of different versions of it see this link http://ajpic.zonk.pl/download/c18/readme.c18 i have also seen...
James As an HW man, this is an HW solution:you can just tie a 74HC390 to the µ clock output and divide it twice by 5 and then by 2 to get a perfect 400 kHz...
I found the problem... it was just a wrong path in the Project menu\built option\project Now compilation is OK but i have a message box: can not load...
Check out this .PDF from Microchip. It has some tips on how to measure pulse widths. http://ww1.microchip.com/downloads/en/DeviceDoc/41215B.pdf Shawn ... ...
also check out this .PDF. http://ww1.microchip.com/downloads/en/DeviceDoc/41214a.pdf Shawn ... http://ww1.microchip.com/downloads/en/DeviceDoc/41215B.pdf ... ...
Hello all, Das anyone can help me with Jall code for a GPS receiver connected to a 16f628a ? Rx = 4800N81 for example a string coming from the GPS is: ...
Hi all, Trying to build a 10f20x lib from a stripped Jpic675 lib, I went to the port and pin direction part where there is the "movfw" ghost instruction. ...
Patrick, ... But if I am reading the datasheet correctly, you would issue the "command" trisgpio "value" where value can range between 0 and 15 (decimal) or...
Hi Vasile, It's just good for very small application in a very small area (3*3mm²). The most diffucult will be, on the pcb, a very small area for the...
Is anyone using interrupt procedures with a 18F252 chip? I'm using Wouters JAL version that has been changed for the 18F chips, the latest JAL version somehow...
I'm trying, again, to get started with JAL but am running into problems. I downloaded Stef's example programs for the hd44780 LCD display and learned, rather...
Make sure that you are including the Jal Run-Time Library. jrtl.jal I believe it is called. in the standard include file jpic.jal it is already included. I'm...
... Thanks Shawn, that fixed it. I never had seen that lib in any of the jal programs I have looked at. Live and learn.... Thank you very much. Wayne -- To err...