cancel
Showing results for 
Search instead for 
Did you mean: 

ST10F272 XSSC Interface does not work

kay
Associate II
Posted on August 20, 2008 at 04:54

ST10F272 XSSC Interface does not work

3 REPLIES 3
kay
Associate II
Posted on August 18, 2008 at 08:06

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.

mirco23
Associate II
Posted on August 19, 2008 at 09:10

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)?

kay
Associate II
Posted on August 20, 2008 at 04:54

Hi,

meanwhile it works.

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