STM8S005K6T6 needs working within 10ms
Hello everyone!
I have a question and seek your help: I use STM8S005K6T6 microcontroller and cc1101 RF transceiver module, and the operation at 433 MHz is affected. It generates power automatically and can only last for 10ms. The voltage remains at 3.3V for about 4ms, and the remaining 6ms remains above 1.8V, which is enough for the normal operation of the STM8S005K6T6 .
I have to make sure that the STM8S005K6T6 sends data over the cc1101 within a 10ms window. To keep things simple, on power-up, I just initialize the SPI, the button's GPIO, and the cc1101, and enable interrupts. To save time, the hardware is configured with a direct short circuit on the button to simulate continuous button presses. Then, the only process is an interrupt, directly calling a function to send a single packet with the cc1101, and that's it.
Even with this setup, when measured with an oscilloscope, it still takes over 120ms, which is clearly beyond the duration of spontaneous power generation.
Finally, is there a way for me to achieve 433MHz affected data transmission within 10ms of power on? Is the STM8S005K6T6 architecture available , or do I need to replace both the STM8S005K6T6 and the CC1101? I've looked for a bootloader on the STM8S005K6T6 that causes the microcontroller to immediately go into interrupts and send data via CC1101 on power up, but I haven't found one yet. If so, can you provide relevant technical links?
