|
|
|
|
|
|
|
Re:DMA1Interrupt (1 viewing) (1) Guests
Favoured: 0
|
|
|
TOPIC: Re:DMA1Interrupt
|
|
|
|
DMA1Interrupt 3 Months, 2 Weeks ago
|
Karma: 0  
|
|
Following the info of Daniele Zadra I've added some functions to the ee_board.c file in order to work with the multibus card and the CAN bus.
For the CAN, a _DMA1Interrupt has been defined. The same function has been defined for the implementation of the USB communication in the new 1.4.3 release too. Now, I have a function defined twice! I commented the function of the USB, but this is not the right solution...
Roberto
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:DMA1Interrupt 3 Months, 2 Weeks ago
|
Karma: 4  
|
|
Hi Robi!
The problem is the following:
- the function _DMA1Interrupt is the DMA interrupt, which is the DMA used by Francesco for the SPI connection to the PIC18 of the Flex Full.
- Then, the file ...evidenceeeexamplespic30pic30_scicosconf_scicos.oil has the following lines BOARD_DATA = EE_FLEX { TYPE = DEMO { OPTIONS = ALL; }; }; "ALL" includes all the supports for the demo board... meaning... -also- the USB.
What you can do is the following:
Create a separate EE configuration that you can use to generate code. To do that, copy the directory
Evidence/examples/pic30/pic30_scicos
into
Evidence/examples/Robi/myconfiguration
Then change the ID in the template._xml_. The ID is the string that is then used into the FLEX codegen in scicos.
Then, change the BOARD_DATA section
BOARD_DATA = EE_FLEX { TYPE = MULTI { OPTIONS = ALL; }; };
to use the MULTIBUS daughter board (which is the one you are currently using for the CAN bus).
---
As a general comment, it is probably good to synchronize ourselves in using the DSpic resources. For that reason, I just created a Wiki page to track peripheral usage in the various FLEX boards...
Ciao!
PJ
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|
|
|
|
 |
Evidence S.r.l. - PIVA: 01638690501
Via Carducci 64/A - Ghezzano - Pisa - Italy
|
Privacy Policy
|
 |
|
|