Dual RS232

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
kunibabina
Posts: 11
Joined: Thu Sep 16, 2010 12:00 am
Contact:

Dual RS232

Post by kunibabina »

Is Flowcode V3 capable of running Dual RS232 ? I mean, in some cases for example interfacing GPS(serial) and GSM(serial) to the PIC requires two RS232 which PIC doesnot have(except PIC24 and dsPIC). In such cases, how Flowcode will help ? One way is to use one Serial Port and use I/O Pins for the other. Can PIC be programmed using Flowcode in this way ? If no, what is the solution ?

User avatar
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: Dual RS232

Post by Benj »

Hello,

Some of the newer 16F and 18F devices do have 2 UARTs and therefore you can use the code customisation feature in V4 to control which UART you are talking to with a specific component. We are working to improve this so you can select your peripheral on a component basis. The RS232 component in v4 already has this functionality.

If you want to do this in V3 then you will have to manually edit the specific component code file to reference a second UART.

Post Reply