Releases: pierremolinaro/acan2515
ESP32 interrupt task stack size set to 1200
2.1.5 Version 2.1.5: ESP32 interrupt task stack size set to 1200
Task priority on ESP32
ESP32 V3.1.1: xTaskCreate priority is set to 25 (thank to totalretribution).
CANMessage.h --> ACAN2515_CANMessage.h
2.1.3 Version 2.1.3 : CANMessage.h --> ACAN2515_CANMessage.h
Added 2 ms delay after SPI RESET
In the MCP2515 data sheet (DS20001801J), section 8.1, page 55: The MCP2515 utilizes an Oscillator Start-up Timer (OST) that holds the MCP2515 in Reset to ensure that the oscillator has stabilized before the internal state machine begins to operate. The OST keeps the device in a Reset state for 128 OSC1 clock cycles after the occurrence of a Power-on Reset, SPI Reset, after the assertion of the RESET pin, and after a wake-up from Sleep mode. It should be noted that no SPI protocol operations should be attempted until after the OST has expired.
This section has been updated after Revision H, revealing that a delay should be observed after SPI Reset, after the assertion of the RESET pin.
Fixed receiving extended remote frames
2.1.1 Version 2.1.1 : fixed receiving extended remote frames
Fixed extended frame reception
Fixed a long time bug that randomly prevents from receiving extended frames (thanks to James Zeng).
Added CANMessage class union members
Added data_s64, data_s32, data_s16 and data_s8 to CANMessage class union members (thanks to tomtom0707).
Added errorFlagRegister method
This method returns the contents of the EFLG register.
Added Raspberry Pi Pico sample code and documentation
Thanks to obdevel
Fix tryToSend interrupt disabling (thanks to Fergus Duncan)
Fix tryToSend interrupt disabling (thanks to Fergus Duncan)