- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help me please, I want to send my own data to audio, I'm working with this code without results, ....
# include "sdram_to_audio.h"# define sram_base 0x01080000# define timer_base 0x01100000# define leds_base 0x1100060 int count=0; volatile int * audio_ptr = (int *) 0x01100050; // audio port long audiobuf[128]; int data[2]={9991000,987672000}; int main() { while (1) { *(audio_ptr + 2) = data[count]; *(audio_ptr + 3) = data[count]; count=count+1; if (count>=1)count=0; } } I test Audio core with other code samples (mic to spk) and it works fine. What can I do to send my own data to spk ??? :confused:Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page