-
Notifications
You must be signed in to change notification settings - Fork 19
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
running on STM32L071 #73
Comments
Hello, Thank for sharing your experience. |
Other question : is your TTN gateway near to the device ? too high signal will jam the response. You can use attenuator on the gateway of pur your hand around the device antenna. It helps in that case.
must match with your CLK otherwise the timing are not good. If you have something to measure the current consumption like OTii ARC you can verify the timings You should see the reception switch 5s after end of JoinRequest transmission. |
I checked the configuration. the frequency is identical in the cubeMx and in config.h 32000000. LowPower_disable (); at the end project_setup () did not bring any improvement. the stm32l_lowPowerRestoreGpioConfig () in gpio.c is adapted. I created the logs with a timestamp. and the current consumption over 10 ohm was recorded with an oscilloscope. I changed the #define ITSDK_LORAWAN_DEFAULT_DR to __LORAWAN_DR_4 as a test. Strangely, with the setting DR4, the program does not stay with ", lorawan_driver_LORA_getJoinState, lorawan_driver_LORA_Join (mode: 0), LoRaMacMlmeRequest return error (11)" as long as with DR0. but maybe it's normal. the gateway is indeed very close (4M). I covered the antenna and even put it in a metal box. without change. serial_console_session_2020-12-13_DR4.txt |
Apparently the RX timing sounds good. I see you did test with ESP previously, please make sure the DEVEUI / APP EUI are in the right order as on Arduino they are reversed, not in it-sdk. You can see the byte received in the TTN gateway live data and verify your dev eui. Make sure your deveui and appeui are correctly set by printing them from the console. |
I am trying to get your software package STM32 IoT
SDK running on a board I developed myself. (STM32L071CZ + SX1276). The
software is running so far, but I cannot join into the TTN network.
The SX1276 sends the data successfully. I see it on the spectrum
analyzer but the registration does not arrive at the TTN. Another
purchased development board with ESP and Arduino runs successfully
with the same TTN settings.
log.txt
The text was updated successfully, but these errors were encountered: