Bug with SPI and dsPIC33FJ256GP710A

Moderator: Benj

Post Reply
Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Bug with SPI and dsPIC33FJ256GP710A

Post 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

Post Reply