Search Engine

Serial Reception

Add Question

25 Threads found on Serial Reception
i'm using the 20Mhz crystal in PIC18f26k22 controller fro serial communication program. the aim of program is to receive data from the Hercules to PIC and send same data back to Hercules while using serial communication i try to receive serial data at baud rate of 19200. but as i use reception time out count value 866 (...)
Hi , i am trying to use serial port of my pic(32MX460512L). I can receive bytes but i can't send them to MyComputer. I use Coolterm as a terminal program. I use example code but i didn't understand why it doesn't work . When i type a character on terminal , i want my pic to send it back. Here my example code : #include #if
RS 232 is serial then how can full duplex......???
1. it is ambiguous. I use CREN and it seems to work fine. 2. I don't think so, it is possible for a byte to remain in the FIFO if the serial system is suspended. 3. My way is to disable SPEN to prevent further reception, then read RCREG twice to clear the FIFO, disable CREN, re-enable CREN. RCIF is cleared by reading RCREG so there is no need to d
I am using ATMEGA16 and mikroC PRO AVR compiler. I need to know why serial reception using interrupts is not working. The UART transmit is working fine. // LCD module connections sbit LCD_RS at PORTB2_bit; sbit LCD_EN at PORTB3_bit; sbit LCD_D4 at PORTB4_bit; sbit LCD_D5 at PORTB5_bit; sbit LCD_D6 at PORTB6_bit; sbit LCD_D7 a
Hello, I am a beginner with 8051 family. I am trying to implement serial communication using 89S52 with PC. The string (rather a singel chracter at this stage) will be transmitted through Hyperterminal and after reception the received text (what ever it be) has to be displayed on LCD. The problem is when I am debugging the code in keil, it'
I think serial reception is working but serial Transmission is not happening i.e., PC is receiving serial Data but not sending serial data.
i want to error detection and correction coding for serial communication useing pic16f877
use RB0 interrupt for wake up pic. RB0 pin state can change by Zigbee serial Output with a diode or resistor.
Have a look at this page for various serial communication example
Dear all I am currently trying to simulate a program on PIC simulator IDE (Oshon software). The program compiled without any error in MikroBasic. Leds are flashing at port b.1 at intervals showing information reception but on the soft uart simulation interface, nothing is appearing. However when i tried the program with USART it works both in
Try this #include main() { char c; // set timer1 in auto reload 8 bit timer mode 2 TMOD=0x20; // load timer 1 to generate baud rate of 4800 bps TH1 = 0xFA; // set serial communication in mode 1 SCON=0x40; // start timer 1 TR1 = 1; while(1) { // enable reception REN = 1; //wait until data is received while((SCON & 0
Hi all, I have programmed 8051 to receive data serially but I couldn't see the data getting copied in the simulator. Please help here is the code I have done MOV TMOD,#20H MOV TH1,#-3 MOV SCON,#50H SETB TR1 up: JNB RI,up MOV A,SBUF MOV P1,A CLR RI SJMP up end As per the code data should be found in P1. But it is not. Kindly
SCON = 0x50; //mode1, 8bit UART, reception Enable TMOD = 0x20; //timer 1 8-bit auto-reload TH1 = UART_SetBaudRate(CLK_110592, UART_BAUD_19200); //Baud Rate 9600 8-n-1 TL1 = TH1; //Reload count ES = ON; //Enable serial Intr PS = ON; //Set High Priority of serial Intr EA = ON; //Enable Global Intr TR1 = ON
Why is necesary the equalization of serial data? Why dont just work with the data we receive?
Hi friends im new in PIC18F43K22, I need a serial communication(transmision and reception in 9600 bd rate) Code in C for this controller..pls help me. Thanks in advance
I want to use internal RC osc of xmega micro that have 1.5% tolerance in -40-85 temperature range,if I want to use its serial port with baudrate of 1200 to 115200 bps. Is this tolerance acceptable for serial ports? what tolerance in baudrate is acceptable for ports without error in data reception?
check following corrections serial_init: ;Set timer 1 mode to 8-bit Auto-Reload mov TMOD,#20H ;Enable reception ;Set serial port mode to 8-bit UART mov SCON,#50H ;Set baudrate to 9600 at 11.0592MHz mov TH1,#0FDH ; mov TL1,#0FDH ; ; setb TI ----------------
Are there any modifications to be done in the computer before serial data reception in a computer or the programming is enough. Can anyone provide me with a sample program to send a data from 8051 to computer using RS232.. thanks for ur help...
hi i have required 128 bit input for testing of a core, i am willing to give input from computer using seril port, to accomplish my task i have designed the sate machine which buffer 8-bit data from serial to buffer, and provide 128 bit to my core on reception of all 128 bit form seial port, the core is given as unders and warning which i have re
Hi all , i would some help please , how can i can i count time between two interrupts , what i mean for example i can have configured interrupt : btfsc PIR1, RCIF ; serial Port reception interrupt i need to set counter to be 0 when the first interrupt occurs , and when i send something new (second interrupt occurs to know when its
Interrupts are used to inform the processor about occurrence of an external event. The external events could be Key presses, reception of the character on the serial port etc. After receiving an interrupt processor stops the current task, jumps to the interrupt handler, perform required operation (detect which key is pressed or read the received
Hi, I have a query on the use of sticky parity on bit 5 of LCR in the serial communication. Sticky parity will force the parity for the LCR(4) to take a opposite state for transmission and reception. This allowed for known state to user. I am still unclear about this statement. Is there any simpler clearer explanation? Thanks for your hel
Why you need using ScanF function that expected an value, I think is more easy you load your buffer in serial ISR (your serial give an interrupt in start bit correct?) when you received that you are expecting you work the buffer .... leomecma
Hi, I would like to start developing a simple simplex radio device on 900MHz. For transmission I will use rfPIC12F675H and for reception rfRXD0920, both will work in FSK mode. I want to transfer data using standard (or some other custom) serial (RS232) protocol. Due to lack of information on the internet, design tips and samples for designi