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

PCD #pin_select for SPI1 problems - OOPS: user error

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



Joined: 03 Dec 2008
Posts: 184
Location: Gresham, OR USA

View user's profile Send private message Send e-mail Visit poster's website

PCD #pin_select for SPI1 problems - OOPS: user error
PostPosted: Thu Apr 19, 2012 3:23 pm     Reply with quote

Processor: 24HJ128GP202
PCD: 4.130
IDE: PCW

I'm trying to set the pin selection for SPI1 and it does not seem to take hold - it works fine for the UART.

In researching this on the forum I saw a suggestion to set the registers manually. Does anyone have a short example of how to do this?

I tried generating a registers header file and including it but it generates lots of errors.

Thanks.

-------------------------------

The #pin_select works fine.
_________________
Jürgen
www.jgscraft.com
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