CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 27 matches
CCS Forum Index
Author Message
  Topic: Interrupt on change not working with low current EX trigger
pulurumbuluruciu

Replies: 3
Views: 6242

PostForum: General CCS C Discussion   Posted: Mon Jan 06, 2014 4:43 pm   Subject: Interrupt on change not working with low current EX trigger
When I'm using a low-power (5V , ~10 mah) external trigger source my PIC wont "See" the interrupt. I tested with the logic-analyzer and the rising edge generated by the external trigger is t ...
  Topic: Does UART have error correction?[SOLVED]
pulurumbuluruciu

Replies: 2
Views: 5676

PostForum: General CCS C Discussion   Posted: Fri Jan 03, 2014 5:49 pm   Subject: Does UART have error correction?[SOLVED]
Problem solved. The problem was FTDI latency time option. Once I set that to 1ms in the FTDI driver ( Default 16) it worked as it should. Hope to help someone today. Thank you Temtronic for your input ...
  Topic: Does UART have error correction?[SOLVED]
pulurumbuluruciu

Replies: 2
Views: 5676

PostForum: General CCS C Discussion   Posted: Fri Jan 03, 2014 12:03 pm   Subject: Does UART have error correction?[SOLVED]
Hello, I have the folowing question/problem. I'm communicating with 2 18F PICs ( each to another) via UART. The communication is going just fine. But when I put the computer between them (com-to-com s ...
  Topic: Get rid of parasitic UART power
pulurumbuluruciu

Replies: 2
Views: 6066

PostForum: General CCS C Discussion   Posted: Thu Dec 12, 2013 8:39 am   Subject: Get rid of parasitic UART power
Hi , thank you, the 100R resistor did not work , however with a 2KOhm resistor it works , no more parasitic power , yey Very Happy thank you again
  Topic: Get rid of parasitic UART power
pulurumbuluruciu

Replies: 2
Views: 6066

PostForum: General CCS C Discussion   Posted: Wed Dec 11, 2013 7:07 pm   Subject: Get rid of parasitic UART power
Hi , I`m having a problem with parasitic power on my 18f PIC. I have a power switch to turn ON/OFF the circuit but it wont work because with a PL2032 USB/UART converter the PIC gets parasitic power an ...
  Topic: Baud Rate "Conversion"
pulurumbuluruciu

Replies: 10
Views: 14515

PostForum: General CCS C Discussion   Posted: Mon Dec 09, 2013 5:40 am   Subject: Baud Rate "Conversion"
Hi again. After 2 weeks of strugle..no..I did not solve it..:| How Is possible when I print from a buffer created by INT_RDA2 and put the character on Uart1 and then get it back(echo prevent), to get ...
  Topic: Clearing UART HW 3 Byte Buffer
pulurumbuluruciu

Replies: 9
Views: 15032

PostForum: General CCS C Discussion   Posted: Thu Dec 05, 2013 6:05 pm   Subject: Clearing UART HW 3 Byte Buffer
Sorry Asmboy , but I dont understand this part "never known the code " Embarassed ..could you please rephrase...I`m not such a fine english user.
  Topic: Clearing UART HW 3 Byte Buffer
pulurumbuluruciu

Replies: 9
Views: 15032

PostForum: General CCS C Discussion   Posted: Thu Dec 05, 2013 5:31 pm   Subject: Clearing UART HW 3 Byte Buffer
I understand. I`m gonna use the TXSTA TRMT flag to check if the character has been shifted. Hope will work. Thank you very much
  Topic: Clearing UART HW 3 Byte Buffer
pulurumbuluruciu

Replies: 9
Views: 15032

PostForum: General CCS C Discussion   Posted: Thu Dec 05, 2013 4:31 pm   Subject: Clearing UART HW 3 Byte Buffer
Hi , at each UART is this :
http://www.maximintegrated.com/images/appnotes/214/1189Fig02b.gif
  Topic: Clearing UART HW 3 Byte Buffer
pulurumbuluruciu

Replies: 9
Views: 15032

PostForum: General CCS C Discussion   Posted: Thu Dec 05, 2013 4:07 pm   Subject: Clearing UART HW 3 Byte Buffer
Hi , the UART1 TX/RX are connected together via a open collector buffer , UART2 the same, the purpose is acting like a 1 wire databus , preventing the echo getting in the receive buffer.

#include & ...
  Topic: Clearing UART HW 3 Byte Buffer
pulurumbuluruciu

Replies: 9
Views: 15032

PostForum: General CCS C Discussion   Posted: Thu Dec 05, 2013 12:50 pm   Subject: Clearing UART HW 3 Byte Buffer
Hello , I`m trying to clear the UART incoming buffer but It just wont work...I look on the forum and looking on the 18f25k22 datasheet I come up with this code but it still wont work...

#byte RCREG ...
  Topic: Baud Rate "Conversion"
pulurumbuluruciu

Replies: 10
Views: 14515

PostForum: General CCS C Discussion   Posted: Tue Dec 03, 2013 8:26 am   Subject: Baud Rate "Conversion"
How do I send 9 bits char? Using 2 stop bits?
  Topic: Baud Rate "Conversion"
pulurumbuluruciu

Replies: 10
Views: 14515

PostForum: General CCS C Discussion   Posted: Tue Dec 03, 2013 6:48 am   Subject: Baud Rate "Conversion"
Thank you for all your inputs. The incoming burst is relativ small ( 100 chars) so it could be easy managed by a buffer. The problem is that when I output the characters with a 50 us delay( needed as ...
  Topic: Baud Rate "Conversion"
pulurumbuluruciu

Replies: 10
Views: 14515

PostForum: General CCS C Discussion   Posted: Mon Dec 02, 2013 3:43 pm   Subject: Baud Rate "Conversion"
Hi. Using 18F25k22 ( 2 UART) I'm trying to get data from one UART With a 57600 bps, and send it over the other UART with 9600 bps. The problem is that the data comes too fast from the 57600, and the 9 ...
  Topic: Software UART problem
pulurumbuluruciu

Replies: 15
Views: 33613

PostForum: General CCS C Discussion   Posted: Thu Nov 28, 2013 10:40 am   Subject: Software UART problem

#int_RDA
void RDA_isr(void)
{
DISABLE_interrupts(INT_RDA2);
fputc(fgetc(U1)U2);
ENABLE_interrupts(INT_RDA2);
}
//////////////////////////// ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group