Author |
Message |
Topic: (running) 18F problem receiving data rs232 (USART locked) |
niuton
Replies: 8
Views: 15805
|
Forum: General CCS C Discussion Posted: Mon Jun 29, 2009 4:02 pm Subject: (running) 18F problem receiving data rs232 (USART locked) |
Thank you very much for the help, and running the program.
I saw that the command putc ( 'a') needs 0.5ms to send the character for RS232. Is there another command or routine that takes less time? ... |
Topic: (running) 18F problem receiving data rs232 (USART locked) |
niuton
Replies: 8
Views: 15805
|
Forum: General CCS C Discussion Posted: Sun Jun 28, 2009 6:14 pm Subject: (running) 18F problem receiving data rs232 (USART locked) |
PCM programmer You're right, I simulated proteus and note that activates the overflow flag "OERR" that the two FIFO is full.
OERR is activated that when I'm sending four data and receive ... |
Topic: (running) 18F problem receiving data rs232 (USART locked) |
niuton
Replies: 8
Views: 15805
|
Forum: General CCS C Discussion Posted: Sun Jun 28, 2009 5:38 pm Subject: (running) 18F problem receiving data rs232 (USART locked) |
Thanks for replying so quickly (PCM_programer and FRANK),
Frank: You're right, I have to change the contents of the RDA and put it in the main.
PCM_programer: I did not disable the interruption ... |
Topic: (running) 18F problem receiving data rs232 (USART locked) |
niuton
Replies: 8
Views: 15805
|
Forum: General CCS C Discussion Posted: Sun Jun 28, 2009 4:41 pm Subject: (running) 18F problem receiving data rs232 (USART locked) |
Hello everybody, I'm a new component in this forum. I need help with comunication PIC -> PC, receipt from a 18F4520 PIC and a PC via RS232. I am programming with CCS C, everything works well in a t ... |
|