Search found 268 matches

by alex31
Sun Jun 23, 2019 10:27 pm
Forum: Development and Feedback
Topic: [NOTES] Multi Core support
Replies: 12
Views: 459

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: 199

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: 95

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: 319

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: 338

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: 13762

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: 338

Re: Need help with SPI and STM32F4Discovery

that's strange.

are you sure to call initialiseDisplay function in you main ?
by alex31
Mon Apr 29, 2019 12:11 pm
Forum: STM32 Support
Topic: Need help with SPI and STM32F4Discovery
Replies: 10
Views: 338

Re: Need help with SPI and STM32F4Discovery

Hello, There is at least one bug in your code : sizeof(testSpiValue) * sizeof(uint16_t) : why ? you should just use sizeof(testSpiValue). Supplying length of 4 instead of 2 lead to buffer overflow. Then, slowing down the whole MCU to slow down SPI is not the usal way. usually, one use BR bit to set ...
by alex31
Wed Apr 24, 2019 4:09 pm
Forum: Small Change Requests
Topic: add checks for DMA cache synchronisation function
Replies: 2
Views: 257

add checks for DMA cache synchronisation function

Hello, More than one, I have been trapped by calling cacheBufferInvalidate or cacheBufferFlush with an unproperly aligned address. Is it possible to add an chDbgAssert in these 2 functions, that check that the 5 LSB of address are clear ? The effects of passing unaligned address can go from subtle b...
by alex31
Wed Apr 24, 2019 3:52 pm
Forum: Bug Reports
Topic: patch : fix dma_mask for F76X F77X I2C4_RX Topic is solved
Replies: 6
Views: 354

Re: patch : fix dma_mask for F76X F77X I2C4_RX Topic is solved

Hello, I have made tests on the target, and as usual, CUBE is right over RM, so your patch resolves the problem, thanks. There is another one line patch needed to use I2C4 on chibios 18.2 (its already OK on 19.x and trunk) : diff --git a/os/hal/ports/STM32/LLD/I2Cv2/hal_i2c_lld.c b/os/hal/ports/STM3...

Go to advanced search