Skip to main content
Visitor II
August 20, 2008
Question

ST10F272 XSSC Interface does not work

  • August 20, 2008
  • 3 replies
  • 796 views
Posted on August 20, 2008 at 04:54

ST10F272 XSSC Interface does not work

    This topic has been closed for replies.

    3 replies

    kayAuthor
    Visitor II
    August 18, 2008
    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.

    Visitor II
    August 19, 2008
    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)?

    kayAuthor
    Visitor II
    August 20, 2008
    Posted on August 20, 2008 at 04:54

    Hi,

    meanwhile it works.

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