Author |
Message |
Topic: Software UART not working fine |
ksraja
Replies: 5
Views: 9829
|
Forum: General CCS C Discussion Posted: Sun Jul 05, 2015 9:54 pm Subject: Re: Software UART not working fine |
Hi
Thank you for your reply, in 40MHz is not working means other 2 uarts working fine, this software uart only not working fine.
In Pic support only 2 uart ?... it will not support more than ... |
Topic: Software UART not working fine |
ksraja
Replies: 5
Views: 9829
|
Forum: General CCS C Discussion Posted: Thu Jul 02, 2015 3:48 am Subject: Software UART not working fine |
Hi
I am using PIC18F8722 in my project. I am interfacing 2 uarts for touch screen and another device. Now I want to communicate with one sensor using rs232, so that i am using a software uart.
... |
Topic: Need library for MCP4728 |
ksraja
Replies: 2
Views: 6011
|
Forum: General CCS C Discussion Posted: Thu Jan 22, 2015 3:56 am Subject: Need library for MCP4728 |
Hi
Any of you provide the library file for mcp4728. |
Topic: 2 uart interrupt code |
ksraja
Replies: 6
Views: 11451
|
Forum: General CCS C Discussion Posted: Mon Dec 29, 2014 10:16 pm Subject: 2 uart interrupt code |
Don't need to, if you have the CCS compiler you already have it in the examples directory.
As was said earlier, look at the examples already provided.
Also, search this forum for sisr.c to find usag ... |
Topic: 2 uart interrupt code |
ksraja
Replies: 6
Views: 11451
|
Forum: General CCS C Discussion Posted: Sat Dec 27, 2014 8:27 am Subject: 2 uart interrupt code |
You must first understand that an interrupt means only ONE character is
available and you should getc() only ONE character then get out of the
ISR ASAP similar to this:
#INT_RDA
void serial_rec ... |
Topic: 2 uart interrupt code |
ksraja
Replies: 6
Views: 11451
|
Forum: General CCS C Discussion Posted: Sat Dec 27, 2014 8:23 am Subject: 2 uart interrupt code |
You need to use buffers. Have a look at the CCS example ex_sisr.c. See how they do it,try with one UART, then copy it for the 2nd UART. It does work for 2 UARTs both running at 115k200.
jay
... |
Topic: 2 uart interrupt code |
ksraja
Replies: 6
Views: 11451
|
Forum: General CCS C Discussion Posted: Sat Dec 27, 2014 5:31 am Subject: 2 uart interrupt code |
Hi
I am using PIC18F6722, in this controller have 2 uart. I want to use both uart interrupt, but the controller is not working.
#use rs232(baud=115200,xmit=PIN_C6,rcv=PIN_C7,ERRORS)
# ... |
Topic: need adc interrupt code for PIC18F6722 |
ksraja
Replies: 1
Views: 5750
|
Forum: General CCS C Discussion Posted: Wed Dec 10, 2014 11:24 pm Subject: need adc interrupt code for PIC18F6722 |
Hi
My project is in robotics, here i want to read the position of motor where it is, so that I am using Potentiometer to read the position of motor.
Pls can anyone provide the adc interrupt co ... |
|