Jump to content

Recommended Posts

Posted

Hi everybody

I am Using Keil 5.17 Keil RTX

STM32F7 board

I can take only one shot

I want to show ADC input values at the a few progressbar. Without OS and ugfx I can get the values 

I think OS conflicts (or blocks or over writes registers) the DMA chanels 

Is there any suggestions ?

thankyou

 

Posted

Hi,

Can you please give some more information about the problem that you're facing? For example:

  • Are you getting any compiler or linker errors?
  • Is µGFX running on your Keil RTX project without all the ADC stuff?
  • Can you get the proper values from your ADC with Keil RTX but without having µGFX enabled at all?

Any kind of information is helpful to track down the problem. At the moment we don't have any information to work with.
All we can tell you at the moment is that Keil RTX has been tested well with µGFX.

Posted

 

with out ugfx and keilrtx I can take values.

I can compile project and  load to the board but the data at the DMA pointers are refreshing only at start up.

are you suggesting me disable ugfx and try with only keil rtx  the adc ?

 

Posted
19 minutes ago, Sahsuvar said:

are you suggesting me disable ugfx and try with only keil rtx  the adc ?

Yes. That way you can be sure that that part works.

 

13 minutes ago, Sahsuvar said:

when I debuging cpu enters DMA2_Stream1_IRQHandler function

I don't know out of the top of my head whether the DMA2D might collide with certain DMA streams. You might want to check that in the reference manual of the STM32F746 microcontroller. To give it a quick try, you can disable DMA2D by setting LTDC_USE_DMA2D to FALSE in the display driver configuration file (/drivers/gdisp/STM32LTDC/gdisp_lld_config.h).

Posted

I guess you have to dive into the reference manual then to figure out how to set up the DMA streams to avoid the collisions. You definitely want to use DMA2D. It gives a huge performance boost. Without it you will waste a lot of CPU time for simple tasks such as drawing rectangles.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...