2013-10-21 04:24 AM
2013-10-21 06:58 AM
And what happens when you stop servicing the IRQ properly after your first 1000 samples?
doubles/floats, inconsistent, but why pick either when the value is 12-bit returned in an 16-unsigned form? The conversion is both exceeding expensive, and pointless. Do the conversion to volts or whatever once, and when you process the data. Use a single multiply with a constant, avoid the divide.2013-10-21 10:27 PM
2013-10-21 10:27 PM
Its simply worked as single conversion mode i.e val[1st_iteration] having some definite value but afterwords its continuously printing 0.00000....
I am attaching output displayed on serial terminal with this post. I will Modify my code as per your suggestions but till I have few doubt...1)Why it is not performing continuous conversion as in single conversion mode the same code working fine.
2)What are the things I need to add/modify related to ADC configuration for continuous mode. 3)When I am trying to debug ADC_IRQHandler but at that point debugging stops i.e it will not called.. why it is so..? ________________ Attachments : ADC_output_on_serial_port.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hypf&d=%2Fa%2F0X0000000bTK%2FJ0mZIQqveBFskTRzkhX7qNNRL4uHcatTi4nqgj3DXWg&asPdf=false