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
Posted on November 13, 2015 at 12:50Hi all!Please, can you help me. I have next problem. In My device I use BlueNRG-MS (HSI-16MHz, LSE ext - 32.768). BlueNRG init Ok, but not available in RF. He is active with a period of 30 seconds (name ''atn_B41'')But, then I made CS on SPI active (set ''0'') - BlueNRG-MS - active all timeCode init module:''main(){....getBlueNRGVersion(&hwVersion,&fwVersion); printk(''hwVersion = 0x%X fwVersion = 0x%X'',hwVersion,fwVersion); /* Reset BlueNRG hardware */ BlueNRG_RST(); wait_IRQ_SPI_FLAG(); Osal_MemCpy(bdaddr, SERVER_BDADDR, sizeof(SERVER_BDADDR)); ret = aci_hal_write_config_data(CONFIG_DATA_PUBADDR_OFFSET,CONFIG_DATA_PUBADDR_LEN,bdaddr); ret = aci_gatt_init(); ret = aci_gap_init(GAP_PERIPHERAL_ROLE, 0, 7, &service_handle, &dev_name_char_handle, &appearance_char_handle); //appearance_char_handle - 8; //service_handle - 5;
Posted on November 11, 2015 at 15:29Hello, I have a query. I have a Virtual COM demo Project by ST. It is meant for L053R6 with Blue NRG chip. Will the same work on L051R6 with the same Blue NRG chip? The UART pins seem to be the same. I changed the device in Keil Options for Target and also defined the preprocessor as STM32L051xx. So, it compiles with no errors and warnings. However, when I try to open the com port through Blue NRG GUI, it says ''invalid event. unknown event code.'' I am communicatiing with the GUI through UART, using a USB-UART converter. #stm32 #bluenrg #bluetooth #nucleo
Posted on November 11, 2015 at 11:44Hello, I am using STM32L053R6 interfaced to Blue NRG chip. I am accessing the blue NRG through VCOM. I have connected a USB to UART converter to a PC and was trasmitting the VCOM data over this. It worked!!! Now, I want to do the same in half duplex mode. I have designed a circuit for the USB to UART converter so that it acts as a single wire UART. It seems to work as I can see the data being sent to STM32. But however, there is no response from the controller. I doubt even if it is reading this data. Can you please check if my half duplex configuartion is right? GPIO_InitTypeDef GPIO_InitStruct; /*♯♯-1- Enable peripherals and GPIO Clocks ♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯*/ /* Enable GPIO TX/RX clock */ USARTx_TX_GPIO_CLK_ENABLE(); USARTx_RX_GPIO_CLK_ENABLE(); /* Enable USART1 clock */ USARTx_CLK_ENABLE(); /*♯♯-2- Configure peripheral GPIO ♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯♯
Posted on November 10, 2015 at 19:47Hey folks,I'm trying to to create an img file from a web page using httpd_gen. The only version of httpd_gen I have is the source code (httpd_gen.c). I compiled this using gcc on two different linux machines (x86 based and ARM based). I try to download to a wifi module using AT+S.HTTPDFSUPDATE. The file downloads to the module, then throws this error on the last bit : Write len 617 -> 0x96000 (final) Wrote 90729 bytes Error (-12 @ 90725/540), cleaning up..I'm imaging the sample html web pages from the SPWF01S_CGIs_SSIs package. The output img file is almost identical to the outfile.img file that comes with the package, but it looks like the CRCs don't agree and the header area at the top of the img file is slightly different. Any suggestions?Thanks,-Seth
Posted on November 09, 2015 at 20:37Hey folks,Here's what I've got:A module with 140805-3f58d6b-SPWF01S firmware. I attempt to fw update to 3.4 over the air and the module downloads everything but doesn't seem to apply the firmware update to the module. Here is the transaction:at+s.fwupdate=XXX.XXX.XXX.XXX,/SPWF01S-150410-c2e37a3-RELEASE-main.ota.....................(many other rows of Write len 4096 -> 0xXXXXX)................. Write len 4096 -> 0x52000 Write len 4096 -> 0x53000 Write len 4096 -> 0x54000 Write len 4096 -> 0x55000 Write len 4096 -> 0x56000 Write len 4096 -> 0x57000 Write len 4096 -> 0x58000 Write len 4096 -> 0x59000 Write len 4096 -> 0x5A000 Write len 4096 -> 0x5B000 Write len 4096 -> 0x5C000 Write len 4096 -> 0x5D000 Write len 4096 -> 0x5E000 Write len 4096 -> 0x5F000 Write len 1812 -> 0x60000 (final) Wrote 390932 bytes Compl
Posted on November 05, 2015 at 20:49Hello there!I'm trying to receive information from my PARSE web server. As I read through the SPWF01S AT command set, I've found out, the following command:AT+S.HTTPGET=<hostname>,<path&queryopts>,<port>My only problem is that I have no idea how to fill out the given arguments to reach my web server. Normally, from the browser I would type something like this:https://myAppID:javascript-key=myJavaScriptKey@api.parse.com/1/classes/GameScore/Ed1nuqPvcm(This is form PARSE documentation, since it's an open forum, I can not provide my keys, sorry.)Do you guys happen to know, how can I split the given URL into the AT command arguments?Thanks for the help in advanced! #httpget #spwf01sa
Posted on November 04, 2015 at 21:08Hi, I would need to do some RF tests for SPWF01SC Wifi module and I'm wondering what are the ways to control the module? I would need to set data speed, RF channel and possible TX power level. Are there any PC software available for this? Or some other way to handle this? Br, Marko
Posted on October 12, 2015 at 11:33I implemented a system with the SPBT2632C2A Bluetooth module and an ATSAM4S Cortex M4 Microcontroller for data transmission. Using the SPP protocoll for data logging via a virtual com port on win7/8, I spent several weeks now, trying to debug the following problem, amongst others with a unit test: With default UART Baudrate 115,2kBd, the microcontroller sends a byte(10bits) every ~90�s - and thus data with a rate of ~111kBd. Custom data packets are sent including a packet number incremented with each packet. Every now and then (not determined but in the order of several seconds), the received data at the pc shows ''gaps'' in the packet increments that indicate that approximately 8168 bits of data are lost - which is about one bluetooth packet!? Now I would like to know the reasons - and more importantly the possible solutions to solve this issue. I had expected, that the firmware cares about resending bluetooth packets that got lost or were transmitt
Posted on August 31, 2015 at 10:06Hello, Can any one help me in configuring the LPO pin in SPBT2632C2A Bluetooth module.How to connect this LPO pin to external crystal oscillator.Regards,Chandra #bluettooth-spbt2632c2a.at2
Posted on October 27, 2015 at 15:05Hi,I'm programming the ADXL345 3-axis sensor for my thesis project. Initially i made the program in I2C and its working fine. Later on i switched to SPI mode for better speeds. Unfortunately the device is not working in SPI. The device address is 0x00 always. I double checked my all connections. They are perfect. I put some delay after CS also. still no output. Kindly some one help me out. Thank you.
Posted on October 29, 2015 at 15:14 Pin .No Pin name (ST7920) Nucleo-L053R8 1 VSS GND 2 VDD +5V 3 VO +5V 4 RS ( CS) MOSI ( D11) 5 R/W CS (D10) 6 E(SCLK) MISO (D12) 7-14 DBO –DB7 D0 – D7 15 PSB NC 16 NC NC 17 /RST NC 18 Vout/NC NC 19 LED_K GND 20 LED_A +5V Is this configuration is correct?
Posted on October 29, 2015 at 06:06Hi In regards to using the SPIRIT1 device in the SMPS OFF mode (without internal switch-mode converter), it's not clear whether the 1.4-1.8V net connected to the SMPS Ext 2 pin is provided internally via an internal LDO, or is it mandatory to be supplied by an external 1.4-1.8V supply? Please advise which method should be taken. Thank you. Regards Heard. #spirit1
Posted on October 27, 2015 at 16:15Hi,I am using SPWF01SC.11I used the command AT+S.SOCKD=8825 on the hyper terminal and received OKso the module is in data mode.Now I want the module to go back to command mode, so I typed AT+S. also tried with escape but i got an ERROR: Data Mode not availableHow I can get back to data mode ?Second Method:SocketServer is: 172.32.144.1+WIND:61:Incoming Socket Client:172.32.144.2(now the client is connected with the server and working fine )+WIND:60:Now in Data Mode(I disconnected the client and it went back to Command mode)+WIND:59:Back to Command Mode (If I want it to go back to Data Mode ?)+WIND:62:Socket Client Gone:172.32.144.2AT+S.ERROR: Data mode not available(Even after disconnect I am keep on getting the below message why it so ?)+WIND:29:DHCP reply for 172.32.144.2/T9:D0:FR:59:U5:RR+WIND:29:DHCP reply for 172.32.144.2/T9:D0:FR:59:U5:RR+WIND:29:DHCP reply for 172.32.144.2/T9:D0:FR:59:U5:RR
Posted on October 26, 2015 at 23:03Hello,Recently we ordered an evaluation kit for the BlueNRG. We are trying to test connectivity with iOS. However, not even the STMicro apps for iOS seem to pick up the BlueNRG device.I use Scripts tab in the BlueNRG GUI tool to init the device in Peripheral, Mode 2. Then I have it advertise in General Discoverable Mode, ADV_IND. Windows and Android can detect the BlueNRG when scanning for Bluetooth devices, yet neither of the STMicro iOS apps, nor iOS System Settings can find it.Is there some step in this process I'm missing? #ble #ios #android #android #bluenrg #ble #pin #windows #ios
Posted on March 19, 2015 at 12:25Hi to all,I'm developing some throughput/consumption test with BlueNRG (using STEVAL-IDB002V1) and I would like to ask if there is a way for the host microcontroller to be notified for connection event end, something like an HCI event (or a more tricky way) that is generated when the connection event finish. This is fundamental to get a stable throughput (at high speed) and for reduce power consumption.Thanks Davide. #ble-bluenrg-connection-event
Posted on October 26, 2015 at 09:44Hi,I am using SPWF01SC.11 wifi module.I have configured it as mini access pointI want the module to be in data mode on startup by default.AT+S.SOCKD=8825 ( I want this to be loaded automatically on startup)so when the module is reset i need to connect to it on the port 8825.Is it possible ? if not give me some idea friends !!!
Posted on October 25, 2015 at 20:35What happens when pushing multiple notifications for a given characteristic before the next connection event? are those notifications queued? if so, how many?What about pushing several notifications for different characteristics before the next connection event?
Posted on October 23, 2015 at 15:50Hi,I am using SPWF01SC.11.my wifi module is connected with micro controller via UART.Now from the micro controller i sent a command AT+S.SOCKD = 1234(portnumber)I got a reply ''NOW IN DATA MODE''.using the port number and IP address i connected the wifi module from my computer using the Socket test software .Now I have sent a message from the computer.I would like to know what will happen to the message received in the data mode,can i receive the same message on the micro controller via UART?what will happen if i send data from micro controller to the wifi module in the data mode?I read some manual it is confusing,thats why I am looking for experts guidance :)
Posted on October 15, 2015 at 20:42Hi, It is possible to configure a RTC using the low speed clock? Any document? regards, JM
Posted on October 20, 2015 at 12:27Hi.I just get a new nucleo shield with BlueNRG-MS and I would like to ask You how I should start with it? My adventure with Bluetooth started a few months ago, but communication with those systems was via UART and AT commands. This one is much different and I don't know how to start with it to exchange data with any other Bluetooth device. I have already downloaded ST library but I don't know how to use it. Can you give me any tips? #hello-world #bluenrg-ms
Posted on April 20, 2015 at 15:40The BlueNRG DK 1.7.0 includes firmware images (V7.1) and API documentation for ''BlueNRG-MS devices. Can you please explain the differences between BlueNRG and BlueNRG-MS? Other than support for Bluetooth 4.1 in BlueNRG-MS, it is difficult to see any significant differences. Are these the same hardware with different firmware, or different hardware? Can the firmware in a BlueNRG chip be upgraded from v6.4 to v7.1? Are there advantages in doing so (for example, bug fixes in the later firmware).
Posted on May 12, 2015 at 22:57Greetings,Our design requires a non-default IFR setup. ST provides a tool that can update the IFR, but this isn't going to be useful to us in production. We'd like to be able to write new IFR values over the SPI bus as part of our manufacturing procedures.Is there documentation that explains how we can do this? If not, what method other than the GUI is available to us?Cheers #ifr-and-ble-stack #ifr-manufacturing
Posted on August 04, 2015 at 07:58I use Blue NRG chips for BLE communication. Testing it with STEVAL-IDB003V1 with BlueNRG GUI in Master mode. In device i have defined characteristic with notification and read/write properties (1Ah). Characteristic value changed with period 1 second (epoch time).When i read characteristic value (by ACI_GATT_READ_CHARAC_USING_UUID or ACI_GATT_READ_CHARACTERISTIC_VAL), value changed correctly, but IDB003V1 not show (or receiving) value change notification.Whats condition must be met for value change notification? Must be defined characteristic descriptors (i thing that in sensor demo isn't defined for time)?Thank you for answer
Posted on October 21, 2015 at 14:04 I know that the HTTP file image can be downloaded from an HTTP server and written to flash using AT+S.HTTPDFSUPDATE. Could it be possible to add the capability to load the HTTP file image to flash by sending the image data directly from the MCU? This would be more convenient for my customers as it doesn't require the module to have access to the internet or even a local HTTP server. Cheers, Mark
Posted on October 06, 2015 at 16:31 Next problem... I have enabled flow control on the module and the MCU and now attempting to use a bit rate of 460800. Both ends are using the right bit rate but only the MCU appears to be controlling an RTS signal. The RTS output on pin 10 of the module goes low on module initialisation and stays low even when I send a lot of data to the module. The module is in data mode. Not exactly sure what data is getting lost but the comms protocol between the MCU and the client (via a websocket) is failing. Using exactly the same hardware and software but a lower bit rate (115200) works absolutely fine. Is there anything else I need to do apart from setting console1_hwfc to 1 and turning on RTS/CTS flow control on the MCU? Cheers, Mark
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.