Debug Speed of ETM Trace for Debugging IO

Started by Kvik in comp.arch.embedded7 years ago 2 replies

Hi I have an input pin that I suspect is pulled to the wrong state due to noise. I have no way to measure the pin since it's burried in...

Hi I have an input pin that I suspect is pulled to the wrong state due to noise. I have no way to measure the pin since it's burried in inner layers of the PCB The pin frequency is max 100kHz and I have input filtering (derived from the CPU clock frequency) on the pin so I know the frequency is lower than about 10MHz So I have two ways forward: 1: Make a loop to capture the input p...


Time Stuff

Started by George in comp.arch.embedded15 years ago 8 replies

In Time.h there is a structure defined for time settings. I'm building an embedded system that has a Real Time Clock but it's not...

In Time.h there is a structure defined for time settings. I'm building an embedded system that has a Real Time Clock but it's not PC compatible. My question is: I don't some elements of the structure such as day of the week or day of the year, but I do know year,month,date,hour,min,sec. Does the language support filling in the missing elements. And is there a consistency check for th...


SD Card question?

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

Hello to anyone! I'm designing SD host controller core and I have some question to someone who known about it. I've made SD controller with 1...

Hello to anyone! I'm designing SD host controller core and I have some question to someone who known about it. I've made SD controller with 1 bit data line and I want to make 4 bit data line interface with SD, but all the same after sending to SD Card ACMD6, data received by 1 wire. I'm doing next: (wait for 90 clock) -> CMD0 -> CMD55 -> ACMD41 (with repeate) -> CMD2 -> CMD3 -> ->


How a micro-controller programmer works

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

Hi, Could someone describe to me how a microcontroller programmer can program a microchip, using RS232 signals. Taking a simple JDM programmer...

Hi, Could someone describe to me how a microcontroller programmer can program a microchip, using RS232 signals. Taking a simple JDM programmer to program a PIC16C84, I don't understand how RTS and CTS signals, which are onnected to data and clock pins (RB6 and RB7, if I am right!) can send program to the chip. I am confused ! I wanted to simulate the JDM circuit (using PSPice) to figure how the...


Problem with SMBus

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

We have a problem with an SMBus connection. Both signals clock and data are stuck low on the slave side. the slave is a PIC16C. We tend to...

We have a problem with an SMBus connection. Both signals clock and data are stuck low on the slave side. the slave is a PIC16C. We tend to exclude a software problem on the slave since all I2C status bits are tested and some of the functionalities of the PIC are still available. We think that this is a problem with the PIC I2C Hardware. It occurs randomly and can be reproduced by injecting...


PIC/RTC MT41T81 interfacing

Started by Steve in comp.arch.embedded13 years ago

I'm designing a PIC clock circuit using the ST I2C interfaced RTC part MT41T81, and have found the datasheet a bit brief. I've had no...

I'm designing a PIC clock circuit using the ST I2C interfaced RTC part MT41T81, and have found the datasheet a bit brief. I've had no luck finding example code, which would make things a lot easier from a newcomer perspective. I want to code a PIC read/write of the RTC registers in Microchip C18, and any example code in this language would be really useful, though I would find an assembler ...


pic tmr0 question

Started by TestUser12 in comp.arch.embedded12 years ago

Hi, There is a PIC16C620A microcontroller which is running at 16MHz. In which time intervals starts the TMR0 interrupt routine? I mean...

Hi, There is a PIC16C620A microcontroller which is running at 16MHz. In which time intervals starts the TMR0 interrupt routine? I mean to 12.5us, but Im not sure. Here is a part of the program TMR0_RELOAD equ 215 ;reload value for tmr0 .... movlw b'11011111' ;tmr0 clock is internal, prescaler -> wdt movwf OPTION_REG ..... movlw TMR0_RELOAD ;initialize tmr0 movwf TMR0 movlw


FM0 (bi-phase space) decoding!

