Skip to main content
Dat Tran
Senior II
February 8, 2018
Solved

Wifi SPWF04SA Leds question

  • February 8, 2018
  • 2 replies
  • 999 views
Posted on February 08, 2018 at 20:22

Hi everybody!

The current datasheet (

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Fdatasheet%2Fgroup3%2Fc4%2F02%2Fe5%2F87%2F1c%2Fd2%2F4f%2Ff8%2FDM00328568%2Ffiles%2FDM00328568.pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM00328568.pdf

) does not give any indication to which direction that the LEDs should be going other than the name says LED Drive: module running, LED Drive: Wi-Fi Link Up, and LED Drive: power Up. This may indicate that the pin should source the LED and the reference schematic (

http://www.st.com/content/ccc/resource/technical/document/data_brief/group1/f4/06/e8/8b/99/10/4d/b4/DM00375570/files/DM00375570.pdf/jcr:content/translations/en.DM00375570.pdf

) also shows that the pin is sourcing the LED but they do not blink when that is the case. The LEDs only seem active when the WiFi module is sinking from the LED. Is this the proper way?

Thank for the help!

    This topic has been closed for replies.
    Best answer by Elio Cometti
    Posted on March 19, 2018 at 12:43

    - module running: blinking if blink_led=1@boot, otherwise is left at reset state and can be controlled by AT+S.GPIO*

    - Wi-Fi Link Up: goes low level when link is UP

    - power Up: goes high level for a while when the module is started, then goes to low level; it is set to high level when python is active; it acts as MOSI when SPI console is active.

    Regards

    2 replies

    Dat Tran
    Dat TranAuthor
    Senior II
    March 12, 2018
    Posted on March 12, 2018 at 19:18

    Any idea, please?

    Tesla DeLorean
    Guru
    March 12, 2018
    Posted on March 12, 2018 at 21:42

    Depressing level of response here, flagging this up to management, hopefully some staff responsible for this product line can provide some assistance, or direct you to an FAE with experience on it.

    https://community.st.com/0D50X00009XkWv5SAF

    https://community.st.com/0D50X00009XkWv4SAF

    Kling.Brian

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Dat Tran
    Dat TranAuthor
    Senior II
    March 16, 2018
    Posted on March 16, 2018 at 15:38

    Thank you for the update. It's good to know either configuration will work.

    However, for the three LEDs, module running, Wi-Fi Link Up, and power Up, what are their expected states?

    For example, Wi-Fi Link Up, does that pin go high when the link is up or does it go low?

    Similarly for the other pins. Power Up I imagine is high when the board has power and module running just blinks whenever 'blink_led' is 1, so it doesn't matter. Is that correct?
    Elio Cometti
    Visitor II
    March 19, 2018
    Posted on March 19, 2018 at 12:43

    - module running: blinking if blink_led=1@boot, otherwise is left at reset state and can be controlled by AT+S.GPIO*

    - Wi-Fi Link Up: goes low level when link is UP

    - power Up: goes high level for a while when the module is started, then goes to low level; it is set to high level when python is active; it acts as MOSI when SPI console is active.

    Regards

    Dat Tran
    Dat TranAuthor
    Senior II
    March 19, 2018
    Posted on March 19, 2018 at 19:21

    Thank you for your help!