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

About PUSH POP instructions。

I test push and pop instruction,some issue confuse me. ​push cc #cc = 0​​when cc=0,and cc is push to stack,the value in stack is 0x28,this mean I1 I0 is set,why?​​pop cc​ #cc=0​when​ cc in stack is 0x2b,after pop,cc change to be 0x3 ,this mean I...

jduo.1 by Associate II
  • 1724 Views
  • 3 replies
  • 0 kudos

Custom STM8 Programmer

Hello friends!I have self-developed a programmer for STM8.It works very well.However now I want it to be able to debug in IAR like STLink.Please give me documentation or instructions on how to do it.

Can STCC2540 be used in a USB OTG scenatio?

My system is OTG capable- means it can work in Host as well as device mode. The use case is that my system should be able to connect to mobiles and tabs where they are client devices and I should be able to charge them, also being a USB host. Also my...

Why can't I use UART1 and ADC1 together?

Hi. I made a code that uses ADC1 in single conversion mode and UART in asynchronous mode.But when I do the ADC1_Init() for some reason the RX interrupt of the UART doesn't work, if I don't use the ADC1 it works normally. Can someone help me?Periphera...

VSchu.1 by Associate II
  • 1048 Views
  • 1 replies
  • 0 kudos

Resolved! M24512-A125 EEPROM memory address write cycles

Hello,I am a developer making a product that controls the M24512-A125 EEPROM with I2C.I am positive about the M24512-A125 product.I have a question while developing.I know there is a limit to the write cycles.Please let me know if my analysis is corr...

0693W00000D05KmQAJ.png
Skim.3 by Associate
  • 1284 Views
  • 1 replies
  • 0 kudos

Hi All, I am new to STM8L controller, Could you help me out with the clock configuration part? I am using STM8L152R8T6 controller Eval Kit along with Cosmic Compiler. Trying to do simple LED toggling on this board but unable to perform it.

void main() { uint32_t clockFrequency = 0x0000; //clock enable for MCU /* Select HSE as system clock source */ CLK_HSICmd(ENABLE); CLK_SYSCLKSourceConfig(CLK_SYSCLKSource_HSI); /* system clock prescaler: 1*/ CLK_SYSCLKDivConfig(CLK_SYSCL...

vshah by Associate II
  • 1306 Views
  • 2 replies
  • 0 kudos

Hi, Was planning to implement a design based on STUSB4500. have some queries about the working of STUSB4500 under different conditions.

1. If we are using A_B_Side for Super speed MUX selection, whether this A_B_side will be available on followinga) if a USB2.0 or Type A connected to Type C port using a USB2.0 or Type A to Type C connector.b)Whether ATTACH or A_B_Side is suitable for...

AV.6 by Associate II
  • 1232 Views
  • 1 replies
  • 0 kudos