Search found 260 matches

by faisal
Thu Apr 04, 2019 5:52 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 1153

VMT interface between upper and lower level HAL

I'm currently working on creating a driver for an external SPI to CAN device. I would like to use the hal_can abstraction, but the way HAL is currently designed is that it is directly linked to the hal_<device>_lld functions. I would like to use the HAL to be more than just bound to MCU built-in per...
by faisal
Thu Apr 04, 2019 5:41 pm
Forum: ChibiOS/HAL
Topic: hal_can.h should define CANRxFrame/CANTxFrame
Replies: 1
Views: 330

hal_can.h should define CANRxFrame/CANTxFrame

hal_can.h should define the CANRxFrame/CANTxFrame structures. The structure definitions are currently entirely inside hal_can_lld.h . If there are any platform specific members needed (for example, FMI and TIME in STM32), those should be in macros defined in hal_can_lld.h, and included at the end of...
by faisal
Wed Apr 03, 2019 5:25 pm
Forum: ChibiOS/RT
Topic: Understand difference between stats and time in thread_t
Replies: 9
Views: 1055

Re: Understand difference between stats and time in thread_t

Is it true that (assuming no overflow happens), the total time logged by stats for all threads should track the current system time? Also, that the cumulative time for each thread is the actual execution time of the thread + any interrupts that occurred in the thread. The stats timer for the thread ...
by faisal
Sat Mar 16, 2019 4:55 pm
Forum: Bug Reports
Topic: [PATCH] added missing STM32F103x8 definition Topic is solved
Replies: 4
Views: 601

Re: [PATCH] added missing STM32F103x8 definition Topic is solved

Report issues with CMSIS files here:
https://github.com/ARM-software/CMSIS_5

Also, check if the latest trunk code already has the fix.


Submit bug report to STMicro, on their forums perhaps?
by faisal
Fri Mar 15, 2019 8:56 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 6
Views: 925

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub . I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path. Thanks again. Check this out: http://www.chibios.com/forum/viewtopic.php?f=...
by faisal
Fri Mar 15, 2019 7:48 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 6
Views: 925

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub . I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path. Thanks again. Check this out: http://www.chibios.com/forum/viewtopic.php?f=...
by faisal
Mon Feb 25, 2019 9:21 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 21
Views: 2800

Re: undefined reference to ST2MS and MS2ST

Yep, definition of callback has changed. Check out hal_dac.h. now, it only takes the driver strict as a parameter.

See viewtopic.php?f=3&t=4929. I believe the demos in testhal have been updated as well to show the usage of the new API.
by faisal
Mon Feb 25, 2019 7:23 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 21
Views: 2800

Re: undefined reference to ST2MS and MS2ST

Giovanni doesn't have anything to do with the Github mirror. The official ChibiOS repo is on sourceforge. Yeah, a lot of us don't like that, but it is what it is :). Also, please post more information on that warning. Post the file, and more context from the compiler output .. Clearly, your callback...
by faisal
Mon Feb 25, 2019 4:32 pm
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 173
Views: 29903

Re: Where to start STM32H7 support

What if you disconnect the SPI lines going to the slave device and enable the internal pull-up on MISO? When you do the SPI transaction, you should receive all 0xFF.
by faisal
Sat Feb 23, 2019 7:32 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 10
Views: 1412

Re: xQueueCreate equivalent

Those are different, ObjFIFOs are meant to exchange fixed-size structures in a copy-less way. HAL I/O buffers are used in those situations where you have to read/write byte streams from one side and fetch/post buffers from the other side, it is more of a buffering system. Which is better depends on...

Go to advanced search