Open
Description
According the the atmega2560
datasheet, its USART
modules can be used in "SPI Mode," which essentially gives an extra bus (or four) to add SPI devices to it.
However, within the current implementation of avr_hal
/atmega_hal
, it's not plausible to use the USART modules in SPI mode.
Given this is hardware supported on the atmega
's (versions of it), it would make sense to have a hardware implementation of it it in the HAL's.
Free to give this an attempt if given a suggestion in the right way for how to get started.