EmbeddedRelated.com
Memfault Beyond the Launch

Need Help !!! USB device configuration

Started by nik in comp.arch.embedded15 years ago 2 replies

Hello All, I am a newbie to USB programming and trying to build up communication between LPC2368 (the slave device) and the PC(the host). I...

Hello All, I am a newbie to USB programming and trying to build up communication between LPC2368 (the slave device) and the PC(the host). I am looking for the exact algorithm, although generalized, to setup this communication. Till now, i have done the following : 1. Connect USB clock 2. Initialize USB device interrupt. 3. Initialize Endpoint interrupt. 4. Realize Endpoint 0...


8051 and a C switch statement

Started by Martin Griffith in comp.arch.embedded16 years ago 11 replies

Got a 4k8 serial biphase signal being decoded by a at85c52 with an external non retrig monostable (hc221), and I'm running out of...

Got a 4k8 serial biphase signal being decoded by a at85c52 with an external non retrig monostable (hc221), and I'm running out of time occasionally waiting for the generic 2*8 LCD to clear it's busy flag. The LCD is fed with the info from the incoming biphase To reduce the "reaction time" I could use a long switch statement on the signal's clock interrupt bitcount from the sync word, 80...


PLL Lock detector

Started by Anonymous in comp.arch.embedded18 years ago 3 replies

Hi All, I have a register that name is "PLL Lock detector" I think it is a register representing the PLL locks the clock yet or not, am I...

Hi All, I have a register that name is "PLL Lock detector" I think it is a register representing the PLL locks the clock yet or not, am I right? and we use PLL to lock frequency, how other things know the PLL lock yet or not? detect its variation value? Thank you very much! BR/ Boki.


Flash write issue

Started by sail...@gmail.com in comp.arch.embedded19 years ago 11 replies

Hi all guys, I am requested to add some time-clock information in flash, to indicate how long the device is used by end-user. user can read...

Hi all guys, I am requested to add some time-clock information in flash, to indicate how long the device is used by end-user. user can read but have no power to change it. I have some puzzles about flash write issue. 1. Can I write a part of flash unit(i.e. 16 bytes) instead of one sector? 2. Can I do write operation for not 0xff content(not erase before write)? 3. Write/erase f...


Puzzling power results STM32F4 FPU test

Started by Mark Borgerson in comp.arch.embedded11 years ago 17 replies

In a recent thread Jon Kirwan and I were discussing FPUs and power consumption. I decided to try some real world tests on an STM32F4...

In a recent thread Jon Kirwan and I were discussing FPUs and power consumption. I decided to try some real world tests on an STM32F4 Discovery board. After a few tests in the ChiBios RTOS, where I discovered that you can save a lot of power by doing floating point math with the FPU and shutting off the CPU clock in the idle process, I decided to try to measure the power using software a...


QPSK Demodulator for DVB-S2

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

Hi, I am building QPSK demodulator on FPGA. I am basically performing demodulation with the help of Costas loop. My QPSK Digital...

Hi, I am building QPSK demodulator on FPGA. I am basically performing demodulation with the help of Costas loop. My QPSK Digital Demodulator should have following features: 1)It should adhere with DVB-S, DVB-S2 Standard. 2)It should perform carrier phase recovery and clock recovery. I have the following querries: 1)Costas loop need Sine/Cosine table for multiplication with the...


ARM7TDMI Instructions Taking 50-100 Clocks

Started by Alex Varanese in comp.arch.embedded20 years ago 3 replies

I'm running an Atmel ARM7TDMI on a prototype board I wire-wrapped and am monitoring the system with an oscilloscope. By comparing the...

I'm running an Atmel ARM7TDMI on a prototype board I wire-wrapped and am monitoring the system with an oscilloscope. By comparing the clock pulses to the read/write pulses, I'm finding that single-byte store and read operations are taking literally 50-100 clocks. Naturally this is unacceptable for any purpose, and is obviously a sign of something being majorly wrong. I've read all the literat...


Siemens Mc75 hangs on pin code, ideas?

Started by Anonymous in comp.arch.embedded18 years ago 3 replies

Hi there! I have a problem with my siemens Mc75 modem. The thing is that everyting is working on the development board. When i try the same...

Hi there! I have a problem with my siemens Mc75 modem. The thing is that everyting is working on the development board. When i try the same code with the nessesary changes tha modem appears to hang when i enter pin code. Every AT command exept AT+CPIN=8822 works and replies correct data. But CPIN anwers nothing. We have seen on orchiloscope that there is a clock signal to the sim, but it sto...


looking for single-board computer with SPI slave port

Started by Jason S in comp.arch.embedded18 years ago 7 replies

I am looking for a reputable single-board computer or development board kit that has these features. any suggestions? * can act as a SPI...

