EmbeddedRelated.com
The 2024 Embedded Online Conference

Philips LPC UART & CAN baud rates with 1 XTAL

Started by StanV in comp.arch.embedded18 years ago 2 replies

Hi all, Anyone some advice or experience on calculating the Xtal freq for a LPC22xx ARM7. I just don't find a correct value to generate...

Hi all, Anyone some advice or experience on calculating the Xtal freq for a LPC22xx ARM7. I just don't find a correct value to generate stnadard UART baudrates (9600, 19200, 38400..) and standard CAN-bus speeds (125,250,500,1000) At this moment i have a 17.456MHz Xtal and this is working fine for the UART. For the CAN-bus, a multiple of 8Mhz should work fine. I tried to get to a...


MSP430, sigma-delta AD

Started by Boki in comp.arch.embedded18 years ago 4 replies

Dear All, Running on TI MSP430, a sigma-delta AD design, read a signal from UART RX, do SD AD, and then output to UART TX. Setup: UART is ...

Dear All, Running on TI MSP430, a sigma-delta AD design, read a signal from UART RX, do SD AD, and then output to UART TX. Setup: UART is 9620 baudrate. 1 bit Sigma-delta AD. Switched-capacitor input. load capacitor 14pF ( need to change? ) 1.2V reference voltage ( provided by internal ) Here is partial code: ///////////////////////////////////// ... unsigned int RXTXData,resul...


Issues on clockless uart

Started by Shashi in comp.arch.embedded20 years ago 12 replies

Hi, I'm doing a project in clockless uart..as u know that the primary function of uart is parallel to serial conversion while transmitting and...

Hi, I'm doing a project in clockless uart..as u know that the primary function of uart is parallel to serial conversion while transmitting and serial to paralel conversion while receiving..I was wondering if someone could tell me as how can i do a parallel to serial conversion and vice versa without using a clock. Note: This is a circuit whoch doesnt use a clock at all/ Asynchronous Circu...


Problem with RTS/CTS signal on Coldfire UART

Started by KKL in comp.arch.embedded17 years ago

Hi, I am developing a Interrupt driven UART driver for Coldfire 5208 and have problems with the flow control. I have configured the...

Hi, I am developing a Interrupt driven UART driver for Coldfire 5208 and have problems with the flow control. I have configured the UMR1[RXRTS] so that the my RTS goes automatically inactive when there is FIFO condition and becomes automatically active again when a postion in FIFO becomes active again. I did this because my UART driver receives the packets correctly with slower polling ...


Isolated UART communication

Started by Rohan in comp.arch.embedded17 years ago 10 replies

Hi All, I want suggestions about making high-speed opto-isolated UART communications between 1. Microcoltroller to Microcontroller at TTL...

Hi All, I want suggestions about making high-speed opto-isolated UART communications between 1. Microcoltroller to Microcontroller at TTL Levels. 2. RS232


Question on LCD control and UART.

Started by JY Kim in comp.arch.embedded17 years ago 1 reply

Hi. I have question on UART and LCD control. I have somehow implemented UART function and it seems to works. But there is a problem. odd...

Hi. I have question on UART and LCD control. I have somehow implemented UART function and it seems to works. But there is a problem. odd character is printed other than I have expected. I tried to print "\r\nStart of Root\r\n\r\nEnd of Root\r\n" But the following is printed -- ??  Start of Root }??  End of Root p -- I have no idea why this happens. Another question is o...


UART Emulation

Started by andyko74 in comp.arch.embedded15 years ago 1 reply

I am using an Atmel AT89C5132 and am connecting it through the USB bootloader to my computer. But I want to interpret the data as a...

I am using an Atmel AT89C5132 and am connecting it through the USB bootloader to my computer. But I want to interpret the data as a Serial input. I have heard you can use UART emulation (Communication Device Class). Where you can set the USB Class with a virtual COM port in Windows, and then can send/receive data using the Windows normal UART communication. Basically emulate the COM port using...


32 bit uart

Started by athulyapg in comp.arch.embedded16 years ago 12 replies

Hi Im trying to implement an 32bit Uart in cyclone 2 fpga(ep2c8t144). My requirements are as follows: speed: 9600bps In built fifo(depth 8)at...

Hi Im trying to implement an 32bit Uart in cyclone 2 fpga(ep2c8t144). My requirements are as follows: speed: 9600bps In built fifo(depth 8)at transmitter and receiver side. DMA and Modem controller not required. Can anyone help me with a vhdl code.


Software UART for WindowsXP

Started by Anonymous in comp.arch.embedded19 years ago 8 replies

Hello, I am trying to test a modem by pinging it with some data at 38400 baud using an 8N1 format over a serial RS232 link. I was wondering...

Hello, I am trying to test a modem by pinging it with some data at 38400 baud using an 8N1 format over a serial RS232 link. I was wondering if someone had code (for WinXp) for a software UART which will do the same. Any suggestions/ideas/comments on the same will be most welcome. Thanks, ~Tanmay Z.


Enabling Altera Avalon UART serial device driver

Started by S in comp.arch.embedded16 years ago 2 replies

Hi all, I'm trying to configure eCos and I have enabled the Hardware Serial Device Driver option. However the Altera Avalon UART serial...

