Problem in reading adc data (DMA based) for STM32L011F4 due to code size
Hi
I was using STM32L011F3 controller for my project. I am using ADC for 4 channels and I2C , timer peripherals. I downloaded stmcube32l0, in that STM32L011K4-Nucleo driver files i took because it is similar to my series controller.
I developed the application code by using the STM32L011K4-Nucleo driver files. IAR embedded work bench is my IDE. Everything was working fine.
Recently we changed into STM32L011f4 controller. I used the same code which i used earlier and everything is working .
And I added eeprom read/ write functionality also. Only When i am adding this eeprom related code, ADC giving different values / wrong or with some offset .
Is there any problem happening to adc/dma due to the code size increment.
New code size is given below. STM32L011f4 is having 16KB flash memory
10 952 bytes of readonly code memory
76 bytes of readonly data memory
1 544 bytes of readwrite data memory
please let me know whether i need to change any settings related DMA /ADC
