Others: hardware and software

Discuss hardware and software design challenges, including NOR flash storage, OTA updates, component ID, and thermal management.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

TIM4 and I2C don't work together

I have a Arduino Mega and a STM8S003F3. I set up I2C communication between them. Arduino Mega is master. STM8S is slave. STM8S runs at 3.3V. Arduino Mega I2C clock frequency is the default(100KHz). TIM4 goes into interrupt every 1ms.If I don't enable...

AMehm.1 by Associate
  • 1400 Views
  • 0 replies
  • 0 kudos

Shortage of the STM8L series worldwide?

Hi :) I have been designing a device for the STM8L151, and I hope to start production of the first 1000 units soon. But it seems the stock amounts are getting smaller and smaller?On DigiKey for example there are only 4 versions of the STM8L151 which ...

SLasn.1 by Senior
  • 2054 Views
  • 2 replies
  • 0 kudos

RTC clock not starting consistenly

Hi everyone, I'm using the STM8L152R8 Nucleo board and trying to get the RTC running on the LSE clock. It works but only inconsistenly, about 2/3 runs error out in the RTC_EnterInitMode function of the SPL the below line. RTC_EnterInitMode is called ...

TConl.1 by Associate II
  • 1653 Views
  • 1 replies
  • 0 kudos

EEPROM - write 2 bytes

Hi :) Quick version: how to write 2 bytes (not in the same word) to the EEPROM in STM8? Should I write 1 byte and then wait for the EOP flag to be set before writing the second one?Long version: for now I am simply doing:unlock EEPROMwrite byte 1 (EE...

SLasn.1 by Senior
  • 1754 Views
  • 1 replies
  • 0 kudos

Sir, I am using 3 ADC channels in STM8S003F3 for purpose of AC voltage measurement and while AC Power down on any channel , board going to reset , please suggest me the perfect solution .

in my testing while I am down the power or power on of a any channel MCU is going to reset . I have attached a schematic of my board.If is there may issue of softwere code please suggest me the clock setup is void clock_setup(void){ CLK_DeInit(); ...

RSing.11 by Associate II
  • 1314 Views
  • 0 replies
  • 0 kudos

Resolved! IWDG with long timeout

Hi everyone, I'm writing a program for a STM8L152R8 that sends data over UART to another mcu that should respond to me though I have a timeout on the transaction of five seconds using timer 4. I'd also like to include a watchdog however the max timeo...

TConl.1 by Associate II
  • 4550 Views
  • 7 replies
  • 0 kudos

samples for projects

hello, i was looking for some free samples for some products from ST. i am a university student in india and am working on industrial project and really need samples of some ICs for the project. but I can't find any procedure to acquire them. i trie...

Kkedi.1 by Associate
  • 739 Views
  • 0 replies
  • 0 kudos