Initial I2C1 error

General discussion on mikroPascal for dsPIC30/33 and PIC24.
Post Reply
Author
Message
Rudy
Posts: 26
Joined: 24 Sep 2006 14:40

Initial I2C1 error

#1 Post by Rudy » 14 Jul 2008 02:54

Hallo All
I hope someone can help me
I use LV24-33 dev board with dsPIC33FJ128GP710, 10Mhz with PLL
I have problem when use I2C1_init()
When I start debugger then the error message show
Message No:E-3 ; Message Text: Identifier 'SSP1ADD' was not declared

what is SSP1ADD i search on dsPIC datasheets and mikroPascal help but not found

hope someone can help me soon.
thanks
rgds
Rudy :?:

Rudy
Posts: 26
Joined: 24 Sep 2006 14:40

#2 Post by Rudy » 19 Jul 2008 16:02

Hallo...
does anyone else have same problem with me...???
Hi ME team can you give me the solution....
I just try the procedure

Begin
i2c1_init(10000);
end.


but still error E3 " Indentifier 'SSP1ADD' was nt declared"

thanks

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#3 Post by yo2lio » 19 Jul 2008 18:00

Hello,

Use I2C_Init(100000) instead of I2C1_Init(100000), this for I2C 1 module.

Unfortunately you can not use I2C 2 module .... the same problem ....
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Rudy
Posts: 26
Joined: 24 Sep 2006 14:40

#4 Post by Rudy » 20 Jul 2008 06:20

yo2lio wrote:Hello,

Use I2C_Init(100000) instead of I2C1_Init(100000), this for I2C 1 module.

Unfortunately you can not use I2C 2 module .... the same problem ....
Hai yo2lio
thanks for your reply.
yes there is no problem with i2c_init.
but i2c1_init and i2c2_init problem

oke I'll wait ME team to solve this problem

Post Reply

Return to “mikroPascal for dsPIC30/33 and PIC24 General”