Created Wed, 22 Jun 2011 21:04:01 +0000 by hairymnstr
Wed, 22 Jun 2011 21:04:01 +0000
I can't seem to find the appropriate header files to use the DMA controller on the Uno, anyone got any ideas, I just get a lot of errors like
'DCH0CON' was not declared in this scope
Thu, 23 Jun 2011 01:13:10 +0000
This will select the right cpu file for the one you are currently compiling.
Thu, 23 Jun 2011 09:58:52 +0000
I tried that and it didn't seem to work. I looked in the header file for the specific processor and the DCH0ECON, DCH0CON etc registers didn't seem to be declared. Are the header versions shipped with MPIDE fully featured or are there some features missing deliberately?
Also the datasheets make mention of a function VirtToPhys presumably to do with SFR remapping? Any idea where this is declared?
Thu, 23 Jun 2011 10:31:29 +0000
Turns out the Uno32 hasn't got a DMA controller, that's why it's not defined. :( that stops my cunning plans for the Uno. [url]http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en532434[/url]
Family PIC32MX3XX Max Speed MHz 80 Program Memory Size (KB) 128 RAM (KB) 16 DMA Channels 0 SPITM 2 I2CTM Compatible 2