Skip to main content
Associate III
October 14, 2024
Question

STSAFE

  • October 14, 2024
  • 1 reply
  • 892 views

Hi,

How to authenticate a  device connected to STM 32 using USB Peripheral the STM 32 is integrated with STSAFE  IC , How to use peripheral Authentication Example for this in the software package 

1 reply

ST Employee
October 16, 2024

Hi @jijomathew ,

 

I'm not sure to understand your request ?

You want to authenticate a USB device connected to your STM32 device USB port ?

In your STM32 device you have an STSAFE-A and is acting as USB master ?

Best Regards,

Benjamin

Associate III
October 17, 2024

Hi @Benjamin BARATTE 

yes, Sir, 

I want to try the peripheral authentication, in my  STM 32, I have integrated STSAFE-A, and acting as a USB master.

Thanks and Regards 

Jijo Mathew

ST Employee
October 17, 2024

Hi @jijomathew ,

The STSAFE-A shall on the side of the peripheral you want to authenticate in that case.

Having the STSAFE-A on the USB master side will enable mutual authentication with peripheral.

The code example provided in the X-CUBE-SAFEA1 is showcasing the authentication of the STSAFE-A by the STM32. The use case is that STSAFE-A is on the peripheral side an when plugged to the I2C of the STM32, the authentication is done.

Best Regards,

Benjamin