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 enable 16x clock output for IRDA on 24FJ256 [SOLVED]
LVelectronics

Replies: 10
Views: 19014

PostForum: General CCS C Discussion   Posted: Sun Jul 17, 2016 12:53 am   Subject: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
Ahhh...
Seems indeed like a hardware problem. I'll have to work at higher baudrate...
Thanks for the excellent help!
Kind regards
  Topic: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
LVelectronics

Replies: 10
Views: 19014

PostForum: General CCS C Discussion   Posted: Sat Jul 16, 2016 2:35 am   Subject: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
Hi,

The chip is 24FJ256DA206

The clock is running at 32 Mhz

// External crystal is 8Mhz. Max clock speed is 96 Mhz
// Set clock to 32 Mhz to have some extra head room
#use delay(clock=3 ...
  Topic: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
LVelectronics

Replies: 10
Views: 19014

PostForum: General CCS C Discussion   Posted: Fri Jul 15, 2016 8:40 am   Subject: How to enable 16x clock output for IRDA on 24FJ256 [RE_OPEN]
I re-opened this one...

When I use the following code, the BCLK output is 16x the baudrate clock.

// IRDA serial bus
#pin_select U2TX=PIN_F4
#pin_select U2RX=PIN_F5
#pin_select U2RTS=PIN_F ...
  Topic: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
LVelectronics

Replies: 10
Views: 19014

PostForum: General CCS C Discussion   Posted: Fri Nov 20, 2015 12:42 am   Subject: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
Thank's for the help! SOLVED
  Topic: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
LVelectronics

Replies: 10
Views: 19014

PostForum: General CCS C Discussion   Posted: Thu Nov 19, 2015 11:49 am   Subject: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
Hi Ttelmah,

Thank's for the valuable inputs.

I had to tweak it a little bit and convert to 16 bits:

// IRDA serial bus
#pin_select U2TX=PIN_F4
#pin_select U2RX=PIN_F5
#pin_select U2RTS=P ...
  Topic: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
LVelectronics

Replies: 10
Views: 19014

PostForum: General CCS C Discussion   Posted: Wed Nov 18, 2015 12:51 pm   Subject: How to enable 16x clock output for IRDA on 24FJ256 [SOLVED]
Hi,

I'm trying to configure a serial port for IRDA interface, requiring TX, RX and a 16x clock for the IRDA chip.
How can this be configured?

// IRDA serial bus
#pin_select U2TX=PIN_F4
#pin_s ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group