This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ISO1228: SPI sample code and CRC caculation

Part Number: ISO1228

Hi Sir:

Could our SW team get a SPI cample code for this part?

And how do we calculate 6 bit CRC?

Thanks!

  • Hi Kyle,

    Could our SW team get a SPI cample code for this part?

    I don't believe that we currently have example code that we can provide that shows how SPI read/write operations are performed with software. However, I will discuss with the team about potentially adding example code that shows this to future revisions of the datasheet. 

    And how do we calculate 6 bit CRC?

    Sorry, we cannot share any information about how the device calculates the 6 bit CRC. The device will internally use the CRC to determine if there are any data communication errors during transmission across the isolation barrier. The exact CRC bits will not be visible and are not availible to be read/written using SPI. Any CRC errors that occur will only be reported by the nFAULT flag being asserted or with the corresponding bit in the SPI register being made high.

    Regards,

    Kenneth

  • Hi Arnold:

    Thanks for the reply.

    Could we learn more about how to send SPI commands? Since now SPI read seems not getting the correct information. 

  • Hi Kyle,

    Thanks for the update.

    For an example of how to perform a SPI read operation, please refer to the below diagram from the ISO1228 datasheet:

    Regards,

    Kenneth