cancel
Showing results for 
Search instead for 
Did you mean: 

STSAFE

jijomathew
Associate II

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 

3 REPLIES 3
Benjamin BARATTE
ST Employee

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

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

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