Started by Ali in comp.arch.embedded14 years ago 37 replies

Hey everyOne! I'm having problems to decode the FM0 [ http://www.grantronics.com.au/serialformats.html ] data , the...

Hey everyOne! I'm having problems to decode the FM0 [ http://www.grantronics.com.au/serialformats.html ] data , the data rate is 40 kbps and my atmega16 is using 16 Mhz clock. MCU = atmega16 CPUclk = 16 Mhz Prescaler Value = 8 Datarate = 40 kbps Bit rate = 25 micro second I have tried to use external interrupt pin for one edge and as well as for both edges ...


Any idea of minimum safe pixel clock for an 800x600 TFT LCD?

Started by Josh Lowe in comp.arch.embedded16 years ago 13 replies

Howdy all, I'm an undergraduate Computer Systems Engineering student in Western Australia, and need, as part of my final year to project, to...

Howdy all, I'm an undergraduate Computer Systems Engineering student in Western Australia, and need, as part of my final year to project, to interface a 12.1" 800x600 TFT (Toshiba LTM12C275C)to either a C6711 DSP or a Mitsubishi M16C micro. I'm finding the thought of interfacing the display to the DSP more elegant conceptually, but altogether more scary in terms of implementation, larg...


1V regulator run from a single NiMH battery

Started by Anonymous in comp.arch.embedded8 years ago 6 replies

I need to supply a 1V to a the real time clock section of a Atmel AT91SAM9G20 at 9uA. This has a min input of 0.9V and a max of 1.1. I would...

I need to supply a 1V to a the real time clock section of a Atmel AT91SAM9G20 at 9uA. This has a min input of 0.9V and a max of 1.1. I would like to use a single NiMH battery which has a max output of 1.4V. My problem is that most linear regulators use a 1.23V reference so I am not sure what happens to the output voltage when the battery voltage drops to 1.2V. Can anybody offer any advice or ...


Questions regarding the SAA7105 / SAA7108 / SAA7109 encoder

Started by Anonymous in comp.arch.embedded11 years ago 1 reply

Hi, I'm currently using the SAA7108AE IC from NXP (Philips) for a video decoding and encoding application. The decoding part works well...

Hi, I'm currently using the SAA7108AE IC from NXP (Philips) for a video decoding and encoding application. The decoding part works well so there's no problem on this side. However, I have trouble making the encoder work. The encoder part of the SAA7108AE is pretty much the same as the SAA7105 (which is an encoder only). Input to the encoder : ITU 656 stream (8 bits). 27 MHz clock Outp...


WOW, 32-bit ARM flash controller for $1.47 from Philips

Started by An Schwob in the USA in comp.arch.embedded14 years ago 5 replies

Hi everybody, The LPC2000 forum on Yahoo http://groups.yahoo.com/group/lpc2000/ had a posting today that I consider a huge step towards having...

Hi everybody, The LPC2000 forum on Yahoo http://groups.yahoo.com/group/lpc2000/ had a posting today that I consider a huge step towards having 32-bit micros in almost all applications. An ARM7 device running a stunning 70 MHz starting at $1.47! It has strong communication features such as two 16550 compatible UARTS, 1 SPI, 1 SSP, 2 I2C, 8-channel 10-bit ADC and a Real Time Clock that can b...


problem with 89c51RD2 "SPI" !

Started by Meysam Peykanu in comp.arch.embedded15 years ago 2 replies

Hi everyone, I have problem with serial perioheral interface SPI of 89c51rd2. It simply doesn't output anything. no clock no data! I had...

Hi everyone, I have problem with serial perioheral interface SPI of 89c51rd2. It simply doesn't output anything. no clock no data! I had checked the system with atmel example code too. no effect:( The chip has a register for the SPI status and it shows collision even when I haven't send any data to the transmit register. It also shows inapprapriate level of /SS and /SS deasserted although I ...


What application requires 500MHz for embedded processors

