david_home

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Unable to decode i2c @ 350kHz #27762
    david_home
    Participant

    Thanks for quick turnaround.  It’s working great now.

    Cheers

    David

    in reply to: Unable to decode i2c @ 350kHz #27749
    david_home
    Participant

    Hi Support, Good news!  I have managed to increase the setup time and hold time so I don’t see any clashes with the clock rising edge.  However, it is still only decoding the first frame.  Can you tell me why the other frames have not been decoded?

    I’ve attached the data file.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Unable to decode i2c @ 350kHz #27748
    david_home
    Participant

    Fair enough.  It was worth a try :).  I keep trying to increase the setup time after clock stretching.

    Cheers

    David

    in reply to: Unable to decode i2c @ 350kHz #27736
    david_home
    Participant

    Thank you for looking at this issue for me.  I noticed after the clock stretching the SDA and SCL toggling at the same time too.  I was hoping it was just the resolution of the graph, but by your reckoning they changed on the same sample point.  I measured 300ns between the SDA going low and the SDC going high.  I assume that time is too short to separate the two signal changes, so it would appear to A2G that the peripheral is violating the setup time.  With that accepted, is there anyway you can just take the ‘new’ value of SDA on the rising edge of SCL?

    The slaves are actually  STM32F0’s so I’ll see if there is a way of extending the time between SDA going low and the SCL going high.  Unfortunately, the timing register looks quite complicated.

    Thanks for the updated software.  I haven’t tried it yet, but I’ll let you know how it goes.

    Cheers

    David

    in reply to: Unable to decode i2c @ 350kHz #27619
    david_home
    Participant

    I won’t let me upload the .dsf (for security reasons).  I’ll try zipping it first

     

    Attachments:
    You must be logged in to view attached files.
Viewing 5 posts - 1 through 5 (of 5 total)