Search found 574 matches

by steved
Tue Jun 18, 2019 1:26 pm
Forum: Development and Feedback
Topic: [NOTES] Multi Core support
Replies: 12
Views: 348

Re: [NOTES] Multi Core support

I'm thinking of applications where a multi-processor device might replace several individual processors which intercommunicate using some form of comms link (serial, I2C, CAN etc) - RT7 will be able of multi core operations in two modes "loose" and "strong", in loose mode the var...
by steved
Thu Jun 13, 2019 2:59 pm
Forum: Bug Reports
Topic: Virtual timer overflow Topic is solved
Replies: 12
Views: 384

Re: Virtual timer overflow Topic is solved

I've not been able to replicate the problem - it occurred in the early stages of getting some new code working in a different area, so there may have been other influences at work. I think we regard this as fixed.
by steved
Thu Jun 13, 2019 2:56 pm
Forum: General Support
Topic: I2C Slave mode support?
Replies: 101
Views: 22485

Re: I2C Slave mode support?

I'm not certain that 'read zero bytes from this address' is a valid call, although there's no specific test for it. Are you using i2cMasterReceiveTimeout()? On the slave, IIRC it should always respond with data - the source depends on the call type. The slave has no knowledge of how much data has be...
by steved
Wed Jun 05, 2019 1:18 pm
Forum: STM32 Support
Topic: STM32L496 external oscillator
Replies: 7
Views: 239

Re: STM32L496 external oscillator

You need to adjust some values to give the right clocks: #define STM32_PLLM_VALUE 1 #define STM32_PLLN_VALUE 80 #define STM32_PLLP_VALUE 7 #define STM32_PLLQ_VALUE 6 #define STM32_PLLR_VALUE 4 Have a look at the clock tree in the relevant manual. From memory, CPU clock is: ((LSE/STM32_PLLM_VALUE)*ST...
by steved
Fri May 31, 2019 11:13 am
Forum: Small Change Requests
Topic: chprintf enhancement Topic is solved
Replies: 5
Views: 554

Re: chprintf enhancement Topic is solved

Updated for 19.1
by steved
Wed May 29, 2019 10:53 am
Forum: Bug Reports
Topic: Virtual timer overflow Topic is solved
Replies: 12
Views: 384

Re: Virtual timer overflow Topic is solved

I'll have a better look when I can - this was just a side-issue outside the code I was working on, so didn't look too closely.
Might be a little while before I can fire up the project again to check.
by steved
Wed May 29, 2019 8:37 am
Forum: Bug Reports
Topic: Virtual timer overflow Topic is solved
Replies: 12
Views: 384

Re: Virtual timer overflow Topic is solved

Not sure that the fix covers all situations; I saw the problem elsewhere.There are two cases to consider: a) No virtual timers active; start one with a long delay b) Multiple virtual timers active; shorter ones expire, until the long delay timer is the only one left. I think the fix just covers the ...
by steved
Wed May 22, 2019 6:37 pm
Forum: Bug Reports
Topic: Virtual timer overflow Topic is solved
Replies: 12
Views: 384

Virtual timer overflow Topic is solved

Not sure if this is a bug or a constraint. ChibiOs 19.1.2 Using 32L071, so 16-bit SYSTICK at 1kHz. CH_CFG_INTERVALS_SIZE 32 CH_CFG_TIME_TYPES_SIZE 32 All diagnostics enabled I have a virtual timer started for a 5-minute interval (so multiple cycles of SYSTICK). It appears that this can be handled as...
by steved
Thu May 16, 2019 10:09 am
Forum: Small Change Requests
Topic: Clearer message for functions not supported on platform
Replies: 2
Views: 122

Re: Clearer message for functions not supported on platform

Giovanni wrote:Hi,

It is a good idea, is that pragma standard?

Giovanni

Part of C99 standard, according to gcc link
Not checked the detail against the standard.
by steved
Wed May 15, 2019 11:18 am
Forum: Small Change Requests
Topic: Clearer message for functions not supported on platform
Replies: 2
Views: 122

Clearer message for functions not supported on platform

chSysPolledDelayX() and other functions are not supported on the 32L0 family. The error message is 'undefined function'; took me a little while to realise it was really 'unsupported function'. It's possible to generate clearer error messages for this scenario; the following change to chsys.h works: ...

Go to advanced search