Started by jade in comp.arch.embedded14 years ago 38 replies

ARM 11 and MIPS 24K both provides clock rate up to 500MHz or even 550MHz. That's an incredible high frequence and thus very high...

ARM 11 and MIPS 24K both provides clock rate up to 500MHz or even 550MHz. That's an incredible high frequence and thus very high performance. But I wonder what kind of application requires such high frequence? I think handheld product will NOT carry server level application. A 200MHz should be enough for most application run on mobile products. Any idea? Thanks. Jade.


Timing Measurement of PPC processor

Started by anwar_pc in comp.arch.embedded11 years ago 2 replies

Hi, I'm running VxWorks Os on a MPC 8323 processor. The VxWorks timers are based on the OS ticks (several mili seconds), but I need a way...

Hi, I'm running VxWorks Os on a MPC 8323 processor. The VxWorks timers are based on the OS ticks (several mili seconds), but I need a way to measure small time intervals of micro seconds.Is there a Real Time clock register to read, or a cotinueosly running counter register to calculate the interval time from it? Thanks Anwar


Problem with A/D

Started by Dado in comp.arch.embedded14 years ago 8 replies

Hello, I have problem with .C programming! (Working with Code Vision for AVR). I have set up one PCF8591 on I2C BUS. Can You help me with...

Hello, I have problem with .C programming! (Working with Code Vision for AVR). I have set up one PCF8591 on I2C BUS. Can You help me with code, where I m doing wrong? Chip type : ATmega8515 Program type : Application Clock frequency : 4,000000 MHz Memory model : Small External SRAM size : 0 Data Stack size : 128 Communication parameters: 9600 8N1 [RS232 SPARE header] [PORT...


Real-time graphics display Windows or Linux

Started by Sarah Michael in comp.arch.embedded15 years ago 10 replies

Hi All, I want to display the real-time data using OpenGL and is woundering if Windows 2000 Pro on PIV is good enough for such task. The...

Hi All, I want to display the real-time data using OpenGL and is woundering if Windows 2000 Pro on PIV is good enough for such task. The uptime required for the system is 1000 hours. Once I read somewhere that there is a conflict between windows internal colck and CPU that causes a need for reboot the system. Due to this clock synchronization problem W2K machine have to be rebooted af...


SD memory protocol timing issue

Started by himassk in comp.arch.embedded14 years ago 1 reply

Hi, In SD memory Physical layer specification Version 1.10 written that: Reference to Page no 75, Fig 25 Identification Timing: The timing...

Hi, In SD memory Physical layer specification Version 1.10 written that: Reference to Page no 75, Fig 25 Identification Timing: The timing for CMD2 and ACMD41 is: The command is followed by a period of two Z bits (allowing time for direction switching on the bus) and then by P bits pushed up by the responding card. The card response to the host command starts after NID clock cycles. (NI...


i2c repeater

Started by Nadav in comp.arch.embedded15 years ago 16 replies

Hi, I wanted to implement an i2c repeater in software. Actually, Not a complete i2c but only one master to one slave repeater. I thought...

Hi, I wanted to implement an i2c repeater in software. Actually, Not a complete i2c but only one master to one slave repeater. I thought I can use a microcontroller and connect two I/Os to the master and 2 more to the slave in open drain fasion. So I need to reflect the clock from the master to the slave and the data to/from the master from/to the slave, depending on the direction. I thoug...


Zilog Z8S180 problems - solved

Started by Mike Harding in comp.arch.embedded15 years ago 6 replies

Zilog Z8S180 problems - solved Some of you may recall that about 3 weeks ago I posted...

Zilog Z8S180 problems - solved Some of you may recall that about 3 weeks ago I posted the following: ------------------------------------------------------------------- I seem to be unable to access the new registers on the Zilog Z8S180 CPU, things like the Clock Multiplier register, the additional DMA register etc. When I try to write to these registers my writes seem to be ignored and...