cancel
Showing results for 
Search instead for 
Did you mean: 

Warning when generate project with LPBAM - Stm32u575

BLS_Karo
Associate

Hi, I am creating application using LPBAM configuration. The application simply is:
Enter stop mode 2

- Use ADC4-12bit channel 22 (PC4) to measure voltage using clock HSI or MISK

- ADC wdog to generate interupt when the value reach threshold to exit stop mode 2

- LPTIM1 will trigger ADC4 500ms cycle using clock LSE

- LPDMA1 channel1 to store converted data, and save to array adc4_buffer[1]

- LPDMA1 channel 0 ensure queue run LPBAM
What I have done:
ADC4 configuration (ADC4 global interrupt enable in NVIC)

BLS_Karo_0-1766680772291.png

LPTIM1 configuration

BLS_Karo_1-1766680910394.png

LPDMA configuration (LPDMA channel 0 interrupt enable)

BLS_Karo_2-1766680952577.png

Scenario queue

BLS_Karo_3-1766681008354.pngBLS_Karo_4-1766681025531.pngBLS_Karo_5-1766681044645.pngBLS_Karo_6-1766681057587.pngBLS_Karo_7-1766681071092.png

Then I generate code and face this warning

BLS_Karo_8-1766681135729.png

I already createt project without Trust Zone, also check LPBAM check log but cannot verify it. So I need help. Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hello @BLS_Karo 

I followed your steps to build an IOC , after checking the LPBAM design I got the following  warnings/information, not blocking errors: CubeMX will still generate code and your queues will run. 

They mostly remind you to keep trigger sources configured in the main Pinout & Configuration, to ensure LPDMA1 Channel 0 and the LPBAM queue use the same circular/linear mode, to avoid starting multiple queues on the same channel simultaneously...

In short, the design is usable, but you can clean up these warnings

GhofraneGSOURI_0-1766740740837.png

GhofraneGSOURI_1-1766740966145.png

This popup appears because CubeMX sees that your LPBAM design check log still contains warnings, and it wants to remind you before generating code .CubeMX cannot know if you are intentionally ignoring those warnings, so at generation time it pops up this dialog and tells you: “Please run CHECK LPBAM DESIGN to get a consistency status”.

So this popup does not mean your project is invalid.

If you are comfortable with those warnings, you can safely click Yes and generate code.

 

THX

Ghofrane

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.

View solution in original post

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @BLS_Karo 

I followed your steps to build an IOC , after checking the LPBAM design I got the following  warnings/information, not blocking errors: CubeMX will still generate code and your queues will run. 

They mostly remind you to keep trigger sources configured in the main Pinout & Configuration, to ensure LPDMA1 Channel 0 and the LPBAM queue use the same circular/linear mode, to avoid starting multiple queues on the same channel simultaneously...

In short, the design is usable, but you can clean up these warnings

GhofraneGSOURI_0-1766740740837.png

GhofraneGSOURI_1-1766740966145.png

This popup appears because CubeMX sees that your LPBAM design check log still contains warnings, and it wants to remind you before generating code .CubeMX cannot know if you are intentionally ignoring those warnings, so at generation time it pops up this dialog and tells you: “Please run CHECK LPBAM DESIGN to get a consistency status”.

So this popup does not mean your project is invalid.

If you are comfortable with those warnings, you can safely click Yes and generate code.

 

THX

Ghofrane

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.