WATCH ON-DEMAND | STM32 Summit 2026
Ask questions and find answers on connectivity ICs, focusing on protocols and I2C challenges on STM32 Nucleo boards and BlueNRG products.
Most recent activity
i have working on atmel IDE . is stlink v2 debugger used to flash ?(i.e in atmel studio with mcu as samv71)
Posted on November 28, 2016 at 07:09Hifirst of all I apologize if this problem is not suitable for this forum, but I can't find forum for PLC (power line transmission) . I contacted online support but they did not replied me yet.Here is my work:I am working with ST power line communication evaluation kit. This one:http://www.st.com/en/evaluation-tools/evalkitst7580-1.htmlI want to use this for my solar controller, and I am going to make my own circuit with ST 7580 chip. ST provides BOM and schematic. I have attached schematic here.http://www.st.com/content/ccc/resource/technical/layouts_and_diagrams/schematic_pack/1c/3b/30/e6/29/2d/4f/ba/evalst7580_schem.pdf/files/evalst7580_schem.pdf/jcr:content/translations/en.evalst7580_schem.pdfMy Problem:I check the BOM and I can find every part of BOM in market but not Power line coupling transformer. (T1)here is the details of the T1 as in BOMT1 TDK SRW13EP-X05H002 / WE 750-510-231 PLC coup
Hi,I'm trying to interface this eeprom with Bluenrg2 http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8828-SEEPROM-AT24CM02-Datasheet.pdfI can write correctly. I can read 1 byte at time correctly. Trying to read more than 1 bytes results in incorrect readed data. when dataLen=1, read works correctly.when dataLen>1, read returns incorrect data bool Board_i2cReadEeprom(uint8_t deviceAddr, uint32_t position, uint8_t* data, uint8_t dataLen) { I2C_TransactionType t; uint32_t ii = 0; deviceAddr |= (position >> 16); Log_debug("Board", "reading"); Log_debug("Board", "deviceAddr: %d", deviceAddr); Log_debug("Board", "position: %"PRIu32" ", position); t.Operation = I2C_Operation_Write; t.Address = deviceAddr; t.StartByte = I2C_StartByte_Disable; t.AddressType = I2C_AddressType_7Bit; t.StopCondition = I2C_StopCondition_Disable; t.Length = 2; I2C_FlushTx((I2C_Type*) BOARD_I2C); while (I2C_WaitFlushTx((I2C_Type*) BOARD_I2C) ==
I have been attempting to use Silicon Labs Si443x/RFM22 ISM radio IC for over a week now with no success. My overall impression of this radio IC is poor. Lots of issues, erratas, and twitchy-spazz operation even under ideal conditions. So naturally I am looking for another line.What about SPIRIT1 ISM radios ? What is your experience ?Looking for 915MHZ, FSK/2-FSK modulation, 19.2KBPS, simple packet handling with preamble - sync - 5 byte fixed packet length - no crc. And most of all, few hassles, no twitchy spazz operation, no complex software/hardware work-arounds for a poorly designed IC, no wondering WTF, why did it do that ?, that's not in the datasheet.If you can't get this working in a simple one transmitter, one receiver setup located in Faraday Cage in a couple of hours (tops), then I will keep looking.Looking forward to your responses.
..
My project is based on the END_NODE project provided by ST.In a first time I fixed the Data rate to DR_4 for my payload need.Now i want to try to use the ADR protocol.So i change from* LoRaWAN Adaptive Data Rate * @note Please note that when ADR is enabled the end-device should be static */ #define LORAWAN_ADR_STATE LORAWAN_ADR_OFF /*! * LoRaWAN Default data Rate Data Rate * @note Please note that LORAWAN_DEFAULT_DATA_RATE is used only when ADR is disabled */ #define LORAWAN_DEFAULT_DATA_RATE DR_4to* LoRaWAN Adaptive Data Rate * @note Please note that when ADR is enabled the end-device should be static */ #define LORAWAN_ADR_STATE LORAWAN_ADR_ON /*! * LoRaWAN Default data Rate Data Rate * @note Please note that LORAWAN_DEFAULT_DATA_RATE is used only when ADR is disabled */ #define LORAWAN_DEFAULT_DATA_RATE DR_0But I see nothing activated by the ADR...I'm on the thing network server.The only change is in the lora.c files heremibReq.Type = MIB_ADR; mibReq.Param.AdrEnable = L
I have created a project for STM32L452CE using CubeMX and added BlueNRG-MS package (Additional software component).In the BlueNRG-MS package, I have selected the sensor demo application. Since our board is a custom board the pin configuration for BSP related components is changed accordingly. When the generated code is running I am getting the below logs which shows the successful initialisation of BLE stack and entry into General discoverable mode. But when I scan for the nearby devices through BlueNRG mobile application I am not able to find our device. But when BSP Button interrupt is generated the BSP LED is being toggled as per the implementation.DEBUG Logs: HWver 49FWver 1813BLE Stack Initialized.SERVER: BLE Stack InitializedService ACC added. Handle 0x000C, Free fall Charac handle: 0x000D, Acc Charac handle: 0x0010Acc service added successfully.Service ENV_SENS added. Handle 0x0013, TEMP Charac handle: 0x0014, PRESS Charac handle: 0x0017, HUMID Charac
We are thinking of using the STKNX interface to connect to a KNX network. We have very little space on the board and already have an available 3V3 supply.Can we simply disable both regulators on the STKNX and connect the 3V3 supply to VCCCORE?If we were to do that would there be a need for the VDDHV reservoir capacitor or can we remove this, along with D3?
The RSSI Threshold setting doesn't seem to lower the sensitivity of the receiver. I set the Threshold to -80dBm but the receiver still tries to receive random data out of noise with RSSIs around -110 with PQI&SQI above threshold.The rx communcation is more sensitive to errors than similar tranceivers i used in the past. Maybe someone can help me with this issue.(Same behavoir on the Demo Board and my Prototype)Screenshot of the S2-LP DK application.
I'd like to use STM32F030 with SPBTLE-RF. Is it possible? Can I use libBlueNRG_Mesh_CM0.a from STSW-BNRG-Mesh? STM32CubeExpansion_BLEMESH1 is available only for Cortex-M3 and M4. Is it going to be available for CM0?
I opened a support ticket with ST back in October (2018) highlighting a bug in their driver code that adds +1 dBm to a user's TX power request. If a 14 dBm TX power (EU limit in most 868 LoRa bands) is set by the user through the I-CUBE-LRWAN driver API, the driver code actually sets the SemTech RF IC's register setting for 15 dBm, which (unknown to the user) would break EU TX regulations. I received no response until December (2018) where it was simply said my bug fix had been passed-on.
Hi,I want to ask if i can use truestudio programm to work with ST Mesh BlueNRG1 or BlueNRG2 ? Thanks.BG
Good evening everyone,I'm a newbie to the STM32 (well, actually to this level of programming micro-controllers), but I'm trying to do my best (it's for my master thesis).Nevertheless I have to ask you for a little bit of help, if you don't mind.I've got two boards, a F401RE-64 and a F767ZI-144. For now what I have to do is to implement a bluetooth communication with the expansion board X-NUCLEO-IDB04A1, so I'm trying to understand how it works.As toolchain I have TrueSTUDIO with the CubeMX plug-in (for the blinking led demo works fine), but when I try to compile and run the SensorDemo of X-Cube-BLE1 start the problems.I follow the pdf in the X-Cube-BLE1's Documentation folder for the CubeMX configuration. After that I import the project in TrueSTUDIO and build it.Two warnings appear:#warning BLUENRG_CONFIG not valid [-Wcpp] bluenrg_IFR.c Invalid project path: Missing project folder or file: \F767_Bluetooth_Test\Packs for Source pathFor the first one I undestood that I have to add a mac
Posted on April 18, 2018 at 08:53Hello,I've downloaded 'STSW-BNRG-Mesh' SDK from this link http://www.st.com/en/embedded-software/stsw-bnrg-mesh.html .But unfortunately, firmware SDK development is only based on Windows. I installed it on my personnel Laptop (windows) & fetched required data from it.I always prefer open source environment, to avoid any restrictions.So my question is how to build provided FIRMWARE in Ubuntu environment ?Second thing is, how to flash bin file in BlueNRG-1 (https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwjDpY2FnsPaAhVLr48KHfe1B2AQFghKMAI&url=http%3A%2F%2Fwww.st.com%2Fen%2Fevaluation-tools%2Fsteval-idb007v1.html&usg=AOvVaw3i6izof7evi3qO3d1IfkTm) using Ubuntu ?(I have segger J-link with installed driver on it)##bluetoothmesh
hi, i am searching for the information about the data rate and TX power value in Mesh code where can i find this information ?In datasheet the air data rate is about 1 Mbit/s is this data rate the same like for the BlueNRG-1 Mesh ?Thank you
Please provide details(Order no) of evaluation board of BLUENRG-MSQTR (Upgradable Bluetooth® low energy network processor)
I am using the latest (1.06) android sample code for BLUENRG-2 SoC. After compiling the sample code with MobleLibrary-release.aar library, the apk file is created but when I am running the app in my mobile it crashes. I tried to debug the code and saw that the crash happens at/after : "mNetwork = mobleNetwork.createNetwork(address);" in the Configuration.java file. Kindly guide.
I am using a STM32F746NG which I am attempting to use the STM32_USB_Host_Library. I am able to initialise and start the process fine, but as soon as I connect a USB device to the port the program freezes. I am unsure if the issue is to do with the configuration of the "STM32_USB_Host_Library" or if the issue is to do with the configuration of "STM32F7xx_HAL_Driver". I have found however that the application won't freeze if I comment out the following line from "stm32f7xx_ll_usb.c" (Although then the app won't work)HAL_StatusTypeDef USB_EnableGlobalInt(USB_OTG_GlobalTypeDef *USBx) { //DISABLING THIS LINE STOPS FREEZING USBx->GAHBCFG |= USB_OTG_GAHBCFG_GINT; return HAL_OK; }Does anyone know why this may happen? Or where the kind of area to look for what happens when the USB connects to see if I can track down further what the actual issue is.Thanks in advance
Hello, frens!I'm trying to make a BlueNRG-2 application that can send button state just after waking up.I use this code to manage sleep/wake states:if(!APP_FLAG(CONNECTED)) { if(on_sleep_timer == FALSE) { Timer_Restart(&t_sleep); APP_FLAG_SET(SET_CONNECTABLE); on_sleep_timer = TRUE; } else { if(Timer_Expired(&t_sleep)) { if(on_sleep == FALSE) while(aci_gap_set_non_discoverable()!= 0x00); on_sleep = TRUE; BlueNRG_Sleep(SLEEPMODE_NOTIMER, WAKEUP_IO12, WAKEUP_IOx_HIGH << WAKEUP_IO12_SHIFT_MASK); } else { on_sleep = FALSE; } } }As you can see, I'm trying to disable LL advertising on device before putting it in NOTIMER sleep mode. And it comes out like wake-up time for this configuration + time for sending button state to a client device is more than one second (the device is configured to send button state byte every 50ms with notifications).I know that advertising time-outs and scan time-outs are having presense, but it seems to me that I'm doing somethin
Posted on November 07, 2017 at 08:44Hello, I'm starting for STEVAL-IDB007V1 with demo BLE_Security for beacon app.All clear, advertising process normal, the connection is established.The aim of my project is the device with CR2032 power. But in process configuring my device I can`t achieve the consumption less than 120 uA because at long SW timer interval (more than ~1500 mSec) I see high current consumption after each wakeup of sw timer.It looks like peak mailto:200mA@200mSec while execution BTLE_StackTick() and empty App_Tick(), then SoC goes sleep and 1 second later consumption grow up to 2,5..2,mA@1sec :(. Tracing program execution by UART and LED`s doesn`t show any CPU activity.I can`t understand, what part of SoC/code is utilized and how to control it or switch off? Probably this is some actions by BLE periphery? Can I set a longer interval for wakeup timer (ex. 1 min)?Note: at small timer update rate (less than 2000 msec) only first small peak has occurred.A simi
Hi,I have a control unit that consists of a Cortex M4F, few LEDs, buttons, flash storage and LiPo battery. I also have a PCB with an accelerometer. For now, they are connected with wires and communicating through SPI. When I recharge the device (now it has micro USB for that), the sensor board may not be connected as I don't read it then. Also, during the recharging time, the data from flash (stored while running) is transferred to PC. My question is, how can I add USB Type-C to my control unit and sensor board in order to be able to communicate with the accelerometer using USB Type-C and using the same port to recharge the battery and transfer data that has been stored in the flash? I have to mention that the voltage from sensor board is 1.8V.Regards,Gabriel
hello,i am using bluenrg 1,and i write code for remote control application.Issues- I called a function to sleep bluenrg1 in main.c , and i used gpio12 and virtual timer to wake-up the device.But device is not wake-up when i put gpio12 at low unless resetting the device.Also virtual timer unable to wake-up the device at definite timeout . so help me out how to do whenever gpio12 at low and without resetting the device. System should wake-up as well as by virtual timer to wake up the system whenever the 2 sec. timeout occurs. Here i am sharing how i configure the sleep mode.In main.c/* Enable the Sleep - SLEEPMODE_WAKETIMER */ void sleep_timer(void){ uint8_t ret; wakeup_source = WAKEUP_IO12; wakeup_level = (WAKEUP_IOx_LOW << WAKEUP_IO12_SHIFT_MASK); printf("\r\nEnter to Sleep - SLEEPMODE_WAKETIMER\r\n"); ret = HAL_VTimerStart_ms(0,2000); if (ret != BLE_STATUS_SUCCESS) { printf("HAL_VTimerStart_ms() error 0x%02x\r\n", ret); while(1
Hi. I want to connect a STM32L475RG board with an shield,(S2868A1) which comunicated on SPI protocol. More that, i want to connect these 2 components with another Stm32L4 and S2868a1, via S2-LP mode.Can somebody offer me a code or explain how i can migrate from F4/L1 to L4?
My configuration is the following:Configuration 1 - NUCLEO-F401RE + X-NUCELO-S2868A1 connected on my PC COM3 portConfiguration 2 - NUCLEO-F401RE + X-NUCELO-S2868A1 + X-NUCLEO-IKS01A2 powered by USBI followed the following tutorial:https://www.st.com/content/ccc/resource/technical/document/user_manual/group0/9d/40/8f/e3/39/01/41/fa/DM00279190/files/DM00279190.pdf/jcr:content/translations/en.DM00279190.pdfSo to resume, I have downloaded the 'STM32CubeExpansion_SUBG1_V3.1.0' pacakge and loaded the following project into System Workbench for STM32:- BR_S2LP_STM32F401RE_Nucleo- RX_S2LP_STM32F401RE_Nucleo- TX_S2LP_STM32F401RE_Nucleo I flashed the configuration 1 with 'BR_S2LP_STM32F401RE_Nucleo' project and configuration 2 with 'TX_S2LP_STM32F401RE_Nucleo' project.I then installed the "Ncap Loopback Adapter" and ran in the windows cmd shell the following: 'wpcapslip6.exe -s /dev/ttyS2 -b aaaa:: -a aaaa::1/128 02-00-4C-4F-4F-50'I got the following result:11:20:02 netsh interface ipv6 add
I use two boards STEVAL-FKI433V2 with S2-LP and S2LPLibrary_Examples.The file SDK_Configuration_Common.h contains Radio configuration parameters & Packet configuration parameters.I want to increase the communication range and reliability of data transceiving and I know the Radiotechnical methods to do that.But how the Modulation Mode, Datarate, Frequency deviation or Bandwidth influence on communication range, or Packet configuration on reliability|possibility for data restoration?Q: How these parameters influence on the communication range and reliability of data transceiving?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.