UART Issues
UART Issues
Hey guys,
Im trying to use the zigbee board and the rs232 board to get some data to the PC but im using the 16F88 and it only has one UART.How can i solve this problem?its for wireless data aquisition
Im trying to use the zigbee board and the rs232 board to get some data to the PC but im using the 16F88 and it only has one UART.How can i solve this problem?its for wireless data aquisition
-
- Valued Contributor
- Posts: 548
- Joined: Tue Jun 26, 2007 11:23 am
- Has thanked: 6 times
- Been thanked: 44 times
Re: UART Issues
Hello,
The Flowcode RS232 component can be used in hardware and software mode.
Software mode uses general purpose I/O and delays to create a bit-banged UART. The TX and RX pins are allocated in the component Connections panel.
Flow control and other properties are supported.
Multiple software RS232 components can be added to a flowchart, limited only by available I/O.
Zigbee will use the hardware UART by default. The RS232 board can be used with a software RS232 component.
The Flowcode RS232 component can be used in hardware and software mode.
Software mode uses general purpose I/O and delays to create a bit-banged UART. The TX and RX pins are allocated in the component Connections panel.
Flow control and other properties are supported.
Multiple software RS232 components can be added to a flowchart, limited only by available I/O.
Zigbee will use the hardware UART by default. The RS232 board can be used with a software RS232 component.
Re: UART Issues
hey
i tried to use the software TX/RX but didnt work..heres my program perhaps you can see whats wrong with it
i tried to use the software TX/RX but didnt work..heres my program perhaps you can see whats wrong with it
- Attachments
-
- Flowcode2.fcf
- (5 KiB) Downloaded 407 times
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: UART Issues
Hello,
Could you please post on the Flowcode V4 forums as the file you attached is a Flowcode V4 file.
Help on how to do this is available here:
http://www.matrixmultimedia.com/support ... f=29&t=602
Could you please post on the Flowcode V4 forums as the file you attached is a Flowcode V4 file.
Help on how to do this is available here:
http://www.matrixmultimedia.com/support ... f=29&t=602
-
- Valued Contributor
- Posts: 548
- Joined: Tue Jun 26, 2007 11:23 am
- Has thanked: 6 times
- Been thanked: 44 times
Re: UART Issues
I have downloaded your program to a 16F88 and it appears to be working.
The chip is configured correctly
The transmit signal can be seen on RA1 using an oscilloscope.
The correct text is displayed in Hyperterminal when transmitted via an EB015, RS232 E-block.
The chip is configured correctly
The transmit signal can be seen on RA1 using an oscilloscope.
The correct text is displayed in Hyperterminal when transmitted via an EB015, RS232 E-block.
Re: UART Issues
Hi,
I measured the voltage on the chip and get a 5v everytime i push the reset button but hyperterminal isnt displaing any text.It only displays text when i use the UART1 TX/RX setting
I measured the voltage on the chip and get a 5v everytime i push the reset button but hyperterminal isnt displaing any text.It only displays text when i use the UART1 TX/RX setting
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UART Issues
Hello,
Are you using the RS232 E-block? Could it be that the patch system is not set up correctly on the E-block to allow the signals to be routed through to the Max chip correctly. What jumper settings and patch wires are you using?
Are you using the RS232 E-block? Could it be that the patch system is not set up correctly on the E-block to allow the signals to be routed through to the Max chip correctly. What jumper settings and patch wires are you using?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UART Issues
Hello,
Jumper settings A and 2 will not work for your port A connections. Please refer to the last page of the EB015 device datasheet for settings on how to patch the signals across.
Basically for a non standard UART eg your software one you need to use jumper setting D and then use single core wire to pass the signals from your software UART pins to the RX and TX signals on the board. If you also need Flow control then you will have to do the same for these signals also.
Jumper settings A and 2 will not work for your port A connections. Please refer to the last page of the EB015 device datasheet for settings on how to patch the signals across.
Basically for a non standard UART eg your software one you need to use jumper setting D and then use single core wire to pass the signals from your software UART pins to the RX and TX signals on the board. If you also need Flow control then you will have to do the same for these signals also.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel