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

ISD1790 spi_xfer

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







ISD1790 spi_xfer
PostPosted: Thu Dec 13, 2007 6:55 pm     Reply with quote

Hello,

I am attempting to use the software spi_xfer function to interface to an ISD1790 voice chip. This chip has variable length commands, and variable length responses clocked out.

I am seeing some bits coming out of the ISD1790 chip as I clock in commands to it. The bit stream doesn't make sense at face value--I'm wondering if I have to swap nibbles/bytes in the received response? Some responses are 16 bits, some are 24 bits (that's an odd one to map to a variable) and others are 32 bits. The chip requires LSB_FIRST, and I am using the #use spi directive to set it up.

My main question is regarding whether or not I need to swap bytes/nibbles in the response?

Thanks for any assistance!
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