ST10F272 XSSC Interface does not work
Company  
ST Home | Microcontrollers

Index  »  ST10  »  ST10F272 XSSC Interface does not work
     
   ST10F272 XSSC Interface does not work
 Moderated by :   »  Max  -  Kenshin  -  Najoua

Author
beginning argument    ( Replies received: 2 )
Flasher2   Posted 18-08-2008 at 11:36   



Registered on :
09-20-2007

From Germany

Messages : 11

 OFF-Line

it seems as if the cpu does not recognize, that data is in the transmit register. The output port and sclk remain high.

i write to the register using that:

unsigned int volatile sdata* near pui16XSSCTB = 0xE806;
#define XSSCTB (*pui16XSSCTB)

XSSCTB = 0xAA;


what can be the failure?
I used XSSCPORT to init the ports, and i can change the ports using the bits in the mentioned word, but ssc does not work.




 Profile   Quote  
Mirco   Posted 19-08-2008 at 12:40   



Registered on :
03-30-2005

From Germany

Messages : 12

 OFF-Line

Which value did you write to XSSCCON (with XSSCEN = 0)? Did you configure the XSSC for operating in master mode?

How did you configure the XSSC - Pins (i think like described in Table 56 in the User Manual)?



 Profile   www   Quote  
Flasher2   Posted 20-08-2008 at 08:24   



Registered on :
09-20-2007

From Germany

Messages : 11

 OFF-Line

Hi,

meanwhile it works.

I didnt use the XDP-Registers to configure the Port-Pins. *argh*



 Profile   Quote  
On Top

Search in the forums
 
Jump To