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 4 matches
CCS Forum Index
Author Message
  Topic: I2C and UART not working together
delpiero

Replies: 6
Views: 15847

PostForum: General CCS C Discussion   Posted: Mon Sep 05, 2016 7:03 am   Subject: I2C and UART not working together
You are right. Thank you. It is working now.
  Topic: I2C and UART not working together
delpiero

Replies: 6
Views: 15847

PostForum: General CCS C Discussion   Posted: Mon Sep 05, 2016 6:12 am   Subject: I2C and UART not working together
The problem continues. I can send uart data. I can read and write I2C. But if i read the data package(16 byte series), the program doesn't run.

My interrupt code part


int x = 0;
short reply = ...
  Topic: I2C and UART not working together
delpiero

Replies: 6
Views: 15847

PostForum: General CCS C Discussion   Posted: Wed Aug 31, 2016 3:02 am   Subject: I2C and UART not working together
Your code as posted will crash.

If you enable an interrupt (and global), you must have a handler for this interrupt. Otherwise the code will jump back 'into itself', without a handler to go to..... ...
  Topic: I2C and UART not working together
delpiero

Replies: 6
Views: 15847

PostForum: General CCS C Discussion   Posted: Wed Aug 31, 2016 2:08 am   Subject: I2C and UART not working together
Hi,

I'm trying to use rs232 and i2c together. They are working individually but are not working together. If i send a byte from i2c, rs232 doesn't work.
Can you help me?

My code:

#include ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group