"SLEEP" Mode repetition

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

Hi All! I have a PIC16f877a. I want to work with the device mainly in sleep, wake on RB change, do some stuff (say led blink) and go back to...

Hi All! I have a PIC16f877a. I want to work with the device mainly in sleep, wake on RB change, do some stuff (say led blink) and go back to sleep. This code works fine if i put the blink code in the ISR. How do i use this code in the main program in C? I tried :- main() { // initialization of interrupts etc... s1 :asm("SLEEP"); asm("NOP"); RE0=0x1; delay(); a fn. for 1s delay ...


Driving a led without a series resistor (PWM technique)

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

Hi, I'm designing a board where the microcontroller is supposed to drive 10 red leds and 4 optocouplers. I would like to drive the leds and...

Hi, I'm designing a board where the microcontroller is supposed to drive 10 red leds and 4 optocouplers. I would like to drive the leds and the opto's without a series resistor using the PWM technique. I made some experiments and all seems to work fine in the lab. 1. The supply voltage is 3.3 Volt 2. The microcontroller is an ARM7 by NXP (LPC2387) 3. In DC, the microcontroller's GPIO...


microcontroller AT89S52 programing advice

Started by bromio in comp.arch.embedded13 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};


Startup problems, Olimex LPC-L2294

Started by Bruce Varley in comp.arch.embedded6 years ago 3 replies

I have a straight out of the box Olimex Arm-7 board, plugged into a just purchased Segger J-link JTAG adaptor. On powering up, the host software...

I have a straight out of the box Olimex Arm-7 board, plugged into a just purchased Segger J-link JTAG adaptor. On powering up, the host software can't detect the target, the LED on the JTAG modules is orange. I posted this on the Segger forum, and the advice was that the Olimex board was in reset. I then posted this back on the Olimex forum and have not received any responses in a week. ...


Limiting slew rate (PIC driving LEDs)

Started by Jim in comp.arch.embedded16 years ago 22 replies

I'm driving three 7-segment LED displays (Agilent HDSP-7801) from a PIC16LF819 at 3.3V. I'm Charlieplexing the LEDs to minimize PIC pin...

I'm driving three 7-segment LED displays (Agilent HDSP-7801) from a PIC16LF819 at 3.3V. I'm Charlieplexing the LEDs to minimize PIC pin count: http://www.maxim-ic.com/appnotes.cfm/appnote_number/1880 The PIC sets the drive lines to make one of the digits display. After 1ms it moves on to the next digit, etc. I would like to limit the skew rates of the drive lines to minimise EMI. I know ...


Error in compiling mpc5500 init_code project

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

I was compiling the mpc5500 init_code project from FreeScale on my MPC5566 evaluation board. I am using FreeScale code warrior 5.9.0 for...

I was compiling the mpc5500 init_code project from FreeScale on my MPC5566 evaluation board. I am using FreeScale code warrior 5.9.0 for compilation. But, I got the following error message. "Relocation (10) of symbol 'cfg_mpc5500ccd' in '__start.o' is out of range. (1073741964 not in range [-33554432..33554428])" I am a beginner in this. My idea is to run a simple LED blinking code and execut...


Is termination needed for short and slow RS485?

Started by mrsoft99 in comp.arch.embedded15 years ago 11 replies

We are running some led billboard displays using a multi-drop 2-wire RS485 network. The cable length is 50 feet; the baud rate is 2400...

We are running some led billboard displays using a multi-drop 2-wire RS485 network. The cable length is 50 feet; the baud rate is 2400 baud. Are RS485 terminators really needed for this? I know they are needed for 'long' cables and 'fast' baud rates, but does 50 feet at 2400 baud qualify for this? And yes the reason I am asking is there are some problems with some of the displays. (If...


Version errors with Crossworks, ARM-7 target

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

I'm just getting started with ARM. I use protoboards that host an LPC2138 ARM-7. My toolchain is Crossworks / J-link, I've set up a project with...

I'm just getting started with ARM. I use protoboards that host an LPC2138 ARM-7. My toolchain is Crossworks / J-link, I've set up a project with a demo test file that's supplied with the protoboard, a trivial LED flasher in C. It's the only file in the project, and as a supplied demo it will be error-free. The build gives the following errors: Source object ARM flash Debug/crt0 has EABI ve...


Bootloader - erase flash memory

Started by Thomas Baier in comp.arch.embedded15 years ago 5 replies

Hi there, I've got a C164CI and I have to write a bootloader in assembly to load my Hex-Files into the Flash memory. I've got a 32-Byte...

Hi there, I've got a C164CI and I have to write a bootloader in assembly to load my Hex-Files into the Flash memory. I've got a 32-Byte primary loop that loads another loop, refered to as secondary loop, which should load the main prog and write it into the flash memory. Everything seems to work fine, as I've inserted some LED controll codes, and the code seems to work, but when I've finsh...


Tutorials for STM8 and MCS-51 development using the Small Device C Compiler for various boards

Started by Philipp Klaus Krause in comp.arch.embedded3 years ago

Based on my experience in getting started with various STM8 and MCS-51 boards, I wrote a few simple tutorials to help others. They use...

Based on my experience in getting started with various STM8 and MCS-51 boards, I wrote a few simple tutorials to help others. They use free tools only. For various evaluation boards there are three simple demos: 1) LED counter controlled by timer 2) Serial output 3) Dhrystone / Whetstone benchmarks The tutorials can be found at: http://www.colecovision.eu/stm8/ http://www.colecovisio...


