cancel
Showing results for 
Search instead for 
Did you mean: 

ST25DV64KC RF SWITCH ON/OFF

Danny0007
Senior

Hi Community,

I´m trying to import this driver for my custom board,

fp-sns-stbox1/Drivers/BSP/Components/st25dvxxkc/st25dvxxkc.c at main · STMicroelectronics/fp-sns-stbox1 (github.com)

could someone explain this more? why should NULL be written in ICREF_REG

Danny0007_1-1707663840703.png

Thanks in advance!

Danny

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
Rene Lenerve
ST Employee

Hello Danny0007,

This is a specific command for this component, which sends only the device address with 1 bit (b3) defining the option for I²C RF Switch ON/OFF (no target address and no data to send).

You can refer on this topic in the DataSheet (https://www.st.com/resource/en/datasheet/st25dv04kc.pdf ) at section 5.3.1 I²C priority.

To send only the device address with write bit selected the driver uses the ICREF register (as it is Read Only) and null data to stop I²C after device address byte.

Hope this can help you.

Kind Regards.

View solution in original post

2 REPLIES 2
Rene Lenerve
ST Employee

Hello Danny0007,

This is a specific command for this component, which sends only the device address with 1 bit (b3) defining the option for I²C RF Switch ON/OFF (no target address and no data to send).

You can refer on this topic in the DataSheet (https://www.st.com/resource/en/datasheet/st25dv04kc.pdf ) at section 5.3.1 I²C priority.

To send only the device address with write bit selected the driver uses the ICREF register (as it is Read Only) and null data to stop I²C after device address byte.

Hope this can help you.

Kind Regards.

Danny0007
Senior

Hi @Rene Lenerve 

that answers my question.

thanks a lot!:smiling_face_with_smiling_eyes: