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

Facing problem in reading data from MAXQ3180 with a PIC16F72

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ram Prasadh



Joined: 26 Apr 2011
Posts: 2
Location: India

View user's profile Send private message Send e-mail

Facing problem in reading data from MAXQ3180 with a PIC16F72
PostPosted: Sat Jun 04, 2011 4:04 am     Reply with quote

When communicating with a MAXQ3180 (I am reading a register from the MAX), I am expecting 0xC1, 0xC2, 0X4E, 0X41,0XFF,0XFF. I am reading a register 0x044, a 16-bit register which has the value 0XFF and 0XFF. But instead of the first 0XFF, I am getting 0X00,and for the second value I am getting 0Xc1. I have written the code just according to the flowchart in page 25 of the MAXQ3180 datasheet. Does anyone know the solution to solve this problem?
temtronic



Joined: 01 Jul 2010
Posts: 9225
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Jun 04, 2011 5:22 am     Reply with quote

Please post your code, PIC type and compiler version, it'll help us help you faster !
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group