Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with init sequence on STM32H7xx #121

Open
micheledarold opened this issue Sep 22, 2022 · 2 comments
Open

Problem with init sequence on STM32H7xx #121

micheledarold opened this issue Sep 22, 2022 · 2 comments

Comments

@micheledarold
Copy link

micheledarold commented Sep 22, 2022

Hi I'm trying to port lwesp into my STM32H743, I have made my new lwesp_ll_stm32fh743_discovery.c and add some modification also in lwesp_ll_stm32.c
now the communication work but I can't complete the initialization sequence, the process send ATE0 (or ATE1) and only sometime go to the next steps. If I try with LWESP_RESET_PIN activated I got the same result, the process never send AT+SYSCFG, AT+GMR and other command

looking at trafic with a terminal (connected directly to TX or RX of the wifi module) I see the request of the board and the reply of wifi module.

Could be a problem in settings of the USART communication? What about cache management?

@micheledarold micheledarold changed the title STM32H7xx available? Problem with init sequence on STM32H7xx Sep 22, 2022
@MaJerle
Copy link
Owner

MaJerle commented Sep 22, 2022

It can be both actually - but there should be H735-DK demo in the repository for you to take a look.
Did dyou debug the app - do you see characters being received or not ?

@micheledarold
Copy link
Author

micheledarold commented Sep 22, 2022

Where is the demo for H735-DK? sorry but I don't see it in the repository (both development branch and v1.0.0 branch)

I forgot to say that I'm using 2.1.0 AT version on ESP8266 and I'm working with v1.0.0

I see characters received, and preocessed but for some reason the sequence of reset command lwespi_get_reset_sub_cmd is called just one time, if I set a breakpoint in this function the sequence go away for some steps more
when I don't have the breakpoint I send just AT+RST and nothing else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants