Skip to main content
Explorer II
January 22, 2024
Solved

LL driver for ST25DV chip

  • January 22, 2024
  • 1 reply
  • 2895 views

Hello community,

I´m trying to use LL driver for the communication with ST25DV64KC chip,  the register address of this chip is 16bits, but the current LL driver only supports 8bit, I tried to adjust it and failed. 

Do you have some LL driver examples for ST25DV chip? thanks in advancd.

Danny0007_1-1705962098382.png

 

Danny0007_2-1705962190516.png

 

 

 

    This topic has been closed for replies.
    Best answer by Danny0007

    Hi Rene,

    Thanks for replying me. That's also helpful.

    But in meanwhile I found the real problem is this one, and I open a new topic: 

    https://community.st.com/t5/interface-and-connectivity-ics/bluenrg-lp-i2c1-and-i2c2-coexistence/m-p/633000#M10700

     

    1 reply

    ST Employee
    January 23, 2024

    Hi Danny0007,

    The ST25DV tag can be seen as a standard EEPROM on I²C side, so the process to write to a register or memory area is the same (difference between register and memory is done with the value of device select). It follows this frame:

    ReneLenerve_0-1706024418589.png

    After the device select, you just need to send data in bytes, with the first 2 the memory address (or register address), each byte is sent one after the other. So you can use the LL_I2C_TransmitData8 for that.

    For the read function, you will need to first send device select for Write followed with the 2 bytes of address, then restart with device select for Read and get data from the tag (read receive register).

    ReneLenerve_1-1706024909829.png

     

    Don't hesitate to have a look on the ST25DV64KC's DataSheet for the I²C communication 

    Hope this can help you

    Kind Regards.

     

    Danny0007AuthorAnswer
    Explorer II
    January 30, 2024

    Hi Rene,

    Thanks for replying me. That's also helpful.

    But in meanwhile I found the real problem is this one, and I open a new topic: 

    https://community.st.com/t5/interface-and-connectivity-ics/bluenrg-lp-i2c1-and-i2c2-coexistence/m-p/633000#M10700