- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tengo un problema con psoc 5 que conecta el puerto serie USB al scilab Agenda
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a Problem With psoc 5 That Connects the USB serial port scilab Agenda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume the code you are showing is on the scilab side of the design ?
Common problems serial links (PSOC is Host) -
1) Baud rate clock not set to correct baud in PSOC
2) Interface from PSOC is TTL, you have to have level shifter/translator like
MAX232 to interface to another RS232 device, like a PC, connected to
PSOC.
3) Global interrupts not enabled in PSOC.
4) Client side settings should include no flow control.
5) Null modem cable interconnect between host and client, eg. Rx to Tx, Tx to Rx
between host and client.
Set up a test where Host is Txing and look at signal lines with a scope to see if you
are getting ~ signal levels referenced to ground -
The RS-232 standard defines the voltage levels that correspond to logical one and logical zero levels for the data transmission and the control signal lines. Valid signals are either in the range of +3 to +15 volts or the range −3 to −15 volts with respect to the ground/common pin; consequently, the range between −3 to +3 volts is not a valid RS-232 level.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you send data but in string format but I want to vector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to make a serial communication of matlab and PSoC 5LP????If Yes how??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YES. I use scilab resembles Malab, only a Prgrm open sorce.
Communication to the library for serial communications (UART) can suction.