I am looking for a reputable single-board computer or development board kit that has these features. any suggestions? * can act as a SPI (synchronous serial port) slave with clock frequency anywhere in the 5-12MHz range & has some kind of FIFO (so I don't have to handle an interrupt for each incoming byte/word). This is the most important requirement & I'm having a hard time finding docs on...


GPIO pin low after bitwise operation

Started by Harayasu in comp.arch.embedded18 years ago 3 replies

Hello, On the CPLD which I am using I have a chip attached, via an I2C connection. This chip I control via my software driver. I now...

Hello, On the CPLD which I am using I have a chip attached, via an I2C connection. This chip I control via my software driver. I now see something strange thing. When I set the clock-line, then the data-line goes low in case I do this with the following line of C-code: port |= MASK_SCL; But, when I apply the following C-code everyting goes fine: mirror |= MASK_SCL; port = mirror; ...


PIC vs AVR vs ARM

Started by Miem in comp.arch.embedded17 years ago 58 replies

Hi All, As an amateur embedded circuit player, I have used couple of AVR and PIC microcontrollers in the past. In these days it is not to...

Hi All, As an amateur embedded circuit player, I have used couple of AVR and PIC microcontrollers in the past. In these days it is not to hard to find small, ARM based ready to use embedded boards under $100. They seems to have faster clock speed then most of the AVR and PIC boards. Can anybody shortly compare ARM with PIC ad AVR interms of (a) performance (b) software support (c) pr...


microcontroller AT89S52 programing advice

Started by bromio in comp.arch.embedded18 years ago 5 replies

im required to make a digital clock , i made several codes using iteration for delay which give not perfect delay. So i want to have suggestion...

im required to make a digital clock , i made several codes using iteration for delay which give not perfect delay. So i want to have suggestion about how to use timer interrupts to have perfect 1 sec delay each time. ive written code please see am i using interrupts correctly.. #include #include unsigned char LED[10]={0x3F,0x06,0x5B,0x4F,0x66,0x6D,125,0x07,0x7F,111};


interrupt latency

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

Just a generic question regarding interrupt latency. I am using a periodic timer which generates an interrupt at every clock tick. The question...

Just a generic question regarding interrupt latency. I am using a periodic timer which generates an interrupt at every clock tick. The question I have is will the interrupt latency cause the timer interrupt service routine to run at a reduced frequency. What I mean here is as follows. Consider a simple isr routine as shown below, void isr() { t = timestamp(); } Assume the above ...


Short blocking delay in Cortex-M0+

Started by pozz in comp.arch.embedded7 years ago 23 replies

During startup, I need a short and not precise delay, before configuring clocks, timers and other peripherals (at startup the CPU runs with...

During startup, I need a short and not precise delay, before configuring clocks, timers and other peripherals (at startup the CPU runs with internal clock). What do you suggest? I think there's a simpler method than configuring a hardware timer. I need to check the status of an input pin, *after* enabling internal pull-up. I'd like to introduce a short delay after enabling internal ...


DDR SDRAM with Xilinx Virtex 2 on self designed PCB

Started by Elmo in comp.arch.embedded19 years ago 3 replies

Hello, last week I started the development and design of a PCB with an FPGA (Xilinx Virtex 2) and two DDR-SDRAMs in parallel. No big deal, I...

Hello, last week I started the development and design of a PCB with an FPGA (Xilinx Virtex 2) and two DDR-SDRAMs in parallel. No big deal, I thought, keeping in mind the most obvious design rules, i.e. combining the adress lines and separating the data and strobe (DQS) lines. But now I came across the many other signals there are, e.g. the clock signals, S0 and S1, CAS, RAS, WE, etc. My fi...


Speeding up a "for" loop (8051)

Started by Martin Griffith in comp.arch.embedded16 years ago 25 replies

I'm trying to feed a 7seg LEDdriver bit bashing a STP08C05 and with a 11.059M clock it takes about 180uS. Any way to speed it up, (and I am...

I'm trying to feed a 7seg LEDdriver bit bashing a STP08C05 and with a 11.059M clock it takes about 180uS. Any way to speed it up, (and I am going up to 24Mhz xtal) ? void Led7(char time) { char buff,i; bit SDI; buff=seg7[time]; for(i=0; i > 1;


H8/3867 Synchronous Uart False Clocks...

Started by Paul Hackney in comp.arch.embedded20 years ago 2 replies

Does anybody know how to reset an H8 /3867 synchronous uart when it is part way through receiving a data byte? I have tried toggling the RE bit,...

Does anybody know how to reset an H8 /3867 synchronous uart when it is part way through receiving a data byte? I have tried toggling the RE bit, apparently to no avail. I believe that noise may be causing a false clock so that the uart clocks in the first bit. Some period later, the real data is sent and the uart will raise RDRF after 7 bits have been received. One protection against this ...


Using opencores I2S as master

Started by cbr in comp.arch.embedded17 years ago

Sorry for the cross postings but I really need help. I'm trying to use the Opencores I2S master logic as the driver for my test platform to...

Sorry for the cross postings but I really need help. I'm trying to use the Opencores I2S master logic as the driver for my test platform to generate test audio signals. The core came configured with SCK = 2.77 MHz and WS(left/right clock)= 69.44 KHz. I would like to be able to reconfigure the core to generate SCK=3.07MHz and WS=48 KHz. I played around with the conf variable but co...


porgramming for thermal dot line printer

Started by tamilmaran s in comp.arch.embedded19 years ago 4 replies

hi, I am in troubel to write a driver program for thermal dot line printer head. i don't know ,how to send the data of different font to this...

hi, I am in troubel to write a driver program for thermal dot line printer head. i don't know ,how to send the data of different font to this printer head. If any come accross these work, please help me. They are using Atmel processor.There are six primary leads on the head. they are thermistor, clock,data,latch,strobe1, strobe2. I want to know , how the data format is. My advance thanks f...


Micro with DMA output engine?

Started by larwe in comp.arch.embedded18 years ago 38 replies

I'm looking for a micro that I can use to do semi-software-based video output. Pixel clock would be ~5.7MHz or ~11.5MHz, I'd prefer the...

I'm looking for a micro that I can use to do semi-software-based video output. Pixel clock would be ~5.7MHz or ~11.5MHz, I'd prefer the higher rate but would settle for the lower. So I'm looking for something with ~64K of RAM and a DMA engine that can output bytes without CPU intervention. I'd generate the sync pulses in software and use the DMA engine to reduce the CPU load on actually ou...



Memfault Beyond the Launch