Page 1 of 1

Bug with SPI and dsPIC33FJ256GP710A

Posted: Wed Nov 16, 2011 6:36 pm
by Mathy
Hello,

I'm trying to use SPI with flowcode for PIC24 and dsPIC but I have lots of troubles.

You can see in my others post the problem I have with 24FJ family. With 33FJ256GP710A, Flowcode doesn't compile correctly :

33.c: In function 'FCD_SPI_Legacy0_SPI_Init':
33.c:418: error: 'SPI1CON' undeclared (first use in this function)
33.c:418: error: (Each undeclared identifier is reported only once
33.c:418: error: for each function it appears in.)
33.c:419: error: 'SPI1CONbits' undeclared (first use in this function)
33.c: In function 'FCD_SPI_Legacy0_FramOutput':
33.c:576: warning: implicit declaration of function 'SPI_Byte'

Error returned from [pic30-gcc.exe]

Can you fix this problem quickly because your software becomes unusable for me.
The most important is to fix my 24FJ256 problem with SPI who compile but nothing happen.

Thank you for your time