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 the timer capture register.

If you read the capture register like this uint16_t capch;  capch=*((uint16_t*)&TIM2_CCR3H);This code will be compiled into an ldw instruction.The data is read incorrectly.The following code gives the correct result. uint16_t capch; ((ui...

EChep by Associate
  • 697 Views
  • 1 replies
  • 0 kudos

Unable to program STM8l052C6 using StLink.

Hello Respective,I am trying to flash STM8l052C6 using st link and stvd. But I am not able to flash it. Previously same controller same st link and same IDE was there I was able flash. but suddenly it stopped flashing.When trying to flash in new fre...

0690X000009ZdVpQAK.jpg
NPaba by Associate II
  • 823 Views
  • 0 replies
  • 0 kudos

How to measure input voltage in STM8l052C6 MCU?

Hello Respective,I am trying to measure the input voltage in STM8l052C6 controller but I am unable to do the same. I tried in STM8l152C6 in STMl discovery board and it's working fine there but not in STM8l052C6.I analysed one thing by my self is addr...

NPaba by Associate II
  • 746 Views
  • 0 replies
  • 0 kudos

Unable to execute HALT instruction in STM8l discovry.

Hello Respective,I am using STM8l discovery board and trying to put my controller in Sleep(HALT) for some time and waking up again when any external interrupt comes.Previously the code was working fine, but now it's not working as expected.I am using...

NPaba by Associate II
  • 782 Views
  • 0 replies
  • 0 kudos

How to send command to the NOR flash using SPI?

I'm using STM32L4A6VGx , MT25QL256 NOR Flash connected with SPI. I'm trying to read the ID but didn't get any response except 0. Here is the code I wrote: // Select Pin HAL_GPIO_WritePin(Select_GPIO_Port, Select_Pin, GPIO_PIN_SET); HAL_Delay(10); HAL...

ARehm by Associate III
  • 863 Views
  • 1 replies
  • 0 kudos

Resolved! STM8S Write Flash Memory Issue

Hi guys,I want to write data to the flash memory of the Stm8s003f3p6 processor. I can read / write to this processor's eeprom. But I can read the flash memory, but I can't write it. I write my codes with "IAR Embedded Workbench for STM8". I check the...

Hi world! by Associate III
  • 1668 Views
  • 1 replies
  • 0 kudos