Skip to main content
Visitor II
April 1, 2004
Question

psdExpress upsd3300

  • April 1, 2004
  • 2 replies
  • 538 views
Posted on April 01, 2004 at 22:11

psdExpress upsd3300

    This topic has been closed for replies.

    2 replies

    hpaskalAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:59

    Hi all !

    I am developing on the Turbo uPsd DK3300 board with 3334d chip.

    I tried to send data through the SPI .

    I set pins on Port4 for spi in the PsdExpress program but the data don’t come out from the pins.

    Only when I set the registers of Port4 configuration (P4SFS0, P4SFS1) manually in the code , the spi start work through this pins

    1) Why do I have to set these regs in my code?

    2) Why they don’t have the right value from the merging of the design with the code?

    3) Do I have to load some init file after merging the code ?

    4) did I missed something here ?

    Thanks

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:59

    What you did is correct. This is just the way the part works. First you use PSDsoft to select the function of the port pin from a choice of several options. Then under software control, you choose the function of port 4 as either a port pin or the alternate function. The alternate function can be one of the several options that were available in PSDsoft.