Jump to content

DMA_DAC Keil rtx+ugfx one shot reading


Sahsuvar

Recommended Posts

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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...