Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
didnt worked ... it must be having some serious problem? some configuration error?Also I am using timer0 with external input. When timer0 get an input, UART stops receiving. Is there any link between this?
it works sometimes and sometimes not. Also when it works, it stop suddenly at different times.
:(
- - - Updated - - -
I think there is some timing synchronization problem. When i disconnect hyper terminal and connect it after sometimes, it shows receive data. But when then stop at random...
didnt work :(
- - - Updated - - -
can this be because of time delay between controller and port ????
- - - Updated - - -
it just gave output once. I have written the output in while loop so it should have displayed it continuously. but it isnt.
thanks. It has opened but showing nothing :/
WHYYYY????
- - - Updated - - -
here is the UART code I am using
/* File: UART.c
Purpose: To provide UART functionality for PIC uC
*/
#include "Includes.h"
void InitUART(void)
{
TRISC6 = 1; // TX Pin
TRISC7 = 1; // RX...
I did this before.. still not working.
Does hyper terminal support USB-RS 232 communication ?
- - - Updated - - -
I tried two other software, teraterm and putty. Both says that "unable to open port connection". So it means there is some connection problem. Where do I need to do settings, in...
Hey
On the last part of project ... sigh
Using PIC16F877A, I used UART with PC and tried my code on proteus 8. Using virtual terminal on
proteus its working fine. Now when I linked it with PC through USB-Rs 232, installed successfully prolific driver and usb has been detected, it isnt giving...
Thanks poojarai, its coming on the proteus now.
I am sending these commands to PC for a software. That software (designed specifically for this app) is displaying random numbers with great delays. For example, I want to send no. of outputs and output/hour. It isnt displaying anything...
There is no problem in code. I figured out it is actually some mistake in connect with MAX232. When I connected the virtual terminal with PIC directly it is displaying fine. Why MAX232 is not working? I am doing the same general connections as in this picture...
Hey
Please help me in figuring out the problem in this code. I am interfacing UART of PIC16F877A with PC, baud rate 9600, 4MHz fosc. In main.c, I am just sending a char array through a command function Uart_Write_text. Testing circuit on proteus 8.1, the virtual termainal do show something but...
I am not starting a new thread. My question is also related to this. here is my UART code
#ifndef _XTAL_FREQ
#define _XTAL_FREQ 4000000
#endif
char UART_Init(const long int baudrate)
{
unsigned int x;
x = (_XTAL_FREQ - baudrate*64)/(baudrate*64);
if(x>255)
{
x = (_XTAL_FREQ -...
I did some changes in your too. But now problem is, the value doesnt remain constant. I am checking the code on Proteus 8.1, so instead of sensor, I am just giving pulse at RA4. Therefore, time between two pulses must remain constant. What can be he possible problem?
#include <htc.h>
#include...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.