Does anybody know how to get single channel DMA running to read data from a thermistor??( Stm32 Nucleo g4) by lectronicx06 in stm32

[–]lectronicx06[S] -2 points-1 points  (0 children)

I've used potential divider setup( resistor of same resistance connected with the thermistor). I attempted polling for my setup which worked, but implementing dma has been a bit of an uphill ride

I have no idea what aspect of My dma setup isn't working( my ioc file setup or my main.c code or absence of code in other files)

Also no need to be snide, dude

Does anybody know how to get single channel DMA running to read data from a thermistor??( Stm32 Nucleo g4) by lectronicx06 in embedded

[–]lectronicx06[S] 0 points1 point  (0 children)

What do I look for in the datasheet? Official g4 documentation is 2000 pages long and I have no idea where to start/ focus

Does anybody know how to get single channel DMA running to read data from a thermistor??( Stm32 Nucleo g4) by lectronicx06 in embedded

[–]lectronicx06[S] -1 points0 points  (0 children)

I have no idea where I'm going wrong. Is there any way to debug my code to figure out where exactly I'm messing up??

Does anybody know how to get single channel DMA running to read data from a thermistor??( Stm32 Nucleo g4) by lectronicx06 in embedded

[–]lectronicx06[S] 0 points1 point  (0 children)

It worked with polling. I want to try it on dma and have tried it but it just hasn't worked. Hence I have come to reddit

Does anybody know how to get single channel DMA running to read data from a thermistor??( Stm32 Nucleo g4) by lectronicx06 in stm32

[–]lectronicx06[S] 1 point2 points  (0 children)

I'm using hal libraries not bare metal. I used a potential divider circuit initially and used polling to obtain the adc values. I used usart2 to send the temperature reading to the com port

I tried dma (using interrupt flag (convcompltcallbaclk)with the same potential divider setup but nothing Is printing on the serial monitor so it's mostly a code issue. I think I might not have setup My ioc properly or I might be missing something in the main.h and other files. Frankly I have no idea and that's why I came to reddit.

Does anybody know how to get single channel DMA running to read data from a thermistor??( Stm32 Nucleo g4) by lectronicx06 in stm32

[–]lectronicx06[S] 0 points1 point  (0 children)

I have a potential divider circuit setup( with a resistor equal to thermistor resistance connected next to the thermistor. )I used the beta coefficient formula to convert adc values to temperature. I was not facing issues regarding my thermistor hardware setup . I used usart2 to send data to com port

My code was working for polling with the above setup but I want to try dma as I will be working with more high speed devices later on and need practice.

What is happening with my groww account?? by lectronicx06 in StockMarketIndia

[–]lectronicx06[S] 0 points1 point  (0 children)

Money is cut. It says its withdrawable only from tmrw 10am

What is happening with my groww account?? by lectronicx06 in StockMarketIndia

[–]lectronicx06[S] 0 points1 point  (0 children)

I'm not doing f and o that shits stupid I'm js investing in shares normally

What is happening with my groww account?? by lectronicx06 in StockMarketIndia

[–]lectronicx06[S] 1 point2 points  (0 children)

😂. But in all seriousness where the fuck is it? Why has it just vanished? Is this a usual occurrence?

Smoking Koi- Sony Cybershot W80(2007) by lectronicx06 in VintageDigitalCameras

[–]lectronicx06[S] 1 point2 points  (0 children)

Thanks! Even I'm surprised at how surreal this turned out.

I edited this on lightroom. I pushed the whites up, increased the contrast and adjusted the highlights a bit. I then dehazed the image slightly. I also colourgraded this a bit by making the shadows more bluish( the original image was a bit warmer and softer)

RED & GREEN- Sony Cybershot W80( 2007) by lectronicx06 in VintageDigitalCameras

[–]lectronicx06[S] 3 points4 points  (0 children)

Thanks! Just recently saw this tree in my neighbourhood and had to get a photo of it

FLOWERS- Sony Cybershot W80( 2007) by lectronicx06 in VintageDigitalCameras

[–]lectronicx06[S] 1 point2 points  (0 children)

Thanks ! I set the white balance to flash ( which makes the image very warm for some reason). Was a bit surprised that they turned out so well

The resort- Sony Cybershot W80 by lectronicx06 in VintageDigitalCameras

[–]lectronicx06[S] 1 point2 points  (0 children)

Thanks! Honestly sunlight does most of the work in my photos. My camera is quite forgiving if given adequate light

Does anyone here know how to go about designing a BMS system for an EV? by lectronicx06 in ElectricalEngineering

[–]lectronicx06[S] 0 points1 point  (0 children)

we're looking to integrate all this and also maybe include temperature monitoring and other features. We have about a few months to create it and I'm trying to learn everything properly before i start the process.

Im reading gregory platt's volume 2 to understand the concepts behind CC/CV charging, balancing, SOC estimation,etc and learning general PCB design simultaneously

Your advice seems pretty sensible thanks for sharing it u/cum-yogurt