I am trying to see how it works the vnc1l component of ftdi.
I already managed to send data through the uart pic and that's fine.
Now I'm trying to receive data and I can not.
I made a simple echo circuit as the manual where I send an E (0X45) and a carriage return. It should have 69 decimal = E ascii and 13 decimal = CR ascii.Porem I always have on the display 2 values first 21 in decimal and after 43 in decimal.
Can anybody help me?
Thankful;
Ricardo.
help with uart communication and component vnc1l
Moderator: Benj
Re: help with uart communication and component vnc1l
file anex
- Attachments
-
- PEN2.fcfx
- (13.06 KiB) Downloaded 207 times
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: help with uart communication and component vnc1l
Hi
Looking at your Flowchart briefly ,It seams your Receive pin is not connected -The UART Component need to have its RX pin connected as in the case of the TX pin
I already managed to send data through the uart pic and that's fine.
Now I'm trying to receive data and I can not.
Looking at your Flowchart briefly ,It seams your Receive pin is not connected -The UART Component need to have its RX pin connected as in the case of the TX pin
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
Re: help with uart communication and component vnc1l
Hi Qmesar;
Grateful for the attention.
I am sending the file again.
When I open my Flowcode v7 the connections are normal.
TX connected to pin. 2 and RX connected to the pin.
"Errors" happen in the same way as I have described above.
I think rx had not called him, he would not get a reply.I'm attaching the file again for you to see.
Thankful;
Ricardo
Grateful for the attention.
I am sending the file again.
When I open my Flowcode v7 the connections are normal.
TX connected to pin. 2 and RX connected to the pin.
"Errors" happen in the same way as I have described above.
I think rx had not called him, he would not get a reply.I'm attaching the file again for you to see.
Thankful;
Ricardo
- Attachments
-
- PEN2.fcfx
- (13.07 KiB) Downloaded 199 times
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: help with uart communication and component vnc1l
Hi.
I never worked with the VNC1 ,so more help I am not able to offer ,However I would have thought that you need to connect the HW UART
to pins on the VNC1 chip, I only now saw you use Software UART ,
I hope some of the guys here who worked with VNC1 can help you
Good luck
I never worked with the VNC1 ,so more help I am not able to offer ,However I would have thought that you need to connect the HW UART
to pins on the VNC1 chip, I only now saw you use Software UART ,
I hope some of the guys here who worked with VNC1 can help you
Good luck
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: help with uart communication and component vnc1l
Peter is correct with what he is saying on all counts.
You have got RX connection on your flowchart unconnected!
Also, for you to reliably received from vnc1l, you should used RS232 hardware not software.
Also use RS232 interrupt (UART RXINT x) otherwise you will miss the data being received.
Martin
You have got RX connection on your flowchart unconnected!
Also, for you to reliably received from vnc1l, you should used RS232 hardware not software.
Also use RS232 interrupt (UART RXINT x) otherwise you will miss the data being received.
Martin
Martin
Re: help with uart communication and component vnc1l
Hi Martin,QMESAR;
All right?
I changed the MCU by one by one 33fj256gp710 that when I open the properties panel there are 2 channels uart hardware, and I used one of the channels.
It worked. I showed in the display 62 decimal> ascii and 13 decimal CR ascii.
But I have to use the MCU 33ep512mu810. When I open the properties panel of this MCU does not appear any hardware uart channel only the software option. What are the pins of this MCU that are hardware uart channels since it does not appear in the properties panel.
Would you help me?
Thankful;
Ricardo.
All right?
I changed the MCU by one by one 33fj256gp710 that when I open the properties panel there are 2 channels uart hardware, and I used one of the channels.
It worked. I showed in the display 62 decimal> ascii and 13 decimal CR ascii.
But I have to use the MCU 33ep512mu810. When I open the properties panel of this MCU does not appear any hardware uart channel only the software option. What are the pins of this MCU that are hardware uart channels since it does not appear in the properties panel.
Would you help me?
Thankful;
Ricardo.
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: help with uart communication and component vnc1l
Hi Ricardo,
there must be something wrong with your FlowCode installation or something as when I select the MU810 I have Software and 4 UART Channels plus remap able see attched
there must be something wrong with your FlowCode installation or something as when I select the MU810 I have Software and 4 UART Channels plus remap able see attched
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR