Search found 6 matches

by julester23
Fri Mar 27, 2020 10:28 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 116627

Re: [DEV] STM32G4xx support

Hi Shevchenko,
@Julester23, any comment?
Giovanni

I'm afraid I didn't finish setting up mailboxes.

4) This is off by one. Mailbox is one-indexed in every other function, not zero-indexed. Setting mailbox to 0 (CAN_ANY_MAILBOX) will actually request sending TX Buffer 1, setting mailbox to 1 will ...
by julester23
Fri Jan 10, 2020 11:32 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 116627

Re: [DEV] STM32G4xx support

I made some improvements to the FDCAN driver to handle multiple peripherals and was able to test it on the EVAL board. Latest branch includes the older work and also the newer here: https://github.com/julienrhodes/ChibiOS ... n_g474eval
by julester23
Wed Jan 08, 2020 3:59 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 116627

Re: [DEV] STM32G4xx support

I wasn't talking about chibi events, the hardware has a tx events buffer which provides things like timestamps and assurances that transmit events did actually occur.
by julester23
Wed Jan 08, 2020 7:26 am
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 116627

Re: [DEV] STM32G4xx support

I made a few changes most of what you were recommending and also added a missing file. Just committing to my branch on my fork. I invited you to review the pull-request on github in case that would be helpful as a tool for you to give more specific feedback and line-by-line commentary. Let me know ...
by julester23
Mon Jan 06, 2020 5:29 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 116627

Re: [DEV] STM32G4xx support


- It should be named FDCANv1 as the current rule is that LLDs take the name of the peripheral (CANv1 is historically wrong, it should be BXCANv1).
- The number of RX and TX mailboxes is set to 1, I believe there are more.
- IO macros are not very efficient, it forces the compile to write and/or ...
by julester23
Sun Jan 05, 2020 6:44 am
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 100
Views: 116627

Re: [DEV] STM32G4xx support

I have been working on getting the FDCAN peripheral to work on the STM32G434, and have some working internal loopback demos working. I tried submitting to ChibiOS-Contrib, however the pull request I created depends on many of the additions in Chibios-RT master (not in stable_19.1.X). Would it be ...