romel_emperado
Advanced Member level 2
- Joined
- Jul 23, 2009
- Messages
- 606
- Helped
- 45
- Reputation
- 132
- Reaction score
- 65
- Trophy points
- 1,318
- Location
- philippines
- Activity points
- 6,061
look for these
**broken link removed**
Im using PIC18f4550.. let me ask question again if I have question..I just want o learn the SPI protocol..
Devices in the PIC18F2455/2550/4455/4550 family
incorporate a different oscillator and microcontroller
clock system than previous PIC18F devices. The addition
of the USB module, with its unique requirements
for a stable clock source, make it necessary to provide
a separate clock source that is compliant with both
USB low-speed and full-speed specifications.
To accommodate these requirements, PIC18F2455/
2550/4455/4550 devices include a new clock branch to
provide a 48 MHz clock for full-speed USB operation.
Since it is driven from the primary clock source, an
additional system of prescalers and postscalers has
been added to accommodate a wide range of oscillator
frequencies. An overview of the oscillator structure is
shown in Figure 2-1.
by the way. even if I have this PIC I will never touch the USB feature of this CHIP... I just want do some practice in register configuration and I know I can practice using this PIC because it is more complicated...
Coward!
No Pain, No Gain!
file in my project folder?#include <p18f4550.h>
i dont know this.. I will check the site of HI-tech and download the compiler for pic18..By the way, the C18 and Hi-Tech Compiler for the PIC18 are not the same.
If you stay with embedded systems, the next item you need to put on your shopping list is a nice development board.
nope, I haven't tried purchasing something from ebay..Can you or have you purchased anything on eBay?
If you're using the Microchip's C18 compiler, there is nothing wrong with it. I own both versions, I think Microchip has already started to steer people towards the C18 and away from Hi-Tech's version.
Im getting away with C18 now because it dont include the lkr folder.. I dont have the option to include that file during installation
perfect!! hehe I got no problem with HI-TECH C for 18f
hat's strange, my C18 Compiler installation contains a "lkr" directory with all the linker scripts,
Also Microchip has an education discount for students, 25% off all their development products, at least here in this country, the only requirement is an email address from an educational institution, .edu domain.
wow.. thanks for sharing.. I have my school email im happy to know that..
is that offer from the microchip website?
Advisory[1233] Employing 18F4550 errata work-arounds:
Advisory[1234] * Corrupted fast interrupt shadow registers
There are a few situations where they can be different. The one that I've encountered most frequently is if you have a pin (accidentally) shorted to ground. If you set the latch high, the latch will read high, but the port will read low because the voltage on the pin is still approximately ground.
void main()
{
//Initialize PORTD
//PD0 as Output
TRISD=0b11101111;
//Now loop forever blinking the LED.
while(1)
{
PORTD=0B00000000; //PORTD0 = HIGH
// LATD=0B00000000; //PORTD0 = HIGH
Wait();
PORTD=0B00010000; //PORTD0 = LOW
// LATD=0B00010000; //PORTD0 = LOW
Wait();
}
}
hi,
Im trying to blink a led with PIC18f4550 using proteus simulator.
what is the matter with this PIC because the PIC16f series functions in the simulator without setting the MCLR pin to high.
I mean I just noticed that it's different from PIC16f877a because during simulation it still function without setting the MCLR.. but this PIC it needs to pull the MCLR to high for everything to function...I know that in the real hardware it needs to pull to high.
just asking..
As far as the Advisory notices, I have not come across them before, most likely due to lack of building a simulation with a 18F4550. Most of the error messages enable you to click on them at which point a help system provides additional information.
Have you attempted to click on the Advisory Messages?
are you not sleeping? hehe your always online here..
Does this help explain the difference?
I only sleep four hours a day, sometimes in two separate two hour naps! I been this way since my teenage years.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?