Search found 304 matches

by alex31
Thu Apr 30, 2020 8:19 am
Forum: Bug Reports
Topic: ICU driver and 32 bits timer
Replies: 17
Views: 1511

Re: ICU driver and 32 bits timer

Being able to set .arr is really handy, I and people of my team had take habit to set ARR after icuStart, so having .arr in the config would be a plus (your zero value of .arr handling is a good idea). Nevertheless, if .arr is not in the config, that will not stop user to set ARR, and this should no...
by alex31
Mon Apr 27, 2020 1:47 pm
Forum: Bug Reports
Topic: ICU driver and 32 bits timer
Replies: 17
Views: 1511

Re: ICU driver and 32 bits timer

Hi, Do you have a callback on overflow setup? No callback, but i don't think it's matter. Which MCU? F4 and F7, probably it's the same problem with all TIMv1 STM32 that expose tim2 and/or tim5 which are the 32 bits timers. Which TIM? I use tim2 but there should be the same problem with tim5 In fact,...
by alex31
Thu Apr 16, 2020 10:33 pm
Forum: Bug Reports
Topic: ICU driver and 32 bits timer
Replies: 17
Views: 1511

ICU driver and 32 bits timer

Hello, ICU driver behave the same with 32 bits timers than with 16 bits timer, is it by design ? If I want 32 bits timer with ICU to not overflow like a 16 bit timer, i have to manually set ICUDx.tim->ARR to 0xFFFFFFFF after icustart. Perhaps it should be done in hal_icu_lld.c if the timer is a 32 b...
by alex31
Sat Mar 28, 2020 11:40 am
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 69
Views: 10165

Re: [DEV] STM32G4xx support

2) typedef struct { /** * @brief Frame header. */ union { struct { union { uint32_t EID:29; /**< @brief Extended Identifier. */ struct { uint32_t _R1:18; uint32_t SID:11; /**< @brief Standard identifier. */ uint32_t RTR:1; /**< @brief Remote transmit request.*/ uint32_t XTD:1; /**< @brief Extended ...
by alex31
Thu Mar 26, 2020 8:44 am
Forum: ChibiOS/RT
Topic: Cortex-M0 bugs: 88167, 88656
Replies: 11
Views: 3296

Re: Cortex-M0 bugs: 88167, 88656

For the early testers, a guy maintains a bleeding edge toolchain where one can fin latest gcc 9.3, gdb 9.1 : http://www.freddiechopin.info/en/download/category/11-bleeding-edge-toolchain there is precompiled binaries for windows, but not for linux where there is only a build script. If someone is in...
by alex31
Mon Dec 23, 2019 11:04 am
Forum: STM32 Support
Topic: Support for STM32F730 Value line MCUs Topic is solved
Replies: 10
Views: 1644

Re: Support for STM32F730 Value line MCUs Topic is solved

I found the issue with my code. If i use the cpp wrappers and define a thread that overrides the pure virtual main function of the BaseStaticThread class. I have the issue. This look to me more like a compiler problem or does any one have a idea whats happening? Thanks Hello, perhaps a static C++ o...
by alex31
Sun Dec 08, 2019 11:36 pm
Forum: Bug Reports
Topic: chTimeIsInRangeX always false? Topic is solved
Replies: 15
Views: 5374

Re: chTimeIsInRangeX always false? Topic is solved

Hello, I agree with you that calling chThdSleepUntilWindowed with prev == next is no sense. The problem arose when next is the result of a calculation of type next = now + something, ° before patch #1060 there was no need to protect the call to chThdSleepUntilWindowed is something was 0 (and then pr...
by alex31
Thu Dec 05, 2019 6:41 pm
Forum: Bug Reports
Topic: chTimeIsInRangeX always false? Topic is solved
Replies: 15
Views: 5374

Re: chTimeIsInRangeX always false? Topic is solved

Fixed as bugs #1060 and bug #1061 (trunk only right now). The problem was present in both RT and NIL, also the OS-less OSAL contained a similar problem. Added specific tests to both test suites. Do you mind giving a try to the modified I2C driver? Giovanni Hello, Theses fixes have the side effect t...
by alex31
Sat Nov 09, 2019 11:27 am
Forum: Development and Feedback
Topic: GCC 9
Replies: 20
Views: 2049

Re: GCC 9

I searched the GCC tracker, the bug fixes have been committed on "all active branches" two months after 9.2 release so we can expect it to be fixed in next release. We could try to build from source but then we could hit other problems. Giovanni Hello, there is an easy way to build from s...
by alex31
Sun Nov 03, 2019 11:39 am
Forum: Development and Feedback
Topic: [INFO] Functional Safety Elements
Replies: 4
Views: 916

Re: [INFO] Functional Safety Elements

Hello,

Nice idea, better to have a well written and tested code than having to reinvent the wheel !

Do you mean debouncing instead of debouching ?

Alexandre

Go to advanced search