もっと今更、SC-88ProにS/PDIFを付けよう

Dependencies:   mbed

もっと今更、SC-88ProにS/PDIFを付けよう

STM32F103C8T6 ARM STM32 (blue pill)

  • モデル:STM32F103C8T6
  • コア:ARM 32 Cortex-M3 CPU
  • 72MHz頻度を作動させる
  • 64Kフラッシュメモリ、20K SRAM
  • 2.0-3.6Vパワー、I/O

というやつ。

/media/uploads/peu605/frontview.jpg

詳細はwikiの説明に

https://developer.mbed.org/users/peu605/code/DIT88proSTM32F1/wiki/説明

しまったなぁ、wikiのタイトル、漢字にしてしまったよ…

STM32F103C8T6, Roland, SC-88pro, S/PDIF, SPIDF, デジタル出力

Revision:
2:62c8aa0c38c7
Parent:
0:b3d998305b9d
Child:
3:bdac1803f0fd
--- a/dit88prostm32.h	Sat Sep 02 14:49:27 2017 +0000
+++ b/dit88prostm32.h	Mon Sep 04 16:54:24 2017 +0000
@@ -4,6 +4,10 @@
 #include "stm32f1xx_ll_spi.h"
 #include "stm32f1xx_ll_cortex.h"
 
+#include "stm32f1xx_ll_rcc.h"
+#include "stm32f1xx_ll_system.h"
+#include "stm32f1xx_ll_utils.h"
+
 /**
  * STM32F103C8T6 Blue Pill
  *
@@ -12,6 +16,7 @@
  *
  * @author masuda, Masuda Naika
  */
+ 
 
 // channel status consumer
 // byte0
@@ -84,4 +89,7 @@
 void setupPeripherals();
 void transferFrames();
 void transferFrame();
-void transferSubFrame(uint32_t frameIndex, bool aCh, uint16_t *rxBuffPtr, uint16_t *txBuffPtr);
\ No newline at end of file
+void transferSubFrame(uint32_t frameIndex, bool aCh, uint16_t *rxBuffPtr, uint16_t *txBuffPtr);
+void toBinary(uint16_t *val_ptr, char *str);
+void debugOut();
+void SystemClock_Config();
\ No newline at end of file