8 output pins to RS232 UART/USB

Started by Niek in comp.arch.embedded16 years ago 5 replies

Hello, Does somebody know if there is a chip with 8 input ports to send 1 byte parallel and then automatically sends the byte out by USB...

Hello, Does somebody know if there is a chip with 8 input ports to send 1 byte parallel and then automatically sends the byte out by USB (first choice) or by RS232?? My problem is that I need 3 com-ports on my microcontroller and my processor (zilog Z8S180) only has 2!!! I have an 1 byte output register that I am not using so I thought maby I can use it in this way.... Can somebody he...


MAX3100 - no FIFO overflow status bit? Any other SPI/UART?

Started by Bill Davy in comp.arch.embedded14 years ago 2 replies

As far as I can tell from the specification, the Maxim MAX3100 can lose bytes if the FIFO overflows and the softwarae cannot detect that this...

As far as I can tell from the specification, the Maxim MAX3100 can lose bytes if the FIFO overflows and the softwarae cannot detect that this has happened. Of course, the software should be quick enough, but real life is full of nasty surprises. The CRC should detect it, but see earlier remark. I have to hook a PIC16F876 to a Cypress 8051 using the debug ports (so no CTS or RTS wires)...


AT91SAM9263

Started by Patelbaroda in comp.arch.embedded12 years ago

I am thinking to work with it with following interface and features, - BT.656 NTSC video (16 bit 4:2:2 format 720x486) connected to...

I am thinking to work with it with following interface and features, - BT.656 NTSC video (16 bit 4:2:2 format 720x486) connected to Image sensor input. - LCD with touch screen 7" size with 640x480 16 bpp. - 100 mbps etherent with traffic some what few mbps. - two UART ports with 115.2 kbps and data some what in range of 100 Kbps on each of them for sensors and other stuff. - Want to hav...


AT91RM9200 - PLL's - Main CLK

Started by Pelo...@ Home in comp.arch.embedded14 years ago 3 replies

Hi, I'm going to fire-up my RM9200 board. I see that CPU is sending letter (but not XModem "CCCCC") on DBG-UART. The problem is that CPU is...

Hi, I'm going to fire-up my RM9200 board. I see that CPU is sending letter (but not XModem "CCCCC") on DBG-UART. The problem is that CPU is doing it to fast - one bit of that char tooks about 4,56us - I'm thinking that something wrong is with PLL. Can somebody be so kind and measure for me the amplitude on 18,432MHz crystal pins and the voltage on PLL-RCA and PLL-RCB pins ? thanks a lo...


Aysch 2400 protocol suggestions

Started by Joseph Goldburg in comp.arch.embedded16 years ago 1 reply

Hi all, I will be sending data over a NBFM (Narrow Band FM) link up to 2400 baud.... Most Likely 2 level FSK. I am looking for suggestions...

Hi all, I will be sending data over a NBFM (Narrow Band FM) link up to 2400 baud.... Most Likely 2 level FSK. I am looking for suggestions for the encoding and decoding of the data.. ............ EG Manchester, Varying Pulse width, POCSAG, Staardard serial UART N,8,1, Caller ID style, SNAP The data payload will be a 10 to 20 bytes. What would you suggest for the encoding /...


USART design consideration

Started by tguclu in comp.arch.embedded13 years ago 6 replies

Hi everyone ,i'm new to group. In my project i need to use 3xUSART ports in order to build a SDLC network. USART ports will function as the phy...

Hi everyone ,i'm new to group. In my project i need to use 3xUSART ports in order to build a SDLC network. USART ports will function as the phy of SDLC as V.24 Anyway , this is not the point. Each USART will work at 64kbps. So there is a network traffic of almost 192 kps. The problem ise my cpu board doesn't have 2x UART but no USART port so i have use a microcontroller with at least 3xUS...


Re: why doesn't serial interrupt work on my standalone x86 program?

