FRDM-K64F, MBEDTLS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FRDM-K64F, MBEDTLS

4,230件の閲覧回数
a8Chcx
Contributor IV

Hi,

I am testing MbedTLS function on FRDM-K64 @120MHz by using HTTPS Server.

And I have the following questions:

1) When I use software based library. When I call "while ((ret = mbedtls_ssl_handshake(&(tlsDataParams.ssl))) != 0)", it took about 900ms.

2) When I use MMCAU library from NXP. When I call "while ((ret = mbedtls_ssl_handshake(&(tlsDataParams.ssl))) != 0)", it took about 850ms.

Can anybody tell me if it is reasonable? 

Based on document on Web, it should be 10 times' fast than software library when using MMCAU?

Can anyone help me to improve the performance?

 

Thanks,

 

Christie

0 件の賞賛
返信
6 返答(返信)

4,187件の閲覧回数
Celeste_Liu
NXP Employee
NXP Employee

Hello @a8Chcx ,

Thanks for your post.

Are you using a custom board? Have you used the SDK demo?

Would it be convenient for you to tell me the process to reproduce the issue? Or you can send me your code, and I'll help you check it.

BRs,

Celeste

0 件の賞賛
返信

4,181件の閲覧回数
a8Chcx
Contributor IV

Hi Celeste,

I am using FRDM-K64F board. The project is based on MbedTLS HTTPS server.

I did minor modification for HTTPS client and try to talk to HTTPS Server to measure the time...

I am using "MCUXpresso IDE v11.5.0 [Build 7232] [2022-01-11]" with SDK2.10.0.

Please check the attached testing project...

and let me know your testing results...

Thanks,

Christie

0 件の賞賛
返信

4,177件の閲覧回数
a8Chcx
Contributor IV

Hi Celeste,

 

The testing project is attached...

 

Thanks,

Christir

0 件の賞賛
返信

4,157件の閲覧回数
Celeste_Liu
NXP Employee
NXP Employee

Hi Christir,

I tried your testing project. However, there were a lot of error reports. Could you please check it and send us a correct project again?

 

Celeste_Liu_0-1745896060574.png

 

BRs,

Celeste

0 件の賞賛
返信

4,139件の閲覧回数
a8Chcx
Contributor IV

Hi Celeste,

I tried to compile the project again and works fine.

Please check the debug directory and there is *.axf file that is generated today.

I am using "MCUXpresso IDE v11.5.0 [Build 7232] [2022-01-11]" and SDK2.10.0

You need to set "LWIP_DNS=1" in preprocessing because I am using name conversion function.

Thanks,

 

Christie

0 件の賞賛
返信

4,136件の閲覧回数
a8Chcx
Contributor IV

Attached project again..

0 件の賞賛
返信