First Publish. Works fine.
Dependents: unzen_sample_nucleo_f746 unzen_delay_sample_nucleo_f746 skeleton_unzen_nucleo_f746 ifmag_noise_canceller ... more
Nucleo F746ZG用のオーディオ・フレームワークです。フレームワーク地震の詳細は『雲仙』オーディオ・フレームワークを参照してください。
参考リンク
- skeleton_unzen_nucleo_f746 Nucleo F746ZGおよびUI基板を使う場合のスケルトンプログラム。F746を使う方はここから読み始めると良いでしょう。
Diff: unzen_hal.h
- Revision:
- 1:9710fb328a08
- Parent:
- 0:5ac19c994288
- Child:
- 2:6613e62da521
--- a/unzen_hal.h Sun Apr 10 12:37:10 2016 +0000 +++ b/unzen_hal.h Tue Apr 12 05:51:45 2016 +0000 @@ -9,10 +9,19 @@ // By this HAL, the I2S have to become : // - slave mode // - clock must be ready - // - pins must be configured. // - Interrupt enable. void hal_i2s_setup(); + // configure the pins of I2S and then, wait for WS. + // This waiting is important to avoid the delay between TX and RX. + // The HAL API will wait for the WS changes from left to right then return. + // The procesure is : + // 1. configure all pin as GPIO + // 2. wait the WS + // 3. configure all pin as I2S + void hal_i2s_pin_config_and_wait_ws(); + + // Start I2S transfer. Interrupt starts void hal_i2s_start();