Hello Ben,
I am using 33FJ32MC204 and it has remappable peripherals. I am using Flowcode 6.0.7
It is not possible to remap the TX and RX pins in hardware channel.
When I try another dsPIC33 I can remap the TX and RX pins.
Search found 23 matches
- Thu Apr 10, 2014 2:06 pm
- Forum: Flowcode V6
- Topic: Change RS232 connection on a dspic33
- Replies: 3
- Views: 2538
- Tue Apr 08, 2014 3:43 pm
- Forum: Flowcode V6
- Topic: Change RS232 connection on a dspic33
- Replies: 3
- Views: 2538
Change RS232 connection on a dspic33
Hello Ben,
How can I connect the Tx from the RS232 to another port on a dspic33. The Tx is now connected to portB.6 and I want to connect it to portB.9
I am using V6.
Thanks, Marcel
How can I connect the Tx from the RS232 to another port on a dspic33. The Tx is now connected to portB.6 and I want to connect it to portB.9
I am using V6.
Thanks, Marcel
- Thu Sep 06, 2012 11:14 am
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello Ben, The RXint2 is working like I suspect. So that problem is solved. But the next problem is already there. I like to use a timer interrupt to sample a signal on my AD pin. But this interrupt routine seem to have the same problem. In simulation it works fine but in the PIC it doesn’t work at ...
- Tue Sep 04, 2012 12:19 pm
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello Ben,
YES, now the interrupt on RXINT2 is working. I need now further testing.
Thanks for your help so far.
YES, now the interrupt on RXINT2 is working. I need now further testing.
Thanks for your help so far.
- Tue Sep 04, 2012 10:29 am
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello,
I have test the program but the interrupt will not start. Is there a possibility to test the interrupt?
Is it possible to give an interrupt on RX2 instead of RX1?
Thanks, Marcel
I have test the program but the interrupt will not start. Is there a possibility to test the interrupt?
Is it possible to give an interrupt on RX2 instead of RX1?
Thanks, Marcel
- Fri Aug 31, 2012 2:44 pm
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello Ben,
I'am still struggling with this, the program is not working.
Do I need to fill in a return value in the component macro UART 2 Receive Byte ?
I have attached the new program.
I'am still struggling with this, the program is not working.
Do I need to fill in a return value in the component macro UART 2 Receive Byte ?
I have attached the new program.
- Thu Aug 30, 2012 3:21 pm
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello Ben,
At the end of the c code there is this warning "This interrupt has previously been enabled, so the macro <rx_uart> may never get called."
At the end of the c code there is this warning "This interrupt has previously been enabled, so the macro <rx_uart> may never get called."
- Thu Aug 30, 2012 1:50 pm
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello Ben,
If I move the sendRS232 macro into the next while loop, I receive nothing.
I have attached the program and the C file.
If I move the sendRS232 macro into the next while loop, I receive nothing.
I have attached the program and the C file.
- Thu Aug 30, 2012 12:29 pm
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello,
In your example I have the 5 sec. delay replaced by the UART-1 for transmitting data, I read data by UART-2.
I only receive 00 00 ...... 00
I think the interrupt will not start, it's not working. Maybe you could help me.
Thank you.
In your example I have the 5 sec. delay replaced by the UART-1 for transmitting data, I read data by UART-2.
I only receive 00 00 ...... 00
I think the interrupt will not start, it's not working. Maybe you could help me.
Thank you.
- Mon Aug 27, 2012 3:22 pm
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Re: Receive on UART 2 and send at UART 1
Hello Ben,
I have put your cicular-buffer v5 in v4, but it will not work. Maybe I'm doing something wrong.
I have attached the program. Could you please look whats going wrong.
Kind Regards.
I have put your cicular-buffer v5 in v4, but it will not work. Maybe I'm doing something wrong.
I have attached the program. Could you please look whats going wrong.
Kind Regards.
- Fri Aug 24, 2012 1:09 pm
- Forum: Flowcode V4
- Topic: Receive on UART 2 and send at UART 1
- Replies: 13
- Views: 8375
Receive on UART 2 and send at UART 1
Hello, I’m facing a problem with reading data from a serial sensor and sending the received data through. with a serial bluetooth module. I’m using a PIC 18f6722 and Flowcode V4. I connect UART 1 at a bluetooth device and UART 2 at the serial sensor. The sensor send continually data. It sends 3 pack...
- Mon Dec 19, 2011 10:06 am
- Forum: E-blocks
- Topic: Another Bluetooth module
- Replies: 1
- Views: 2522
Another Bluetooth module
Hello,
I have a LinkMatik bluetooth module from FlexiPanel. How can I set up this module as a generic serial communication bus, same as the Ezurio bluetooth module. Can I program it with the example 1 program from the bluetooth bundle ?
Kind Regards, Marcel
I have a LinkMatik bluetooth module from FlexiPanel. How can I set up this module as a generic serial communication bus, same as the Ezurio bluetooth module. Can I program it with the example 1 program from the bluetooth bundle ?
Kind Regards, Marcel
- Mon Dec 12, 2011 10:08 am
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Hello,
Thanks Ben now it's clear. But.....If I have a variable of type Byte, why do I see in the RS232 Macro: Return value: (INT).
Thank you, kind regards.
Thanks Ben now it's clear. But.....If I have a variable of type Byte, why do I see in the RS232 Macro: Return value: (INT).
Thank you, kind regards.
- Thu Dec 08, 2011 12:31 pm
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Hi Ben,
In my program I make a calculation: income = Idx. Do I also change Idx in a INT type variable ? It's now a Byte type variable.
Thanks.
In my program I make a calculation: income = Idx. Do I also change Idx in a INT type variable ? It's now a Byte type variable.
Thanks.
- Thu Dec 08, 2011 12:03 pm
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Hello Steve,
Do you mean char receive type "Int" and the data bits remains 8 ?
In the decision box should I fill : income <= 255 ?
Thanks.
Do you mean char receive type "Int" and the data bits remains 8 ?
In the decision box should I fill : income <= 255 ?
Thanks.
- Wed Dec 07, 2011 3:27 pm
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Hi Nicolas,
The program is working now, Also when I program it. Thank you very much for your help.
I have another question, I would also like to receive hex number FF (255)
In the decision box I fill in: income <= 255. It works but is it allowed?
The program is working now, Also when I program it. Thank you very much for your help.
I have another question, I would also like to receive hex number FF (255)
In the decision box I fill in: income <= 255. It works but is it allowed?
- Tue Dec 06, 2011 1:05 pm
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Hi Nicolas,
Thanks for looking at my code. I have add the while loop, but it would not work.
When I simulate it, its going wrong at the decision box. Also when I program it I see nothing.
I have attached the new program. Could you please look whats going wrong, Thanks.
Thanks for looking at my code. I have add the while loop, but it would not work.
When I simulate it, its going wrong at the decision box. Also when I program it I see nothing.
I have attached the new program. Could you please look whats going wrong, Thanks.
- Mon Dec 05, 2011 12:47 pm
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Thank you very much for responce.
I have tried it but I don't know how to implement it in my program. Maybe you could help me.
Thank you, kind regards
I have tried it but I don't know how to implement it in my program. Maybe you could help me.
Thank you, kind regards
- Fri Dec 02, 2011 11:15 am
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Hello Ben, With this program I have attached I can receive and sent the hex numbers that are comes from my sensor. But I receive a lots of data that I do not all needed. The problem is I only need the first 15 bytes when byte[2] has the hex number 81 or 83 or 87. I am still struggling with this and ...
- Tue Nov 29, 2011 5:02 pm
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Hello Ben,
I now have a program that shows de Hex numbers of my sensor. I would like to read this data (in Hex) and stores into an array. Is it possible to stores the Hex numbers into an array ? And how could I received(send) Hex number FF ?
Kind Regards.
I now have a program that shows de Hex numbers of my sensor. I would like to read this data (in Hex) and stores into an array. Is it possible to stores the Hex numbers into an array ? And how could I received(send) Hex number FF ?
Kind Regards.
- Fri Nov 25, 2011 12:22 pm
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Re: Read Hex numbers to RS232
Thanks Ben,
Do I need the incoming RecieveRS232Char change to RecieveRS232String ?
Kind Regards.
Do I need the incoming RecieveRS232Char change to RecieveRS232String ?
Kind Regards.
- Fri Nov 25, 2011 11:06 am
- Forum: E-blocks
- Topic: Read Hex numbers to RS232
- Replies: 20
- Views: 15631
Read Hex numbers to RS232
Hello,
I have a uC with 2 uarts. I have a sensor and this sensor send HEX numbers to the RS232 (Tx,Rx) input.
How can I see these HEX numbers on my PC with hyperterminal ? I see only the ASCII codes on my PC.
Thanks, Marcel
I have a uC with 2 uarts. I have a sensor and this sensor send HEX numbers to the RS232 (Tx,Rx) input.
How can I see these HEX numbers on my PC with hyperterminal ? I see only the ASCII codes on my PC.
Thanks, Marcel
- Wed Aug 24, 2011 2:11 pm
- Forum: E-blocks
- Topic: Programming 64 pin PIC
- Replies: 1
- Views: 2656
Programming 64 pin PIC
Hello,
How can I programming a 64 pin PIC ( QFN ). I have a EB006 multiprogrammer.
Kind Regards,
Marcel
How can I programming a 64 pin PIC ( QFN ). I have a EB006 multiprogrammer.
Kind Regards,
Marcel