cancel
Showing results for 
Search instead for 
Did you mean: 

LL driver for ST25DV chip

Danny0007
Senior

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 discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions

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

 

View solution in original post

2 REPLIES 2
Rene Lenerve
ST Employee

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.

 

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