| jgschmidt 
 
 
 Joined: 03 Dec 2008
 Posts: 184
 Location: Gresham, OR USA
 
 
			        
 
 | 
			
				| PCD #pin_select for SPI1 problems - OOPS: user error |  
				|  Posted: Thu Apr 19, 2012 3:23 pm |   |  
				| 
 |  
				| 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
 |  |