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
..
Hi,I would like to know what is maximum output current of the SMPS. I want to optimize my BOM cost and planning to take advantage of this voltage regulator. Obviously it is a low power circuit.
Hello. I am making RF beacon based on SPIRIT1 RF ICI downloaded SPIRIT1 DK, configured for 168MHz based on hardware I have, and written CW mode. But with spectrum analyzer with sweep from DC to 1GHz i can't see anything ( same goes if i select 169MHz with 20MHz span)I confirmed it does write all registers just like in that application, did confirmed that CW bit is set at 0x1B MOD0 bit 7 with modulation scheme OOK as well as maximum power.Try sending commands after that, like SPIRIT1_TX or SPIRIT1_LOCKTX, did not helped.What i am doing wrong ? What I am missing ?
Hello,We are a startup from Surat,Gujarat.https://vegg.co.in.We are developing our next gen products based on PLC with smart homeWe are using ST8500 in that projects.The problem that we are facing using that ic,If you can provide us some info it will bost our R&D.1) We want to develop a custom RE and PTE firmware for ST8500 as we don't want G3 PLC standard. But there are no documentation available how to do it?2) We are currently using G3PLC firmware for ST8500 provided by ST we dont have documentation for how to interact with this firmware as well.Please guide us the following problems,We are grateful
Are these modules share the same stack? If I whant to use both in my project - should I include a ble_core folder only from one of them?
I am using an SPBTLE-RF0 and I am having issues writing data more than 72 bytes to a write-only characteristic. I setup the characteristic as follows: ret = aci_gatt_add_char(serviceHandle, UUID_TYPE_128, uuid, 128, CHAR_PROP_WRITE, ATTR_PERMISSION_AUTHEN_WRITE | ATTR_PERMISSION_AUTHOR_WRITE | ATTR_PERMISSION_ENCRY_WRITE, GATT_NOTIFY_ATTRIBUTE_WRITE | GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP, 16, 1, &requestCharHandle);It is a variable sized
We are having strange problems with some of our products that use the M41T83. I'd like to try forcing an oscillator fail in order to see how our product behaves. Is there any way to do this? I tried writing to the Flags register (0x0F) but the values are left unchanged.
Hello, I am having some trouble with getting I2C to work.My code:void i2c_init(void) { /* Periph clock enable */ SysCtrl_PeripheralClockCmd(CLOCK_PERIPH_GPIO | CLOCK_PERIPH_I2C2, ENABLE); // I2C2 pins GPIO_InitI2c2ClkPin4(); // SCL at DIO4 GPIO_InitI2c2DataPin5(); // SDA at DIO5 I2C_InitType i2c_settings; I2C_StructInit( & i2c_settings); i2c_settings.I2C_ClockSpeed = 100000; i2c_settings.I2C_OperatingMode = I2C_OperatingMode_Master; I2C_Init(I2C2, & i2c_settings); I2C_ClearITPendingBit(I2C2, I2C_IT_MSK); I2C_Cmd(I2C2, ENABLE); } int i2c_write(uint8_t addr, uint8_t reg, uint8_t * data, uint8_t len) { I2C_TransactionType t; // Write the slave address t.Operation = I2C_Operation_Write; t.Address = addr; t.StartByte = I2C_StartByte_Disable; t.AddressType = I2C_AddressType_7Bit; t.StopCondition = I2C_StopCondition_Enable; t.Length = 1 + len; // Flush the slave address I2C_FlushTx(I2C2); while (I2C_WaitFlu
Hello, I am experiencing problems with using ADC together with BLE. When I comment out BTLE_StackTick() inside main loop, the ADC reads values correctly (checked over UART). But when BTLE_StackTick() is called, ADC always returns 0.6V. What is the solution?
I am using an STEVAL-IDB008V2 board which contains a BlueNRG-2 chip. I am testing out this product using Keil uVision (version 5.29.0.0), and I am running the BlueNRG-2 sensor demo code (with sleep function removed; I learned this causes problems).To debug, I have the board connected via ST-LINK/V2 with the latest firmware.When I try to run debug, I can only connect to the device after retrying many times. I usually get the following error messages:No target connected.Error: Target DLL has been cancelled. Debugger aborted!Cannot access target.I noticed that the DL4 LED is usually off when I have trouble connecting to the device, and it is usually ON when I can connect successfully. Shouldn't the ST-LINK provide sufficient power for debugging?
We produced a 4 channels RS232 to 485/422 converters using a FTDI4232 and four ST485BDR. When apply the 120 Ohm load resistor, some ST485BDR send the pin 1 to low state, lighting the RX LED.When the pin 1 goes low, the RX LED remain lite. If I touch the driver area, the LED (pin 1 of the ST485BDR) change state ramdomly. This issue do not depend if the channel is or not connected a other channel. It seems that some ST485BDR have a different behavior, although all channels are connected exactly the same. When we replace a failed ST485BDR with a MAX485ESA the problem is solvedCano anyone help me?RegardsRuben H. Meleca
Hello,since 30. January I can't use secure sockets with my SPWF01 modules. I try to connect to fcm.googleapis.com. It looks like google changed something in the authentication (maybe no more anonymous auth or something else). Does anybody else has this problem? I tried a one way and a mutual authentication with different sites, but always I get SSL/TLS error (-125, -140, -188, 2, 1, ...). Can share somebody me an example of an actual, secure socket communication?BR.Flo
Hii, I am started to develop the USB Keyboard using the STM32F0 Series microcontroller. I was set all settings in CubeMax for USB mouse now I am change that settings in Atollic True Studio generated files for HID USB Keyboard but Not Got Success yet. Please give me the All details settings for the same step by step.Thanks In Advanced Regards,Ashok Dhumak
Hi!In my situation i have two boards with S2-LP (868Mhz): one for transmit data and one for recieve. The reciever is stationary located and doesn't move. The transmitter moves back and forth at a speed 1 meter/second.My question is: should i bother about frequency shift due to Doppler effect in my sistuation? Is it normal for the reciever to have signal with +- 5 Hz deviation (shift)?Best wishes!
I configure the I2C as follows:hi2c1.Instance = I2C1; hi2c1.Init.ClockSpeed = 100000; hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2; hi2c1.Init.OwnAddress1 = I2C_ADDRESS; hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE; hi2c1.Init.OwnAddress2 = 0xFF; hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE; hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;where #define I2C_ADDRESS 0x30FIn master, I used this code snippet from while(HAL_I2C_Master_Transmit_DMA(&hi2c1, (uint16_t)I2C_ADDRESS, (uint8_t*)aTxBuffer, TXBUFFERSIZE)!= HAL_OK){ if (HAL_I2C_GetError(&hi2c1) != HAL_I2C_ERROR_AF) { Error_Handler(); }} while (HAL_I2C_GetState(&hi2c1) != HAL_I2C_STATE_READY){}This is in the main while loop.In the slave which is the receiver, I use this to receive via I2C and send it to PC via USART:while(HAL_I2C_Master_Receive_DMA(&hi2c1, (uint16_t)I2C_ADDRESS, (uint8_t *)aRx
As I am doing debugging in STM32L072CZ using ST Link/V2 by STM32 ST-Link Utility software. But I getting error message as Connect Under Reset and I have tried under all mode but same error has been repeated. How can I solve this error and I also attached the error message.
Hello,We are using the SPIRIT1 with a 50MHz crystal (as part of an SPSGRFC-433 module); I've configured it to MSK, with a base frequency of 433.175MHz, a data rate of 250kBaud, which leads to a configured frequency deviation of ±62.5kHz. I've set a bandwidth of 125kHz, but a channel spacing of 248.718kHz. FEC is switched off, with data whitening switched on.Initially, things look good: transmitting an unmodulated carrier shows a nice, sharp spike at the right place on a spectrum analyser. If I then send packets, the spectrum looks sort of correct, in the sense that there is a spike either side of the base frequency.But, the the two spikes seem to have double the frequency division I've configured (i.e. ±125kHz).What might I be doing wrong? Or am I misunderstanding something?Many thanks,Andrew.
I am building a board that will use both the STM32L4R5VIT 100pin package and Bluenrg-2 232. I would like to JTAG chain the two processors so that I can use my Segger Jlink to debug both processors from the same debug connector. The pins to use for JTAG particularly for the Bluenrg-2 are not clear. Do you have a diagram that will allow me to set my debug configuration up as I wish? I've attached a pptx file with some thoughts, but I need validation.In addition, I need to hook up the communications path between L4 and BlueNRG. Would you make a recommendation for this path? Can I use I2C or do I need to use SPI/UART?Thanks in advance.
Hello,In case I have the following case:Vcc=3.3V, VL=OE=0V, I/OVL1 = 0VWhy is I/OVCC1 at 3.3V with OE=0V?Best regardsMich
Initially when bond is disabled, BLE works fine. But when bonding is enabled through AT Commands and board is reset, I get error like "Error in aci_gap_set_discoverable(): 0x42". I am storing the Bond status in nvm. Is nvm making the issue? I suspect the issue is in BLE Stack Initialization. I think second time stack initialization is not possible. How to reseolve this issue?
Hi all,Where can I find code example for STM32F429zi ram drive codeI see FatFS and other examples, but no ram-drive FatFS exampleI need to open a device over USB to be recognized by the PC HOSTThanksEli
Hi! Is anybody have a schematic with a BALF-SPI2-02D3 + SAW FILTER? Is this wiring will be good?
Hello I'm try to connect 1 master and 2 slave, but failed, I use stm32f427VI, and use Truestudio for programing, thanks for your help./* SPI4 init function */ //SLAVE1 static void MX_SPI4_Init(void) { /* SPI4 parameter configuration*/ hspi4.Instance = SPI4; hspi4.Init.Mode = SPI_MODE_SLAVE; hspi4.Init.Direction = SPI_DIRECTION_2LINES; hspi4.Init.DataSize = SPI_DATASIZE_8BIT; hspi4.Init.CLKPolarity = SPI_POLARITY_LOW; hspi4.Init.CLKPhase = SPI_PHASE_2EDGE; hspi4.Init.NSS = SPI_NSS_SOFT; hspi4.Init.FirstBit = SPI_FIRSTBIT_MSB; hspi4.Init.TIMode = SPI_TIMODE_DISABLE; hspi4.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; hspi4.Init.CRCPolynomial = 10; if (HAL_SPI_Init(&hspi4) != HAL_OK) { _Error_Handler(__FILE__, __LINE__); } }/* SPI4 init function */ //SLAVE2 static void MX_SPI4_Init(void) { /* SPI4 parameter configuration*/ hspi4.Instance = SPI4; hspi4.Init.Mode = SPI_MODE_SLAVE; hspi4.Init.Direction = SPI_DIRECTION_2LINES; hspi4.Init.DataS
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.