Null Packet Size is not visible in CubeMX Gui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-26 11:05 PM
Hi
I think I found a small bug.
I copied the settings from one project to another. After that I did a diff to show if I'm missed to change some value. And one variable was missing, so I checked double to find the variable in the GUI, but I did not found it. Till I found the bug described below.
When Video Mode is "Non Burst Mode", it has an additional variable "Null Packet Size", when this variable is changed it is in the IOC file. Till now everything correct, but if now the Video mode is changed to "Burst Mode" then the variable is not anymore visible in the GUI, but still available in the .ioc file. In my opinion the the variable "NullPacketSize" should be removed from the .ioc file when it is not visible in the GUI. (See also pictures)
Thanks in advance
nobody
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-29 5:41 AM
Hello @nobody ,
First let me thank you for posting and welcome to the ST Community.
For more investigation I suggest that you provide your ioc.File.
Thanks.
Mahmoud.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-01 1:11 AM
Good morning,
As requested I added the .ioc file. The ioc file is from the example DSI_ULPM_DataClock (STMicroelectronics/STM32CubeU5: Full Firmware Package for the STM32U5 series: HAL+LL drivers, CMSIS, BSP, MW, plus a set of Projects (examples and demos) running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits). (github.com))
I did following steps:
- opened the .ioc
- change the "Video Mode" to "Non Burst Mode with Sync"
- added some "null Packet size"
- saved
- change back the "Video Mode" to "Burst Mode"
- saved
- checked the .ioc file with the notepad++ (see printscreen), where the "null Packet size" variable is still available
 
Thanks in advance
nobody
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-07 1:29 AM
Hello @nobody ,
After investigation, I can confirm that this behavior does not affect the functionality of this peripheral.
Even the video mode is set to Burst Mode, you can find that the generated code includes this instruction.
[ VidCfg.NullPacketSize = 0; ] in main.c.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
