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を使う方はここから読み始めると良いでしょう。
Revision:
3:707608830793
Parent:
2:6613e62da521
Child:
14:bdf11487a94b
--- a/unzen_hal.cpp	Tue May 03 01:10:32 2016 +0000
+++ b/unzen_hal.cpp	Tue May 03 07:44:49 2016 +0000
@@ -146,9 +146,11 @@
     unsigned int hal_get_i2s_irq_priority_level(void)
     {
            // LPC4300 has 3 bits priority field. So, heighest is 0, lowest is 7.
-           // setting 1 as i2s irq priority allows, some other interrupts are higher 
+           // But CMSIS NVIC_SetPriority() inverse the priority of the interupt ( F**k! )
+           // So, 7 is heighest, 0 is lowerest in CMSIS.
+           // setting 6 as i2s irq priority allows, some other interrupts are higher 
            // and some others are lower than i2s irq priority.
-        return 1;
+        return 6;
     }
 
 
@@ -156,9 +158,11 @@
     unsigned int hal_get_process_irq_priority_level(void)
     {
            // LPC4300 has 3 bits priority field. So, heighest is 0, lowest is 7.
-           // setting 7 as process priority allows, some other interrupts are higher 
+           // But CMSIS NVIC_SetPriority() inverse the priority of the interupt ( S**t! )
+           // So, 7 is heighest, 0 is lowerest in CMSIS.
+           // setting 1 as process priority allows, some other interrupts are higher 
            // and some other interrupts are lower then process priority.
-        return 6;   
+        return 1;   
     }
  
         // LPC4337 transferes 2 workd ( left and right ) for each interrupt.