CS LOW - SCLK 시작 전에 미리 설정

- CS LOW 전체 폭 감소
- 샘플 간격 감소
This commit is contained in:
2026-06-19 12:01:44 +09:00
parent 543bb29ad2
commit 945e0a1cff
+1 -1
View File
@@ -111,9 +111,9 @@ static int echo_adc_capture_fast(uint16_t *samples, uint16_t num_samples)
for (uint16_t i = 0; i < num_samples; i++)
{
cs_port->OUTCLR = cs_mask;
spim->RXD.PTR = (uint32_t)&raw_capture[i * 2U];
spim->EVENTS_END = 0;
cs_port->OUTCLR = cs_mask;
spim->TASKS_START = 1;
/* 전송 완료 대기 */