Sahsuvar Posted September 4, 2016 Report Share Posted September 4, 2016 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 More sharing options...
Joel Bodenmann Posted September 4, 2016 Report Share Posted September 4, 2016 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 More sharing options...
Sahsuvar Posted September 4, 2016 Author Report Share Posted September 4, 2016 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 ? Link to comment Share on other sites More sharing options...
Sahsuvar Posted September 4, 2016 Author Report Share Posted September 4, 2016 when I debuging cpu enters DMA2_Stream1_IRQHandler function Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted September 4, 2016 Report Share Posted September 4, 2016 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 More sharing options...
Sahsuvar Posted September 4, 2016 Author Report Share Posted September 4, 2016 I set the LTDC_USE_DMA2D to FALSE It worked Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted September 4, 2016 Report Share Posted September 4, 2016 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. Link to comment Share on other sites More sharing options...
Sahsuvar Posted September 4, 2016 Author Report Share Posted September 4, 2016 yes this is enough now but I will customize it as soon as posible I wil share Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now