Started by Gary Kato in comp.arch.embedded15 years ago

> i want to write a function that is performed when a data is available > on the serial port but with interrupt, without polling the...

> i want to write a function that is performed when a data is available > on the serial port but with interrupt, without polling the uart You'll have to read up on your compiler to find out how to declare your function as an interrupt routine. I'm afraid there is no standard way of doing it. You need to specify the function as an interrupt service routine so that the registers are saved/resto


MCU + USB

Started by Mochuelo in comp.arch.embedded14 years ago 14 replies

Hi, I don't know if there is a better group to ask about USB. I want to create a device that will communicate with a PC via USB. I prefer...

Hi, I don't know if there is a better group to ask about USB. I want to create a device that will communicate with a PC via USB. I prefer USB to RS232 because I plan to power the device from the USB supply. I guess I have (at least) two options: 1) I use an MCU with integrated USB interface. 2) I use any MCU, plus an FTDI FT232R (USB-UART device), or equivalent. Option 2 makes pro...


C struct Alignement avr-gcc / Linux

Started by Martial Chateauvieux in comp.arch.embedded16 years ago 3 replies

Hi, I am building a small GUI on Linux to enter paramters for control loops runnning on an ATMega128. As the protocol is bi-directionnal I...

Hi, I am building a small GUI on Linux to enter paramters for control loops runnning on an ATMega128. As the protocol is bi-directionnal I thought I could use the same C functions on both sides to serialize/deserialize the data. The way I send the data over the UART is that I just copy byte per byte the struct containing the data. Unfortunately, the alignement on the PC is different...


serial port access for smdk2410

Started by sowmya in comp.arch.embedded13 years ago 1 reply

I have written an ARM920t assembly code for serial port access on smdk2410 board. I have compiled it using arm-elf-gcc which does not require...

I have written an ARM920t assembly code for serial port access on smdk2410 board. I have compiled it using arm-elf-gcc which does not require any underlying OS. How can I Port it directly to the RAM to make it executing without any bootloader or OS present. And also do I need to make any hardware initialization prior to initializing the UART.


RS485 over optical fiber cable

Started by pozz in comp.arch.embedded2 years ago 32 replies

I'd like to replace an electrical cable with a fiber cable, mainly for electromagnetic noise immunity and long distance (I need to reach...

I'd like to replace an electrical cable with a fiber cable, mainly for electromagnetic noise immunity and long distance (I need to reach 500m). The bitrate will be very low: 9600bps is ok. I need to keep the cost low as possible. I never used fiber cables before. In similar applications I used RS485 transceivers connected to the UART peripheral of an MCU. I think I need a fiber optic c...


Overclocking a PIC 18F252

Started by Wim in comp.arch.embedded16 years ago 1 reply

I was wondering how fast I can run a 18F252 processor. Some time ago I wrote a small very-low cost "Software Logic Analyser" utility (on a PC)...

I was wondering how fast I can run a 18F252 processor. Some time ago I wrote a small very-low cost "Software Logic Analyser" utility (on a PC) which uses a pic processor as the "capture device". The PIC sampled the channels in an interrupt service routine and if a change was detected on one of its inputs an event was places in a ringbuffer. Using on-board UART the events were transmitted...


Header file for M32C/M16C

Started by Habib Bouaziz-Viallet in comp.arch.embedded13 years ago 15 replies

Hi all, I'm seeking about header C file for M32C/M16C internal ressources (UART's, SSC, SPI, ... etc registers definition). I guess there are...

Hi all, I'm seeking about header C file for M32C/M16C internal ressources (UART's, SSC, SPI, ... etc registers definition). I guess there are some common reg and bits definition over M32C/M16C family. Thx, Habib.


OT, sorry, simple Windoze GUI

Started by martin griffith in comp.arch.embedded15 years ago 23 replies

I've got a little 8051 project, in C that does very simple things eg wait for Uart read ADC add offset from eeprom load DAC stuff a string...

