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 11 matches
CCS Forum Index
Author Message
  Topic: DO loop + USB interrupt
shirke

Replies: 1
Views: 8618

PostForum: General CCS C Discussion   Posted: Fri Oct 05, 2018 1:55 pm   Subject: DO loop + USB interrupt
Hi,

I have a project in which I have to filter the incoming data with a FIR filter, and after that the uC have to send out via USB.
For this I use a dsPIC33EP256MU806.
I use the <usb_cdc.h> ...
  Topic: Errors in USB
shirke

Replies: 7
Views: 16129

PostForum: General CCS C Discussion   Posted: Tue Jul 03, 2018 11:07 am   Subject: Errors in USB
Thank you for your ideas. Cool

The problem was the overwrite of the buffer. I thought that the usb_cdc_putready() function was enough, but it wasn't.
Now I fill and flush the buffer manually ...
  Topic: Errors in USB
shirke

Replies: 7
Views: 16129

PostForum: General CCS C Discussion   Posted: Fri Jun 29, 2018 12:02 pm   Subject: Errors in USB
I have tried it, I have changed all of the 'usb_cdc_putc_fast()' function to 'usb_cdc_putc()' but the result is the same. Is it possible that the error is in the silicon? Do you have any other idea? I ...
  Topic: Errors in USB
shirke

Replies: 7
Views: 16129

PostForum: General CCS C Discussion   Posted: Fri Jun 29, 2018 9:43 am   Subject: Errors in USB
I use the 'usb_cdc_putc_fast()' function. Here you can see the code that I use on both uC. I think the buffer can not be overwritten because I check it with the 'usb_cdc_putready()' function. :confus ...
  Topic: Errors in USB
shirke

Replies: 7
Views: 16129

PostForum: General CCS C Discussion   Posted: Thu Jun 28, 2018 11:57 pm   Subject: Errors in USB
Hello Guys!

I try to use the USB with a dsPIC33EP256MU806 uC. I would like to use CDC communication, with the own library of CCS. I need to send 8192 bytes via USB to a PC where a script receives t ...
  Topic: High Speed PWM, how to configure it?
shirke

Replies: 14
Views: 30413

PostForum: General CCS C Discussion   Posted: Mon Dec 05, 2016 6:27 am   Subject: High Speed PWM, how to configure it?
3) here is particularly important. If you read the example that I refer to earlier, it has notes in the 'comments' explaining how the figures are calculated.

Ok. And where can I find that example? ...
  Topic: High Speed PWM, how to configure it?
shirke

Replies: 14
Views: 30413

PostForum: General CCS C Discussion   Posted: Sun Dec 04, 2016 3:02 pm   Subject: HSPWM
Hi,
Sorry, I don't understand it. How can I set the PWM frequency and duty cycle? Can you show me an example?

Best Regards,
Shirke
  Topic: Interrupts disabled during call to prevent re-entrancy
shirke

Replies: 3
Views: 10033

PostForum: General CCS C Discussion   Posted: Fri Nov 11, 2016 2:11 pm   Subject: Interrupts disabled during call to prevent re-entrancy
I understand that this is for safety, but this is an external Interrupt what occures every 500us and the spi communication needs only about 250us. So it is not possible to call the spi recursively.
  Topic: Interrupts disabled during call to prevent re-entrancy
shirke

Replies: 3
Views: 10033

PostForum: General CCS C Discussion   Posted: Thu Nov 10, 2016 3:34 pm   Subject: SPI inline
Hi,
I got a warning: Warning#216 Interrupts disabled during call to prevent re-entrancy: (@SPI_XFERM16_2). I have read that I have to put #inline before the function, but I don't know how can I put ...
  Topic: RS232 hardware flow control problem?
shirke

Replies: 13
Views: 30700

PostForum: General CCS C Discussion   Posted: Thu Nov 10, 2016 3:04 pm   Subject: RS232 hardware flow control problem?
INT_RDA has nothing to do with flow control...

It is saying 'a character has been received' (past tense). Flow control has to happen _before_ characters are received, or before they are transmitted ...
  Topic: RS232 hardware flow control problem?
shirke

Replies: 13
Views: 30700

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2016 4:40 am   Subject: Flow control problem
Hi,
I try to use RS232 flow control with RDA interrupt, but it doesn't work. Can you show me some examples how can I use it?
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group