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.embedded12 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.embedded15 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.embedded12 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.embedded8 months 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.embedded15 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.embedded12 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.embedded14 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.embedded12 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.embedded13 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.embedded9 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.embedded15 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....


Infinite loop in PSOS_INIT()

Started by Arun R in comp.arch.embedded15 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...


MPC5200 baud rate frequency

Started by Didi in comp.arch.embedded12 years ago 2 replies

I have a Freescale MPC5200 board I designed a while ago which comes out of reset (I am writing the flash with a debug monitor which has served...

I have a Freescale MPC5200 board I designed a while ago which comes out of reset (I am writing the flash with a debug monitor which has served me over the years - I wrote it first for the 68020, then I made a CPU32 version, then an MPC8240 version etc...), and the monitor says something through the UART (I use PSC_6). But the baud rate is totally off the mark. I made the other system ...


Home Development Kit and Example SW Project.

Started by Dan in comp.arch.embedded15 years ago 4 replies

Hi, I am currently looking to advance my embedded development skills and would like to develop some software at home... Can anybody suggest...

Hi, I am currently looking to advance my embedded development skills and would like to develop some software at home... Can anybody suggest a development kit that I could use for home development - Such as a microprocessor with peripheral support such as a UART, RAM, possibly FLASH etc... I would also like the device to program the microprocessor. Preferably it would support C/C++ and ...


Problem w serial comms ATmega128 <-> PC

Started by A. Drosos in comp.arch.embedded14 years ago 6 replies

Problem with serial communications between ATmega128 and PC I have used WinAVR and Peter Fleury's interrupt controlled uart...

Problem with serial communications between ATmega128 and PC I have used WinAVR and Peter Fleury's interrupt controlled uart library successfully in the past with the STK500 board and the AT90S8515 and ATmega16 devices. Moving on to a bigger project I purchased the STK501 board with an ATmega128. Connecting it to the STK500 I can program the device with the default xmas_tree_leds_flashing ...


Improving RFID reader throughput!

Started by Ali in comp.arch.embedded13 years ago 8 replies

Folks, I'm doing performance measurements on our MCU based RFID reader. The very problem I'm facing is redundancy of tag ID (say...

Folks, I'm doing performance measurements on our MCU based RFID reader. The very problem I'm facing is redundancy of tag ID (say 12 bytes) transmission, every time my MCU receives a tag ID; will just push that ID to UART without any prior knowledge of that it is sending the same ID again and again. (Due to poor designs of RFID tag protocols single tag can response its ID repeate...


Looking for USB host chip with PCIe

Started by Allan Herriman in comp.arch.embedded9 years ago 2 replies

Hi, I'm finding it hard to locate a suitable device for a new design of mine. The hypothetical part would be a PCI Express endpoint (x1, rev...

Hi, I'm finding it hard to locate a suitable device for a new design of mine. The hypothetical part would be a PCI Express endpoint (x1, rev 1 or rev 2) to two host ports of UsB2. I've looked at: - Renesas/NEC ?PD720200 (2xUSB3) - PLX OXPCIe200 (2xUSB2+UART+GPIO) - Pericom PI7C9X442SL (4xUSB2) - Moschip MCS9990 (4xUSB2+GPIO) These would all do the job, however they are either