Hello,
I've been scrathing my head to get two fdcan interfaces working simultaneously, from what I've gathered the problem lays in the fact that both interfaces share the same memory area. I've tried spliting them into two 1280 word area's but this doesn't seems to solve the issue.
Any help would ...
Search found 24 matches
- Wed May 14, 2025 9:46 am
- Forum: STM32 Support
- Topic: Two FDCAN interfaces on STM32H7
- Replies: 2
- Views: 18362
- Wed Apr 23, 2025 6:04 pm
- Forum: Bug Reports
- Topic: FDCAN with STM32H735
- Replies: 44
- Views: 95126
Re: FDCAN with STM32H735
ych wrote:Edoardo1982 wrote:...
Thank you for your feedback, I remove that sleep from the code right away.
Edoardo
Would it be possible to remove it as well from at least the latest stable version, [font=Courier New]stable_21.11.x[/font]?
Sure,
I'll do it in the next few days.
Edoardo
- Mon Apr 14, 2025 11:32 am
- Forum: Bug Reports
- Topic: FDCAN with STM32H735
- Replies: 44
- Views: 95126
Re: FDCAN with STM32H735
...
Could you give me some feedback on how FDCAN works without that sleep?
...
Hi Edoardo,
After a week in production without that sleep command, I haven't encountered any issues with FDCAN transmission.
It seems we can safely remove it.
The issue I encountered was due to a flaw in my code ...
- Mon Mar 31, 2025 1:39 pm
- Forum: Bug Reports
- Topic: FDCAN with STM32H735
- Replies: 44
- Views: 95126
Re: FDCAN with STM32H735
I encountered a limitation caused by the chThdSleepS(OSAL_MS2I(1)) delay in the FDCANv2 driver for STM32. A similar delay also exists in FDCANv1 .
Due to this delay, I’m unable to send CAN FD frames faster than 1 kHz from a single thread, whereas my application requires a 2 kHz transmission rate ...
Due to this delay, I’m unable to send CAN FD frames faster than 1 kHz from a single thread, whereas my application requires a 2 kHz transmission rate ...
- Tue Jan 28, 2025 4:40 pm
- Forum: Bug Reports
- Topic: FDCAN with STM32H735
- Replies: 44
- Views: 95126
Re: FDCAN with STM32H735
Hi,
Rather than introducing low-level APIs, I would suggest calling a stop and start of the driver instead. Do you have any objections to this potential solution?
I understand the inconvenience to add new low level API.
In a typical application there is a reception thread, emissions are spread ...
Rather than introducing low-level APIs, I would suggest calling a stop and start of the driver instead. Do you have any objections to this potential solution?
I understand the inconvenience to add new low level API.
In a typical application there is a reception thread, emissions are spread ...
- Mon Jan 20, 2025 5:10 pm
- Forum: Bug Reports
- Topic: FDCAN with STM32H735
- Replies: 44
- Views: 95126
Re: FDCAN with STM32H735
Hello,
I have backported trunk fdcan to stable, and so far, it works both for fdcanV2 (using watermark) and fdcanV1 (using new message IT)
1) I want to submit trivial patch to add TDCR (transmit delay register) to configuration structure : when using FDCAN at high baudate, it make transmission ...
I have backported trunk fdcan to stable, and so far, it works both for fdcanV2 (using watermark) and fdcanV1 (using new message IT)
1) I want to submit trivial patch to add TDCR (transmit delay register) to configuration structure : when using FDCAN at high baudate, it make transmission ...
- Wed Dec 04, 2024 7:46 pm
- Forum: Bug Reports
- Topic: fdcanV2 wrong assertion in the filtering code
- Replies: 2
- Views: 19989
Re: fdcanV2 wrong assertion in the filtering code
Hello,
First, I want to thanks Edoardo for the hdcanv1/v2 refactor, and filtering integration.
I will in the future submit some patches driven by real usager in flying machine.
For now just a simple bug, fdcanv2 will wrongly assert when using filtering on CAND1 :
void can_lld_set_filters ...
First, I want to thanks Edoardo for the hdcanv1/v2 refactor, and filtering integration.
I will in the future submit some patches driven by real usager in flying machine.
For now just a simple bug, fdcanv2 will wrongly assert when using filtering on CAND1 :
void can_lld_set_filters ...
- Wed Dec 04, 2024 7:40 pm
- Forum: Bug Reports
- Topic: FDCAN with STM32H735
- Replies: 44
- Views: 95126
Re: FDCAN with STM32H735
Hello,
I have made the changes to the FDCANv1 and FDCANv2 drivers in the ChibiOS trunk (rev 16769).
The behavior of both drivers is now the same: an event is triggered as soon as there is a message in the RX FIFO.
It will be the application's responsibility to read all the messages that the RX ...
I have made the changes to the FDCANv1 and FDCANv2 drivers in the ChibiOS trunk (rev 16769).
The behavior of both drivers is now the same: an event is triggered as soon as there is a message in the RX FIFO.
It will be the application's responsibility to read all the messages that the RX ...
- Fri Oct 25, 2024 9:57 am
- Forum: Bug Reports
- Topic: FDCAN with STM32H735
- Replies: 44
- Views: 95126
Re: FDCAN with STM32H735
i may add my 5cent for FDCANv2 on STM32H7A3 …
⋅ it actually supports more interrupts then RX-FIFO-FULL when receiving frames: there is RX-FIFO-WATERMARK and RX-FIFO-NEWMESSAGE (see RM0455, 2457/2966, FDCAN_IE bit 0, 1, 4 and 5). the testhal CAN code works properly, as it generates a ...
⋅ it actually supports more interrupts then RX-FIFO-FULL when receiving frames: there is RX-FIFO-WATERMARK and RX-FIFO-NEWMESSAGE (see RM0455, 2457/2966, FDCAN_IE bit 0, 1, 4 and 5). the testhal CAN code works properly, as it generates a ...
- Sat Oct 19, 2024 1:01 am
- Forum: ChibiLogic Commercial Services
- Topic: Presentation of ChibiLogic s.r.l. Services
- Replies: 0
- Views: 70409
Presentation of ChibiLogic s.r.l. Services
Our company specializes in providing support for porting architectures, drivers, and applications on ChibiOS.
We offer tailored solutions for a wide range of embedded systems, covering various hardware platforms and use cases.
Here are some examples of our projects:
- Ported ChibiOS to Cortex-A5 ...
We offer tailored solutions for a wide range of embedded systems, covering various hardware platforms and use cases.
Here are some examples of our projects:
- Ported ChibiOS to Cortex-A5 ...