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 6 matches
CCS Forum Index
Author Message
  Topic: How to make line Break UART
ivojk

Replies: 12
Views: 25634

PostForum: General CCS C Discussion   Posted: Mon Jun 21, 2010 5:09 am   Subject: RE
Hi,
Thanks for reply
Can you show me simple example about right way to receive?

Maybe this code is good:

char Buff;
char Counter;

#int_RDA
void RDA_isr(void)
{
disab ...
  Topic: How to make line Break UART
ivojk

Replies: 12
Views: 25634

PostForum: General CCS C Discussion   Posted: Mon Jun 21, 2010 3:36 am   Subject: re
Hi,
This is a part of my code about reading from UART

void read(void)
{
char Counter, i;

Counter = getc();
for (i=1; i < Counter; i++)
{
Buffer[i] = getc();
}
}

I d ...
  Topic: How to make line Break UART
ivojk

Replies: 12
Views: 25634

PostForum: General CCS C Discussion   Posted: Mon Jun 21, 2010 12:12 am   Subject: RE
Hi,
PCM programmer - can you try to receive with PIC after break? Sending work perfect but on me I can't receive.

Ttelmah - I will try later your code and write result.

BR
  Topic: How to make line Break UART
ivojk

Replies: 12
Views: 25634

PostForum: General CCS C Discussion   Posted: Sun Jun 20, 2010 3:01 pm   Subject: re:
Hi,
I'm using V4.107
For me delay_ms() work correct with this version.
With setup_uart() break work but I see other problem
I can't receive after this.


BR
  Topic: How to make line Break UART
ivojk

Replies: 12
Views: 25634

PostForum: General CCS C Discussion   Posted: Sun Jun 20, 2010 11:47 am   Subject: re:
Hi,
I know this but this break send only 12 bits.
I need to make a break for a more long time.
I need to set line in break for 20ms for 30ms and etc.
I need to tell how long to be line in break s ...
  Topic: How to make line Break UART
ivojk

Replies: 12
Views: 25634

PostForum: General CCS C Discussion   Posted: Sun Jun 20, 2010 8:11 am   Subject: How to make line Break UART
Hi,
I need set break state on UART TX line for a different time.
I'm using 18F2550
I try to disable transceiver but don't work.

Can somebody help me with source how to make line break or with l ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group