cancel
Showing results for 
Search instead for 
Did you mean: 

how to set PPP with lte modem

Son, Dong-Seong
Associate III

I am testing LTE modem with a STM32H747 MCU

LTE modem is connectied with STM32H747 thru USART2.

I want to use PPP communications with LTE modem.

but when I try to check LWIP in [Pinout & Configuration] of IOC file,

I can't set [Enabled] of [LWIP Mode and Configuration]

It is disabled. I dont know why.

Can you explain how to set PPP with IOC file.

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hi @SOn, Dong-Seong​ ,

Thank you for this clarification.

1- Configure the ethernet as shown in the below figure ( RMII mode for example)


_legacyfs_online_stmicro_images_0693W00000bhrRoQAI.png2- Enable the DCache


_legacyfs_online_stmicro_images_0693W00000bhrVGQAY.png3- Enable LWIP


_legacyfs_online_stmicro_images_0693W00000bhrVQQAY.png 

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
KDJEM.1
ST Employee

Hello @Son, Dong-Seong​ ,

->  I can't set [Enabled] of [LWIP Mode and Configuration] It is disabled. I dont know why.

I recommend you to follow properly the steps as described in this FAQ.

-> Can you explain how to set PPP with IOC file

  • Use PPP_SUPPORT requires PPPOS_SUPPORT, PPPOE_SUPPORT or PPPOL2TP_SUPPORT turned on.
  • PPP_SUPPORT needs also PPP_IPV4_SUPPORT and/or PPP_IPV6_SUPPORT turned on. 

For that, please refer to the below figure.

0693W00000aJYoCQAW.pngWhen your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi. thank you for your response.

I can't enable LWIP.


_legacyfs_online_stmicro_images_0693W00000bhrQWQAY.png​how can i set like you?

KDJEM.1
ST Employee

Hi @SOn, Dong-Seong​ ,

Thank you for this clarification.

1- Configure the ethernet as shown in the below figure ( RMII mode for example)


_legacyfs_online_stmicro_images_0693W00000bhrRoQAI.png2- Enable the DCache


_legacyfs_online_stmicro_images_0693W00000bhrVGQAY.png3- Enable LWIP


_legacyfs_online_stmicro_images_0693W00000bhrVQQAY.png 

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi

If I can't set ETH of connectivity, can I not use PPP?

ETH cannot be set because many pins of the STM32H747 are used for other purposes.

Are there any other ways to use PPP?

Thank you.

KDJEM.1
ST Employee

Hi @Son, Dong-Seong​ ,

You can enable LWIP only if ETH IP is configured.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.