STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

LIS3DH Auxiliary ADC using STM8 is giving constant value

HiI am working on a project where we are reading the battery level on the ADC1 of LIS3DH. This value I need to read using STM8L051F3P. I am using SDCC compiler. I am able to read the WHO_AM_I register. I am also able to set the accelerometer threshol...

SDhare by Associate
  • 1246 Views
  • 3 replies
  • 0 kudos

Resolved! STM8L ADC Single conversion not working (Solved)

I can't seem to figure out what I've done wrong. Trying to do a single ADC conversion on the STM8L051F3 using pin PC4 but I'm just getting 0xFFFFD. Here's my ADC related code can anyone spot where I've gone wrong?void ADC_Init() { CLK_PCKENR2 |= ...

Plum by Associate II
  • 626 Views
  • 2 replies
  • 0 kudos

Incorrect example files are on the ST website for STEVAL-ISA164 STNRG388A digital controller eval board. If someone could create a simple example to fix missing Example 4 we would reward you for your time

I wasn't sure where to post this request for the STNRG digital control IC example files so I'm reposting in STM8 after getting no responses in Power Management or from technical support in a weekThere is a link to download 5 sample files for the STLU...

STM ADC SCAN MODE: ADC floating value observed on PIN.

I am using STM8S003F3. Currently my application requires sampling two ADC channels, which are interfaced with:1) Output of a resistor divider network which is routed directly to the microcontroller's ADC CH 32) Analog output of a sensor module PCB co...

ADC Accuracy

Hi Guys, i am using STM8S003F3 controller and i want to that how can i achive 0.1v accuracy when my ADC resolution is 1023 and my total count is 2000.

MAnsa.1 by Associate II
  • 2335 Views
  • 13 replies
  • 0 kudos