Search found 15 matches

by Adrien DG
Mon Jun 14, 2010 10:53 am
Forum: Flowcode V4
Topic: Receive RS232 string
Replies: 11
Views: 6825

Re: Receive RS232 string

Thank you so much BenJ,
I'll try this !!
by Adrien DG
Mon Jun 14, 2010 9:29 am
Forum: Flowcode V4
Topic: Receive RS232 string
Replies: 11
Views: 6825

Re: Receive RS232 string

Hello BenJ,
thank you, that runs very well,
but now, I've another question ...
How can I program an Interrupt on the Rx pin ? Using the RXINT ??

Thank you in advance
by Adrien DG
Thu May 27, 2010 10:35 am
Forum: Flowcode V4
Topic: Receive RS232 string
Replies: 11
Views: 6825

Re: Receive RS232 string

Hello BenJ,
Yes I've seen a French Manual about flowcode, and I saw in it the use of this function

Look at my example,
If I send a "A", and I compare with a "A", I always receive a False
For sure I don't have understood one thing.
by Adrien DG
Thu May 27, 2010 6:10 am
Forum: Flowcode V4
Topic: Receive RS232 string
Replies: 11
Views: 6825

Re: Receive RS232 string

Hello,
I come back to you for my problem of RS232 receive string

I receive a string for example : " TEST "
If the string I receive is "TEST", I send a value, for example 10000
else I send an ERROR message.

I've used the compare() fonction in string manipulation block, but that don't runs ...
by Adrien DG
Fri May 07, 2010 9:17 am
Forum: Flowcode V4
Topic: Receive RS232 string
Replies: 11
Views: 6825

Re: Receive RS232 string

Ok, I've seen it !
Thank you !!
by Adrien DG
Fri May 07, 2010 6:30 am
Forum: Flowcode V4
Topic: Receive RS232 string
Replies: 11
Views: 6825

Receive RS232 string

Good morning !!
I'd like to receive a string from RS232, but I don't understand what kind of parameters I've to put in the RS232 routine
Example,
If I receive the string "COMPTEUR" from RS232, i send the value of a variable by RS232
Thanks you for your help
by Adrien DG
Fri Jan 29, 2010 12:00 pm
Forum: Flowcode V4
Topic: SPI DEVICES
Replies: 5
Views: 4267

Re: SPI DEVICES

Hello !!
Yes I know that, but I don't understand why I always see this 'Z' when I put a GET CHAR in my slave program.
by Adrien DG
Fri Jan 29, 2010 7:25 am
Forum: Flowcode V4
Topic: SPI DEVICES
Replies: 5
Views: 4267

Re: SPI DEVICES

I've just one other question ...

For the SPI I want to send an OPCOD and then to receive an information from the slave
Why when I place a SPI GET CHAR I have a sending information from the master to the slave
This message is 0x90 which means 'Z'
I don't understand !!
by Adrien DG
Thu Jan 28, 2010 7:47 pm
Forum: Flowcode V4
Topic: SPI DEVICES
Replies: 5
Views: 4267

Re: SPI DEVICES

Hello Ben, thank you for your response !!
So I've already customized my code to set a PIC in Master, and another in Slave, but i've still a conflict with the clock,

I'll try to do this tomorrow

Regards

Adrien DG
by Adrien DG
Thu Jan 28, 2010 2:40 pm
Forum: Flowcode V4
Topic: SPI DEVICES
Replies: 5
Views: 4267

SPI DEVICES

Hello All !

I'd like realize a communication between 2 PIC 16F877A
I want to know how can I set one of them as a Master and the other as Slave ?
It's very important for me to understand this...
I've tried to set the slave's clock in idle_high (polarity) but i always have a conflict between the ...
by Adrien DG
Tue Dec 22, 2009 1:24 pm
Forum: Flowcode V4
Topic: variable initialisation
Replies: 2
Views: 2527

Re: variable initialisation

That runs, thank you so much http://smileys.sur-la-toile.com/repository/Content/0059.gif http://smileys.sur-la-toile.com/repository/Content/0059.gif

I have learned that at school but i have forgoted it. Now i'll remember that !!

Merry Christmas at all and happy new year !!! http://smileys.sur-la ...
by Adrien DG
Tue Dec 22, 2009 12:08 pm
Forum: Flowcode V4
Topic: variable initialisation
Replies: 2
Views: 2527

variable initialisation

Hello All !

i'm always working on a PIC - CPLD project, with SPI communication
I have to initialize an "unsigned long time = 0" variable in a macro, but i have a problem...
There is a while loop in my program, so it's always executed and i need to use this variable 'time',
but when i wrote ...
by Adrien DG
Fri Dec 11, 2009 1:05 pm
Forum: Flowcode V2 & V3
Topic: SPI on Flowcode
Replies: 4
Views: 5936

Re: SPI on Flowcode

The SPI communication runs as we expect !!
I can send and receive 32 bits words !!!
Thank you very much one more time !!!

Regards,
Adrien DG
by Adrien DG
Thu Dec 10, 2009 11:40 am
Forum: Flowcode V2 & V3
Topic: SPI on Flowcode
Replies: 4
Views: 5936

Re: SPI on Flowcode

Oh, thank you,
I will try that !
I have to do an Ethernet communication, for the same project,
Can I do this with Flowcode ?

Regards,
Adrien
France
by Adrien DG
Thu Dec 10, 2009 7:46 am
Forum: Flowcode V2 & V3
Topic: SPI on Flowcode
Replies: 4
Views: 5936

SPI on Flowcode

Good Morning !!
First Excuse me for my english.

I'm working on a project, and I have to realize a communication between a PIC 16F877A and a CPLD in SPI transmission.
The problem is :
The CPLD send a binary code in 32 bits, but the PIC is a 8bits one.
How can I do to cut the 32 bits word in 4 8bits ...