diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-01-14 23:30:23 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-01-14 23:30:23 +0300 |
commit | 8bd63eaab18a258999eab2bb52892db2561c3749 (patch) | |
tree | 910242c87a217bfa3cf83bd7481a99ea1d4fa0e9 /src/Hardware/SAME70 | |
parent | 36eb4fe0cbdb55bf62d33e6743a8740853e783cd (diff) |
Various
Disable CAN FIFO overwrite mode on SAME70
Remove delays from CanClockLoop that are no longer needed
Overlap next step calculation with step high time when slow drivers are
used
Combined CalcNextStepTimeCartesian and CalcNextStepTimeDelta
Added NOPs to lengthen the last step pulse in a move on the SAME70
Diffstat (limited to 'src/Hardware/SAME70')
-rw-r--r-- | src/Hardware/SAME70/CanDriver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hardware/SAME70/CanDriver.h b/src/Hardware/SAME70/CanDriver.h index 9c6647f5..3ff425f3 100644 --- a/src/Hardware/SAME70/CanDriver.h +++ b/src/Hardware/SAME70/CanDriver.h @@ -666,9 +666,9 @@ static inline void mcan_get_config_defaults(struct mcan_config *const config) no config->remote_frames_standard_reject = true; config->remote_frames_extended_reject = true; config->extended_id_mask = 0x1FFFFFFF; - config->rx_fifo_0_overwrite = true; + config->rx_fifo_0_overwrite = false; config->rx_fifo_0_watermark = 0; - config->rx_fifo_1_overwrite = true; + config->rx_fifo_1_overwrite = false; config->rx_fifo_1_watermark = 0; config->tx_queue_mode = false; config->tx_event_fifo_watermark = 0; |