Author |
Message |
Topic: PIC18F4550 Help :) |
germans
Replies: 1
Views: 5894
|
Forum: General CCS C Discussion Posted: Fri Mar 11, 2016 10:26 am Subject: PIC18F4550 Help :) |
Hi guys.
I'm working with a PIC18F4550 and all was going perfect... I have a 4 MHz crystal and the configuration is as follow:
// Fuses
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,DEBUG,USBDIV,PLL1,CPUDI ... |
Topic: PIC18F4550 --> rs232 --> PC |
germans
Replies: 12
Views: 23882
|
Forum: General CCS C Discussion Posted: Wed Feb 24, 2016 2:05 am Subject: PIC18F4550 --> rs232 --> PC |
Fixed, it was a problem with "Gnd" from the USB<>TTL module.
I'm using an external power supply just to verify how it works. Cause in future my program will send via RS232 data to a ... |
Topic: PIC18F4550 --> rs232 --> PC |
germans
Replies: 12
Views: 23882
|
Forum: General CCS C Discussion Posted: Tue Feb 23, 2016 9:50 pm Subject: PIC18F4550 --> rs232 --> PC |
Well guys, my PIC program works fine when i feed the circuit with the pickit3.
The problem is that when i feed the circuit with an external power supply (5 Vdc) the rs232 communication doesn't work. ... |
Topic: PIC18F4550 --> rs232 --> PC |
germans
Replies: 12
Views: 23882
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2016 5:41 pm Subject: PIC18F4550 --> rs232 --> PC |
Ok guys! A lot of thanks for your answers.
I finally made it!
The problem was that USB<>TTL module pins are: TXC and RXC. I connected: TXC to TX from PIC, and RXC to RX from PIC. An ... |
Topic: PIC18F4550 --> rs232 --> PC |
germans
Replies: 12
Views: 23882
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2016 4:03 pm Subject: PIC18F4550 --> rs232 --> PC |
Thats exactly the same module: http://www.uv3r.com/Projects.html
(I tested with the jumper in Tx and Rx, using Termite and the module works fine) |
Topic: PIC18F4550 --> rs232 --> PC |
germans
Replies: 12
Views: 23882
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2016 3:37 pm Subject: PIC18F4550 --> rs232 --> PC |
Hello,
It is a serial communications issue. (Led in A3 is 1 second on and 1 second off). The PIC is running. I need to create a software serial port (its just a part of a whole project).
USB - U ... |
Topic: PIC18F4550 --> rs232 --> PC |
germans
Replies: 12
Views: 23882
|
Forum: General CCS C Discussion Posted: Mon Feb 22, 2016 2:03 pm Subject: PIC18F4550 --> rs232 --> PC |
Hi guys, I'm trying to do a simple program: Sending data from a PIC to the PC via rs232.
I'm using a PIC 18f4550 and a USB-UART Converter (it has 6 pins: 3.3, RST, 5, Tx, Rx, Gnd). I'm also using &q ... |
Topic: Accessing a specific bit of a variable |
germans
Replies: 7
Views: 16418
|
Forum: General CCS C Discussion Posted: Thu Feb 11, 2016 7:39 am Subject: Accessing a specific bit of a variable |
Hey, Thanks a lot for your complete answer! |
Topic: Accessing a specific bit of a variable |
germans
Replies: 7
Views: 16418
|
Forum: General CCS C Discussion Posted: Wed Feb 10, 2016 11:10 pm Subject: Accessing a specific bit of a variable |
Hi guys, I'm trying to access to a specific bit of an unsigned short, but i can't do it right. Here is an example of my function:
unsigned short function(unsigned short address)
{
addr ... |
Topic: PIC18f4550 + Crystal 20MHz --> Problems |
germans
Replies: 6
Views: 12399
|
Forum: General CCS C Discussion Posted: Wed Feb 10, 2016 10:58 pm Subject: PIC18f4550 + Crystal 20MHz --> Problems |
Hey guys, thank you for your help.
I think there is a problem working with 20Mhz crystals in a protoboard. I tried with a 4MHz crystal and it works! |
Topic: PIC18f4550 + Crystal 20MHz --> Problems |
germans
Replies: 6
Views: 12399
|
Forum: General CCS C Discussion Posted: Thu Feb 04, 2016 12:47 pm Subject: PIC18f4550 + Crystal 20MHz --> Problems |
Hi guys. I'm trying to configure a pic18f4550 + crystal 20MHz (+ two 15pF capacitors connected as shown in 18f4550 datasheet).
Here is my code:
#include <18f4550.h>
#fuses HSPLL,NOWDT ... |
|