Skip to content

Releases: pierremolinaro/acan-t4

Fixed documentation title

24 Mar 18:51
Compare
Choose a tag to compare

Fixed many typos, files and constant renaming

24 Mar 10:56
Compare
Choose a tag to compare

Fixed many typos (Thanks to Bryan Miller for his attentive proofreading)

CANMessage.h renamed to ACAN_T4_CANMessage.h

CANFDMessage.h renamed to ACAN_T4_CANFDMessage.h

Constant kFlexCANinCANFDBMode renamed to kFlexCANinCANFDMode

Fixed CANFD receive filters

14 Jan 18:43
Compare
Choose a tag to compare

The CANFD mode receive filters were wrong (thanks to Bryan Miller), this bug has been fixed.

The LoopBackDemoIntensiveCAN3FDFilters sketch has been updated.

Added CANMessage and CANFDMessage class union members

01 Oct 10:18
Compare
Choose a tag to compare

Added data_s64, data_s32, data_s16 and data_s8 to CANMessage and CANFDMessage class union members (thanks to tomtom0707).

Adding the 24 MHz CAN Root Clock

31 Jul 20:18
Compare
Choose a tag to compare

In previous releases, the CAN root clock frequency is always 60 MHz. This release adds the choice between two clocks, 60 MHz (default value) and 24 MHz. In particular, the 615 kbit/s bitrate can be achieved by the 24 MHz clock, whereas it cannot be achieved with sufficient accuracy by the 60 MHz clock.

Note that the Teensy 4.x microcontroller also has a CAN root clock of 80 MHz. But its use is more complex, due to the ERR050235 silicon mask bug. So we decided not to use it.

Fixed FPROPSEG setting

19 Jul 18:46
Compare
Choose a tag to compare

Thank to Liz for fixing this bug.

According to the processor manual, the prop seg timeout is calculated from the FDCBT_PROPSEG value by multiplying it with the sclock directly. The value is not increased by one beforehand¹.

In the reference manual the calculation of the segment time is stated as:
Propagation Segment Time = FPROPSEG × Time-Quanta

This is indeed different to the programming of the CAN2.0 Interface (CBT_PROPSEG)², where the calculation is:
Propagation Segment Time = (EPROPSEG + 1) × Time-Quanta.

Sources:
¹: i.MX RT1060 Processor Reference Manual, Rev. 2, 12/2019 / Chapter 45.6.2.22.4 / Page 2701
²: i.MX RT1060 Processor Reference Manual, Rev. 2, 12/2019 / Chapter 45.6.2.19.4 / Page 2695

Added x9 and x10 data bit rate factors

21 Apr 09:22
Compare
Choose a tag to compare

Thanks to Pedro Dionisio Pereira Junior

1.1.1

27 Apr 18:31
Compare
Choose a tag to compare

Added dataFloat to CANMessage (thanks to Koryphon);
Added several forgotten volatile.

Compatibility with ACAN2517FD library

31 Dec 15:30
Compare
Choose a tag to compare

Initial Release

18 Oct 17:51
Compare
Choose a tag to compare
1.0.0

Typo