| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| benoitstjean 
 
 
 Joined: 30 Oct 2007
 Posts: 590
 Location: Ottawa, Ontario, Canada
 
 
			    
 
 | 
			
				| PIC24EP - I2S Audio how-to? [CLOSED] |  
				|  Posted: Wed Nov 03, 2021 3:15 pm |   |  
				| 
 |  
				| Compiler: 5.026 Device: PIC24EP512GP806
 
 Hi guys,
 
 Anyone attempted to use I2S audio on a PIC24EP506GPxxx device? It appears to have an I2S "interface" (DCI) but the main datasheet does not appear to have much info on I2S...
 
 Thanks,
 
 Ben
 
 Last edited by benoitstjean on Sat Nov 06, 2021 3:03 pm; edited 1 time in total
 |  | 
	
		|  | 
	
		| newguy 
 
 
 Joined: 24 Jun 2004
 Posts: 1924
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Wed Nov 03, 2021 5:52 pm |   |  
				| 
 |  
				| You want the DCI document in that family's FRM (family reference manual), document number 70356. 
 Go to the Microchip site, search for your processor, and go to its page. Scroll down to the Documentation portion. Click the Document Category title once. The DCI document is on page 3, 5th one down (of 6).
 
 The data sheet is intentionally vague; the FRM has way more information.
 |  | 
	
		|  | 
	
		| Ttelmah 
 
 
 Joined: 11 Mar 2010
 Posts: 19966
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Nov 04, 2021 12:39 am |   |  
				| 
 |  
				| It's also worth saying that the manual stuff for this is found under DCI, not I2S. It is the DCI interface that handles this, so if you look under
 'setup_dci' in the manual you will find the stuff involving this, including a
 'DCI overview' that shows how this has to be setup.
 The only supplied example using this is for audio input as part of the FFT
 example.
 Not a thing I have played with, but looked at it when coming across
 chips offering this ability.
 |  | 
	
		|  | 
	
		| benoitstjean 
 
 
 Joined: 30 Oct 2007
 Posts: 590
 Location: Ottawa, Ontario, Canada
 
 
			    
 
 |  | 
	
		|  | 
	
		|  |