cancel
Showing results for 
Search instead for 
Did you mean: 

ST25 random address read

NCatt.1
Associate III

Hello, 

I am building my own driver for ST25 device. After configuring the GPO I would like to read the register to make sure the config is applied. As said in datasheet I have to use this function:

NCatt1_0-1733480403201.png

Which HAL function should I use ? I tried with these 2 functions here but because of the RESTART and second DevSel with R/W set to read, I think is does not work.

  • HAL_I2C_Mem_Read_DMA
  • HAL_I2C_Master_Receive_DMA

Thank you for your help

3 REPLIES 3
Ulysses HERNIOSUS
ST Employee

Hi,

is this question here for ST25DV or for ST25R3916(B)?

And I think it would also be good if you describe what actually happens in your system (traces, etc.).

BR, Ulysses

NCatt.1
Associate III

Hi, 

It is for ST25DV.

I don't have traces because I did not run the code yet. I just don't know which function I should use to implement to have this specific frame with RESTART.

NCatt1_0-1733486058127.pngNCatt1_1-1733486071287.png

 

Hi, 

I would check the sources of X-CUBE-NFC7 or X-CUBE-NFC4 which should contain proper sequences for STM32.

BR, Ulysses