Search found 271 matches

by alex31
Sat Sep 14, 2019 8:52 pm
Forum: Bug Reports
Topic: CAN bus driver - transmission abort
Replies: 4
Views: 2382

Re: CAN bus driver - transmission abort

Thank you, I have a little experimental working CAN network, nothing shiny, few F767 drone autopilot with CAN transceiver wired together. With a saleae logic pro, supporting can 2.0b frame, I can begin to experiment, I'll post here results. I want to eventually use uavcan to connect sensors to the a...
by alex31
Sat Sep 14, 2019 5:19 pm
Forum: Bug Reports
Topic: CAN bus driver - transmission abort
Replies: 4
Views: 2382

Re: CAN bus driver - transmission abort

Hello, Ok, this thread is eight years old, but, the question is still of interest. Aborting an ongoing transmission to be able to send an higher priority message is described in the standard (at least in the book "Understanding and Using the Controller Area Network Communication Protocol",...
by alex31
Sat Aug 24, 2019 11:43 am
Forum: Bug Reports
Topic: Preventing interrupt storms on STM32
Replies: 23
Views: 498

Re: Preventing interrupt storms on STM32

Hello, As an UAV developer, i can confirm that the electrical and electromagnetic environment is very harsh. Things that works well on the bench suddenly have strange behaviour when flying. In this context i welcome all software guard that can trap hardware fault, and vote for inclusion of i2c and s...
by alex31
Sun Jun 23, 2019 10:27 pm
Forum: Development and Feedback
Topic: [NOTES] Multi Core support
Replies: 12
Views: 632

Re: [NOTES] Multi Core support

Hello,

You are probably aware of the STM32MP1 : 2xA7+CM4

devboard (STM32MP157A-DK1) should be available soon at reasonable price (69$)

But it's perhaps too much work to port ChibiOS to cortex A architecture ...

Alexandre
by alex31
Mon Jun 03, 2019 10:03 am
Forum: ChibiOS/HAL
Topic: MPU9250 gives garbage when spiExchange is used but not when spiSend
Replies: 4
Views: 259

Re: MPU9250 gives garbage when spiExchange is used but not when spiSend

Hello, I have no experience of using MPU9250 with SPI, but i use ICM20600 with SPI and theses chip from invensense are fairly similar. With the ICM20600, i have no problem using spiExchange, with a spi clock @ 6.25Mhz What STM MPU are you using ? What Polarity and Phase are you using ? (post your SP...
by alex31
Wed May 29, 2019 3:53 pm
Forum: ChibiOS/HAL
Topic: question about rationnale of function name
Replies: 1
Views: 127

question about rationnale of function name

Hello, I have a question of very little importance, but still, I have to ask :-) Why for for some ADC drivers (f37x, adcV2) , the function that enable internal channel vref and battery are : adcSTM32EnableTSVREFE(); adcSTM32EnableVBATE(); and for others (f3xx, adcV1, adcV3, adcV4) , there is not the...
by alex31
Sun May 26, 2019 9:54 pm
Forum: ChibiOS/RT
Topic: EXT unhandled exception
Replies: 8
Views: 417

Re: EXT unhandled exception

the problem is that you cannot use a chprintf in an interruption handler. you need to read the chibios documentation, it explains that there is function that can be called from thread context, and functions that can bell called from interruption context. chprintf is a function that can only be calle...
by alex31
Mon Apr 29, 2019 2:28 pm
Forum: STM32 Support
Topic: Need help with SPI and STM32F4Discovery
Replies: 10
Views: 427

Re: Need help with SPI and STM32F4Discovery

perhaps the problem is elsewhere ? are you sure you compile and flash that code ? are you sure flashing don't go wrong ? are you sure your code don't fail even before going into main Have you run your code within debugger to be sure ? alternatively you can modify the code in that way : call spiselec...
by alex31
Mon Apr 29, 2019 1:44 pm
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 152
Views: 15532

Re: Where to start STM32H7 support

Hello, looks like H7 support will become complicated. As I have read here, https://www.eevblog.com/forum/microcontrollers/stm32h7-series-revision-beware-of-the-changes!/ , new revisions of H7, while having the same part number, will be software incompatible with firsts versions ... finally, i'm glad...
by alex31
Mon Apr 29, 2019 1:39 pm
Forum: STM32 Support
Topic: Need help with SPI and STM32F4Discovery
Replies: 10
Views: 427

Re: Need help with SPI and STM32F4Discovery

that's strange.

are you sure to call initialiseDisplay function in you main ?

Go to advanced search