jefftenney / lptim-tick-u5 Goto Github PK
View Code? Open in Web Editor NEWFreeRTOS Tick/Tickless via LPTIM for STM32U
FreeRTOS Tick/Tickless via LPTIM for STM32U
When trying to compile with LSI clock on STM32U585 the following error occurs: 'RCC_CSR_LSIRDY' undeclared (first use in this function)
129#ifdef configTICK_USES_LSI
130 #define LPTIMSEL_Val 1 // LSI
131 #define IS_REF_CLOCK_READY() (RCC->CSR & RCC_CSR_LSIRDY)
looking up for STM32U5 reference design seems like there is no such a bit.
I was looking at the implementation more deeply and I can see that you used LPTIM1 for tickless mode. Then I found that LPTIM3 is also enabled in the IOC. But I don't find any use of it.
I saw this comment in READ ME. I don't get it.
LED is blinking twice particularly in that case. That means error in default tickless mode. Are this comment and error related?
I have been testing this with STM32u575 board, it was working fine with 24mhz clock and consumption was around 850uA but when I changed the system clk to 160Mhz it just increased to 5ma-10ma.
Increasing the clock may result in higher power consumption. But this is a significant increase.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.