I've got a little 8051 project, in C that does very simple things eg wait for Uart read ADC add offset from eeprom load DAC stuff a string into a LCD Nothing complicated. (I'm really an analogue guy at heart, just doing a bit of 8051 C when required) But I'm getting fed up with using windoze terminal or even procomm to set up some eeprom values. I've just loaded microsoft VB6 lea...


Lantronix Xport - Parsing a HTML-Page

Started by Anonymous in comp.arch.embedded13 years ago

Hi everyone, I am seeking a solution for loading a HTML-Page as a string into an Atmel 8-Bit microcontroller. My suggestion would be to use a...

Hi everyone, I am seeking a solution for loading a HTML-Page as a string into an Atmel 8-Bit microcontroller. My suggestion would be to use a Lantronix XPort, which is connected by UART to the =B5C. Before I only used the XPort for opening a serial connection to a PC with a special SerialPort Driver from Lantronix. But what I want to do now ist to interact with a HTML-File in the Network a...


Serial driver implementation questions

Started by joshc in comp.arch.embedded14 years ago 2 replies

I'm implementing a serial transmit driver for a micro that isn't running an RTOS and I have some form of an implementation working but I'd like...

I'm implementing a serial transmit driver for a micro that isn't running an RTOS and I have some form of an implementation working but I'd like some advice on it. Just a note, the function "getc" is a bit confusing here because it isn't for received characters but rather is a way for the UART empty ISR to get characters to send out. Here's the pseudocode for my implementation: char txBuffe...


LPC1102, World's smallest 32-bit ARM MCU in a 5mm2 pckg

Started by An Schwob in the USA in comp.arch.embedded10 years ago 11 replies

Hi, ever heard about a 32-bit microcontroller this tiny? I am familiar with the Silabs devices that are available in similar packages but this...

Hi, ever heard about a 32-bit microcontroller this tiny? I am familiar with the Silabs devices that are available in similar packages but this time it is an ARM Cortex-M0 and it has more I/O and memory than I thought. 10-bit ADC, 4 timers, UART, SPI, 32K Flash and 8K SRAM, really not bad for such a grain of silicon. Check it out. http://www.mcu-related.com An Schwob


embedded video?

Started by Bob Stephens in comp.arch.embedded16 years ago 3 replies

I need to generate simple NTSC composite video text as a last minute feature on an 8051 based embedded project. I have found some...

I need to generate simple NTSC composite video text as a last minute feature on an 8051 based embedded project. I have found some software examples but they really chew up CPU time. Does anyone know of a one chip solution for generating black and white video? I'm picturing something like a "video UART" which you could spit ascii characters at and let it generate the composite video, sync etc....


CubeMX or not?

Started by pozz in comp.arch.embedded6 months ago 13 replies

I worked with NXP Cortex-M3 LPC1768 and similar and Microchip/Atmel SAM D20/C21. I didn't like Atmel Software Framework so I extracted a buch...

I worked with NXP Cortex-M3 LPC1768 and similar and Microchip/Atmel SAM D20/C21. I didn't like Atmel Software Framework so I extracted a buch of low-level files from ASF (mainly headers to manipulate registers) and rewrite the high-level drivers for peripherals I used (UART, ADC, Timers, ...) It wasn't a simple task, I spent many days to understand what ASF really do, decide what to ...


Infinite loop in PSOS_INIT()

Started by Arun R in comp.arch.embedded16 years ago 5 replies

Hi, Problem Summary: While executing the BSP code for our target board (on ARMulator, an ARM instruction set simulator) the processor goes...

Hi, Problem Summary: While executing the BSP code for our target board (on ARMulator, an ARM instruction set simulator) the processor goes into an infinite loop at PSOS_INIT(). We have no clue as to why this happens. Please read below for more details. Thank-you! Details: We are using ARMulator to simulate a system that has an ARM946ES processor, a UART connected to a Keyboard, an Inte...