Skip to main content
NCatt.1
Associate III
Solved

ST25 random address read

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

This topic has been closed for replies.
Ulysses HERNIOSUS
ST Technical Moderator

Hi, 

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

BR, Ulysses

3 replies

Ulysses HERNIOSUS
ST Technical Moderator

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
NCatt.1Author
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

 

Ulysses HERNIOSUS
ST Technical Moderator

Hi, 

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

BR, Ulysses