Hi all, I'm trying to configure eCos and I have enabled the Hardware Serial Device Driver option. However the Altera Avalon UART serial device driver is grayed out. It means that the driver for this UART serial device is disabled, doesn't it? Any suggestions on how to enable this? Thanks in advance.


8051 - UART driver

Started by Prem in comp.arch.embedded19 years ago 4 replies

Hi Experts, I am looking for some UART driver resources as I work on Dallas DS89C450 chip? I need to work with > 1mbps in the serial interface?...

Hi Experts, I am looking for some UART driver resources as I work on Dallas DS89C450 chip? I need to work with > 1mbps in the serial interface? Any help would be appreciated..Thanks again PS


UART receive issue

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

Hello, I am facing an issue in UART receive. When i enable the receive enable bit in the control register, framming and break error bit...

Hello, I am facing an issue in UART receive. When i enable the receive enable bit in the control register, framming and break error bit interrupt is raised. I clear the error bit in ISR. Then whatever i transmit by my PC (hyperterminal) its not received by UART on the board. Note: Transmit from board to PC is working fine. Please suggest a solution of this issue. Thank you! Regards, M...


AT91M55800 UART interrupt + pdc, empty buffer

Started by Anonymous in comp.arch.embedded17 years ago 2 replies

I`m using AT91EB55 eval board. My interrupts rutines are based on functions which simply configure software buffers in order to store(by PDC)...

I`m using AT91EB55 eval board. My interrupts rutines are based on functions which simply configure software buffers in order to store(by PDC) there data from uart. If I put this functions(send_pdc(char *out_buff, int length) and recieve_pdc(char *in_buff, int length) ) into main function and send and receive some data then it works propertly but if i use receive function as a part of uart i...


UART protection

Started by Medic in comp.arch.embedded15 years ago 6 replies

I want to connect the UART of the micro (LPC2100) to a cell phone serial port. Both devices should probably have short circuit protection...

I want to connect the UART of the micro (LPC2100) to a cell phone serial port. Both devices should probably have short circuit protection but neither use +-15V true RS232 specs. Do I need a line driver chip between or is there a simpler (less cost/parts) way of making the connection? Thanks.


Problem MSP430 with free run and run

Started by jotoulon83 in comp.arch.embedded9 years ago

Hello, I work on an MSP430F2254 with a MSP-FETFlash Emulation Tool. My code UART don't work in run but in free run. MSP430F22x4 Demo -...

Hello, I work on an MSP430F2254 with a MSP-FETFlash Emulation Tool. My code UART don't work in run but in free run. MSP430F22x4 Demo - USCI_A0, Ultra-Low Pwr UART 9600 String, 32kHz ACLK Description: This program demonstrates a full-duplex 9600-baud UART using USCI_A0 and a 32kHz crystal. The program will wait in LPM3, and will respond to a received 'u' character usi...


SCC2692 UART

Started by Folkert van Heusden in comp.arch.embedded17 years ago 4 replies

Hi, As some of you may know from a previous post, I'm working on communicating with a SCC2692 UART connected to a 8051 processor. Now someone...

Hi, As some of you may know from a previous post, I'm working on communicating with a SCC2692 UART connected to a 8051 processor. Now someone told me that it is memory mapped at 0x8000 so that brings me a small step further. I tried configuring it as the documents describe but I get not a single bit over the line it seems (testing it with a connection to a pc with hyperterm). What I d...


Looking for advice on "9 bit" UART SBC

Started by alijsyed in comp.arch.embedded19 years ago 1 reply

I am looking for an SBC that has a "9 bit" UART. Are there any references or companies anyone can steer me towards. Thanks Ali

I am looking for an SBC that has a "9 bit" UART. Are there any references or companies anyone can steer me towards. Thanks Ali


SPI Uart MAX3110?

Started by Bo in comp.arch.embedded19 years ago 2 replies

I'm considering using the MAX3110E SPI uart on an 8051 SiLabs based design. Does anyone have or know where I might find some code to implement...

I'm considering using the MAX3110E SPI uart on an 8051 SiLabs based design. Does anyone have or know where I might find some code to implement this device? Alos any feedback from current users of this part--positive or negative? I need to run in interrupt mode as I have many devices in the system and can't waste any time polling.... Thanks, Bo


Problems with UART

Started by elsaximena in comp.arch.embedded19 years ago 2 replies

HI... I am programming with a MAVRIC II that uses the ATMEGA 128 but I connect GP2D12 infrarred sensor to the UART and I use the...

HI... I am programming with a MAVRIC II that uses the ATMEGA 128 but I connect GP2D12 infrarred sensor to the UART and I use the hyperterminal for see th output of the sensor but the only thing that I receive was: ??@}@@wp@}@pNstr@?????xw@????? What can I do??? The same thing happened with the srf04 ultrasoni sensor!!! I appreciate any help Thanks This message was sent us...


writing ISR for UART

Started by sohagiut in comp.arch.embedded16 years ago 26 replies

hy, i am not very expert in C. Can any one give me a sample example on ISR for UART.i am using MPLAB with c18. how to write IRQ in ISR. also how...

hy, i am not very expert in C. Can any one give me a sample example on ISR for UART.i am using MPLAB with c18. how to write IRQ in ISR. also how can i add "case" in side ISR? can any one give me any tips or any link. thanks in advance



The 2024 Embedded Online Conference