Skip to main content
Visitor II
September 23, 2008
Question

SSP0 problem!

  • September 23, 2008
  • 2 replies
  • 793 views
Posted on September 23, 2008 at 14:24

SSP0 problem!

    This topic has been closed for replies.

    2 replies

    yves23Author
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:55

    Hi

    I have problem with the new version of SSP example;

    If I use the SSP example n°2 from the new firmware library (12/07/2007),

    the master SSP0 sends data’s but the slave SSP1 doesn't receive data’s.

    The CPU stays in loop:

    while(SSP_GetFlagStatus(SSP1, SSP_FLAG_RxFifoNotEmpty)==RESET);

    But,when I used SSP example (05/18/2006 version),

    The master SSP0 transmits the buffer to the slave SSP1 Without errors.

    There are 32 errors when the slave SSP1 sends data to the master. The data’s received are the data sent to generate the clock.

    Thankx Yves from Brittany

    :-?

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:55

    Hi Yves,

    Could you send more information (source code),

    At this moment, We (at least I) have a lack of details.

    Be careful, sometime, they are some error in ST example, resulting of a too fast copy past (a SSP0 where should be SSP1, for example) (i have a doubt about each example has been tested before releasing)

    Thanks in advance.

    Damien

    A french guy lost in the middle

    of the English Yorkshire

    ;)