Move SGPIO configuration and control to baseband firmware.

Addresses long-standing and annoying bug where SGPIO DMA channel would not disable -- and not configure cleanly next time it was needed. My theory is that the DMA channel couldn't disable until it got a request from the peripheral, and sometimes the peripheral was disabled before that last request.

Anyway, the baseband firmware should control the SGPIO, methinks, despite the impact on baseband code size.
This commit is contained in:
Jared Boone
2016-01-10 10:23:39 -08:00
parent 8fde4972b4
commit 0647f26707
6 changed files with 8 additions and 20 deletions

View File

@@ -43,8 +43,6 @@ void set_sampling_frequency(const uint32_t frequency);
void set_baseband_filter_bandwidth(const uint32_t bandwidth_minimum);
void set_baseband_decimation_by(const size_t n);
void streaming_enable();
void streaming_disable();
void disable();
extern rffc507x::RFFC507x first_if;