DIP Socket Ribbon Cable Connector with 0.4" Rows

Started by rickman in comp.arch.embedded5 years ago
LED

I am looking for a ribbon cable connector to plug into a DIP socket on 0.4" row centers. This is to tap into the socket of a 3 digit LED...

I am looking for a ribbon cable connector to plug into a DIP socket on 0.4" row centers. This is to tap into the socket of a 3 digit LED display. I know they have made ICs on 0.4" rows but I can't find such a ribbon cable connector. Anyone seen one of these? I only need 12 pins but there is space for 16 or even 20 pins. Otherwise I'll have to kludge up something pretty ugly. -- ...


Anyone know how to use BASIC stamp program, BOE or eb500?

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

Hi, I am currently doing a school project which involve the use of an eb500, sound module and BASIC stamp II attached to a BOE. We are using it...

Hi, I am currently doing a school project which involve the use of an eb500, sound module and BASIC stamp II attached to a BOE. We are using it to communicate with the handphone. Initially,the phone could detect the eb500 and the eb500 LED light up. However, after we connected the sound module, the eb500 could not detect the phone.We suspect something is wrong with the eb500 but we can't con...


Using infrared leds and transistors to make a keyboard

Started by Enrico in comp.arch.embedded10 years ago 19 replies
LED

Hi, I have to design a 5-button keyboard. I would like to use infrared leds and transistors to make the buttons of the keyboard. Years ago,...

Hi, I have to design a 5-button keyboard. I would like to use infrared leds and transistors to make the buttons of the keyboard. Years ago, in fact, I had a digital manometer that had 4 buttons based on that principle. Before starting the design I would like to see a couple of keyboards as an example... Can anyone address me to some product using infrared led and transistors as button...


SSD1963 LCD controller PWM output failure

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

Hello, I designed a motherboard based on a STM32F205 MCU from ST which communicates with a 5 inches TFT LCD through a SSD1963 LCD controller...

Hello, I designed a motherboard based on a STM32F205 MCU from ST which communicates with a 5 inches TFT LCD through a SSD1963 LCD controller from Solomon Systech. This LCD controller has a PWM output pin that can be used to send a PWM signal to a backlight driver. In my design, I used this pin for driving the control pin of a TPS61165 high brightness white LED driver from Texas Instruments. ...


MK715 Touch Controller Problem

Started by Rainer Faulstich in comp.arch.embedded15 years ago 4 replies

Hi, when i press my LCD with my MK715 touch controller and stay the display touched, the interrupt repeats and repeats. Does anyone...

Hi, when i press my LCD with my MK715 touch controller and stay the display touched, the interrupt repeats and repeats. Does anyone have experience on how to led the interrupt execute only once upon each touch independent of the time the display is touched. Upon release followed by a touch again the interrupt should execute again of course and so on. Thanx Rainer


real-time clock in code composer

Started by guus_hiddink in comp.arch.embedded4 years ago 21 replies

I need to write a program that implements a real-time clock in code composer studio. The LCD display shows hours , minutes and seconds ....

I need to write a program that implements a real-time clock in code composer studio. The LCD display shows hours , minutes and seconds . By pressing a button you can enter / exit in setting mode which is characterized by on / off LED. Pressing one of the other three keys in setting mode you can set hours , minutes and seconds . Can someone help me? --------------------------------------- Poste...


Writing flash-burnner program for my own board?

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

Hello, I am writing the flash burnner program for my own board. I can debug it by using ARM SDT2.51, i.e. load my program to RAM (0x0c000000)...

Hello, I am writing the flash burnner program for my own board. I can debug it by using ARM SDT2.51, i.e. load my program to RAM (0x0c000000) and execute it. "Hello World" (LED-blinking) is working. Currently I try to burn the "hello world" to flash (0x00000000). My method is to load the flash burnner to RAM and run it and copy "hello world" to flash. But when I want writing the sequence...


Interview With Cell Architect Jim Kahle - 1 Teraflop on a chip by 2010

Started by AirRaid in comp.arch.embedded13 years ago

An Interview With Cell Architect Jim Kahle Thursday, October 26, 2006 The PlayStation 3: An Interview With Cell Architect Jim Kahle Dean...

An Interview With Cell Architect Jim Kahle Thursday, October 26, 2006 The PlayStation 3: An Interview With Cell Architect Jim Kahle Dean Takahashi, 12:01 AM in Dean Takahashi, Gaming Microprocessor_party_035 Jim Kahle is the chief architect of the Cell microprocessor and the visionary behind the multiprocessing beast that is the heart of the PlayStation 3. He led IBM's side of the chip...