5,695 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
0
answers
63
views
Correct I2C sequence on STM32F1 for reading 2 bytes?
I'm trying to interface between and stm32f103 and a light sensor using I2C using the Lower-Layer libraries. I have to read 2 bytes of data from the sensor and I'm using the sequence of register writes ...
0
votes
1
answer
49
views
STM32H747 SPI+DMA transfer stopping after 8 of 50 bytes
Below is code for an STM32H747 to implement a SPI5 driver that uses DMA. The flow is that initialize is called, then startconveyor, starts SPI and prepares for a series of "bursts" (...
0
votes
1
answer
52
views
I2C interrupts on STM32, repeated start
I've got myself an STM32, and I'm writing an I2C interrupt handler for it. I can write data to the bus without a problem, the issue comes when I try to created a repeated start condition. I see the ...
0
votes
0
answers
65
views
Question about PMA Layout and BTABLE Size on STM32F103
I have two possible interpretations of how the USB BTABLE and PMA layout work on the STM32F103.
I will provide two diagrams (Figure A and Figure B) to illustrate the scenario.
STM32F1 USB PMA
Scenario:...
0
votes
0
answers
72
views
An issue about STM32H503 I2C
I'm reading RM0492 Rev 3 about I2C's controller transmitter. The original words on the page of 1185 are
When RELOAD = 0 and the number of data bytes defined in NBYTES[7:0] is transferred:
• In ...
1
vote
0
answers
105
views
understanding debugger output stm32nucleof401re
I am getting the following error (debugger output) when i try to do "ST_LINK: attach to application" in vscode. I have no idea what is going on. Any help is greatly appreciated.
I use WSL ...
Advice
1
vote
0
replies
53
views
Why does the STM32H5xx Ethernet HAL provide a callback for appending an rx data buffer (that it found populated) to a list that it is managing?
The STM32H573 Ethernet HAL (header implementation) defines a callback, HAL_ETH_RxLinkCallback(), that it appears to call after it discovers that the hardware has populated a data buffer with received ...
0
votes
0
answers
68
views
CubeMX and touchGFX not synchronized
I'm using the board NUCLEO-H563ZI paired with an RVA35HI screen.
When I first created the project and generated the code, I could download the TouchGFX project using the TouchGFX application with the &...
0
votes
0
answers
38
views
STM32 CONTROL HAL I2C/ADC returns zero values
we made a code in STM32CUBEIDE to control the ADC/I2C of our datalogger test but we have a problem because when we run the code, in line 156, the string ‘voltage_ch0’ gives us a value of 0 and nothing ...
Advice
0
votes
0
replies
40
views
Understanding of the early stages in boot on STM32MP157F
I applied the ST FWU reference solution on our own platform based on the STM32MP157F.
I have a few questions to clarify the default behavior:
What is the default behavior in the early boot stage? Do ...
0
votes
0
answers
61
views
How can I increase EEPROM emulation size on STM32F103 using Arduino Core?
I'm using an STM32F103 with the Arduino STM32 core. The built-in EEPROM emulation works, but the default EEPROM size is limited to 2048 bytes.
I want to increase the available EEPROM size for STM32F1, ...
1
vote
0
answers
163
views
STM32H7 UART RX not receiving data while TX works
TX works and prints info in console (I use Putty) but when I send on STM and echo I don't receive anything (and when I write symbols in console they don't appear). Baud rate and other config settings ...
0
votes
0
answers
50
views
If the priority of AppTaskCreate is lower than that of the tasks it creates, will the created tasks start executing and cause it to be suspended?
In FreeRTOS, I want to create several tasks inside the task AppTaskCreate. If the priority of AppTaskCreate is lower than that of the tasks it creates, will the created tasks start executing and cause ...
3
votes
1
answer
163
views
Windows USB Driver refuses to accept my manufacturer string
I am homebuilding a USB driver on STM32. I have managed to get the device to enumerate which is awesome, but only when I disable all the strings (set all ID's to 0). Right now, when I set ...
0
votes
0
answers
43
views
Unable to transmit data with USART2 in STM32 NUCLEO-F072RB board
I have been trying to transfer data via the USART2 module through the RX/TX (PA2/PA3) pins.
Even though the configs are the same (9600, 8N1), and also the function returns HAL_OK, I still could not ...