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 19 matches
CCS Forum Index
Author Message
  Topic: problem with RS232 interrupt
g-netix

Replies: 4
Views: 11017

PostForum: General CCS C Discussion   Posted: Wed Aug 07, 2013 8:09 am   Subject: problem with RS232 interrupt
Oh yeah thank you so much! it seems to work well! Very Happy

I bought CCS because I found it simpler than MPLAB C18, but I didn't know its capability to enable or disable some automatic functions... ...
  Topic: problem with RS232 interrupt
g-netix

Replies: 4
Views: 11017

PostForum: General CCS C Discussion   Posted: Wed Aug 07, 2013 6:41 am   Subject: problem with RS232 interrupt
Hi! Smile

I'm using a PIC18F2420 and PCW v4.132. I use an external integrated 24MHz osc without X4 PLL.

I work with the UART @ 250 kbaud and I need to detect 2 consecutive framing error to synchron ...
  Topic: how to detect framing error
g-netix

Replies: 4
Views: 15647

PostForum: General CCS C Discussion   Posted: Sun Jul 28, 2013 2:11 pm   Subject: how to detect framing error
Finally I think I've managed to implement a DMX512 receiver. I haven't tested it with a real DMX controller but it seems to do its job with the same PIC with UART1 TX linked to UART2 RX.

I can cont ...
  Topic: how to detect framing error
g-netix

Replies: 4
Views: 15647

PostForum: General CCS C Discussion   Posted: Fri Jul 26, 2013 3:51 pm   Subject: how to detect framing error
Thank's for your reply ;)

So it seems not to be anything in the header, but I found in the datasheet that FERR is bit 2 of RCSTAx register.

I tried this :

#include <main.h>

#define B ...
  Topic: how to detect framing error
g-netix

Replies: 4
Views: 15647

PostForum: General CCS C Discussion   Posted: Fri Jul 26, 2013 11:10 am   Subject: how to detect framing error
Hi,

I use hardware UART @ 250k baud with brgh1ok like this :

#include <18F46K22.h>
#device ICD=TRUE
#device adc=16

#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 ...
  Topic: using UART error interrupt
g-netix

Replies: 3
Views: 6831

PostForum: General CCS C Discussion   Posted: Tue Jul 23, 2013 12:53 pm   Subject: using UART error interrupt
up!
  Topic: Problem with RS232
g-netix

Replies: 4
Views: 7416

PostForum: General CCS C Discussion   Posted: Mon Jul 22, 2013 12:36 pm   Subject: Problem with RS232
I think the problem is that you have 3 TX tied together, and if one of these try to send data, there is always a constant level that is in conflict with the data. You should try to put some resistors ...
  Topic: using UART error interrupt
g-netix

Replies: 3
Views: 6831

PostForum: General CCS C Discussion   Posted: Mon Jul 22, 2013 11:41 am   Subject: using UART error interrupt
Excuse me I forgot to mention it, I work with a 18F46K22, but I think it'll be available for almost all 18F and perhaps 24F and dsPIC33.

While I don't have answer I'll ask another question at the s ...
  Topic: using UART error interrupt
g-netix

Replies: 3
Views: 6831

PostForum: General CCS C Discussion   Posted: Sun Jul 21, 2013 11:27 am   Subject: using UART error interrupt
Hi all,

I'm building a DMX receiver. I use the UART @250kbaud and as DMX has a break >88us, I read that the error interrupt can detect this break (if I don't mistake the error appears twice for ...
  Topic: UART BRGH10K error
g-netix

Replies: 8
Views: 18484

PostForum: General CCS C Discussion   Posted: Thu Jul 18, 2013 10:47 am   Subject: UART BRGH10K error
Ok thank you it works! I don't understand why it doesn't work when it's generated by the Wizard, but I renamed it as you said and it works fine.
  Topic: ICD-U64 and PIC24EP / dsPIC33EP
g-netix

Replies: 1
Views: 5556

PostForum: General CCS C Discussion   Posted: Wed Jul 17, 2013 1:38 pm   Subject: ICD-U64 and PIC24EP / dsPIC33EP
HI,

As I'm here, I would know when will PIC24EP and dsPIC33EP series be available for programming with ICD-U64. In CCS Load it appears as "beta state" but when programming it returns the ...
  Topic: UART BRGH10K error
g-netix

Replies: 8
Views: 18484

PostForum: General CCS C Discussion   Posted: Wed Jul 17, 2013 1:28 pm   Subject: UART BRGH10K error
Hi!

I want to implement a DMX transmitter and receiver, but I can't use a baud rate of 250k because of when I compile I get the error "BRGH10K out of range" while it has been generated by ...
  Topic: RTOS and interrupt
g-netix

Replies: 10
Views: 14808

PostForum: General CCS C Discussion   Posted: Mon Aug 20, 2012 12:50 pm   Subject: RTOS and interrupt
Ok now I understand Smile I had it on the code so I'll be quite about any problem that could occur while data transfering ;)
  Topic: RTOS and interrupt
g-netix

Replies: 10
Views: 14808

PostForum: General CCS C Discussion   Posted: Mon Aug 20, 2012 12:42 pm   Subject: RTOS and interrupt
And then in my application I analyze the characters that arrive on the UART, if there is one or more errors it sends to the user "incorrect command". So at the moment I read this on the virt ...
  Topic: RTOS and interrupt
g-netix

Replies: 10
Views: 14808

PostForum: General CCS C Discussion   Posted: Mon Aug 20, 2012 11:56 am   Subject: RTOS and interrupt
I think I should add "errors" in the line of the UART like this :
#use rs232 (baud = 57600, parity = N, xmit = PIN_C6, rcv = PIN_C7, bits = 9, stream = RS232, errors)

but I don't ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group