CPU temperature reading with C

Started by Flemming Hansen in comp.arch.embedded15 years ago 1 reply

Hi, Here is the deal: I've connected a 2x20 HD44780 based LCD to the parallel port and trying to program it. I'm using Borland C. I've managed...

Hi, Here is the deal: I've connected a 2x20 HD44780 based LCD to the parallel port and trying to program it. I'm using Borland C. I've managed to program the HD44780. What I want to do is displaying different Mother Board settings at the LCD. There are plenty of programs doing taht, but I want to make my own simple DOS program displaying i.e CPU teperature, System temperatur, system clock ...


[msp430] problems setting 8MHz CPU frequency

Started by Oskar in comp.arch.embedded12 years ago 7 replies

Hi, I'm trying to clock the CPU (MSP430F1611) to 8,000,000 Hz and I've run into some problems. Making the CPU to actually run at 8MHz was...

Hi, I'm trying to clock the CPU (MSP430F1611) to 8,000,000 Hz and I've run into some problems. Making the CPU to actually run at 8MHz was easy enough: DCOCTL = DCO0 + DCO1 + DCO2; /* 0xE0 */ BCSCTL1 = XT2OFF + RSEL0 + RSEL1 + RSEL2; /* 0x87 */ However, the UART1 stopped working. What I've got so far is: void uart1_init( unsigned int ubr ) { /* RS232 */ P3DIR &= ~0...


Cypress Add Turbo 8051 to PSoC (and Cortex too)

Started by -jg in comp.arch.embedded10 years ago

Cypress cover BOTH bases, in a move that has to get everyone's attention ! - Single clock 8051 16/32/64KF, up to 8KR, with up to 67MHz...

Cypress cover BOTH bases, in a move that has to get everyone's attention ! - Single clock 8051 16/32/64KF, up to 8KR, with up to 67MHz operation, and 120 part numbers Wide 1.7-5.5V operation.. LCD drive, 0.5V boost regulator... 0.1% voltage reference (14 ppm/=B0C) optional 24bx24b MAC - Cortex parts are 32K-256KF, and up to 64KRam, and 5.5V IO's well... (but no 32 bit timers?) Choic...


deciding capacitor & resistor values

Started by Kshitiz Bartariya in comp.arch.embedded6 years ago 4 replies

I am new to schematic design and studying OLinuXino A10s schematics. A generic question : How do we decide the resistor & capacitor values...

I am new to schematic design and studying OLinuXino A10s schematics. A generic question : How do we decide the resistor & capacitor values required to interface multiple ICs on a pcb ? E.x. I am unable to understand why a 22ohm resistor is present in the clock signal (SCK,SCK# pins - W2, Y1 ) from A10s to SDRAM (h5tq2g83cfr-h9c) (CK, CK# pins - F7, G7). It is not given in either of their da...


Low Dhrystone score on Tricore TC1796

Started by Anonymous in comp.arch.embedded12 years ago 11 replies

Hello, I am doing the Dhrystone benchmark on a TC1796A microcontroller from Infineon with different compilers (TASKING, Hightec-RT GNU GCC)....

Hello, I am doing the Dhrystone benchmark on a TC1796A microcontroller from Infineon with different compilers (TASKING, Hightec-RT GNU GCC). Both compilers are set to produce highest speed optimized code, still I only get about 15 DMIPs with GNU GCC and about 20 DMIPs with TASKING. CPU is running at 150MHz, 75MHz system clock, programs run from external SRAM; no difference (as it should be...


HC908GR4/8 SPI interrupt problem

Started by Fred in comp.arch.embedded16 years ago 5 replies

The HC908GR4 acts as a SPI slave, the baud rate of the host clock is only around 5K bps. When the host sends a packet of 8-bytes to the HC908GR4,...

The HC908GR4 acts as a SPI slave, the baud rate of the host clock is only around 5K bps. When the host sends a packet of 8-bytes to the HC908GR4, it only generate the first Rx interrupt and the ISR only read the first byte. Then no more interrupt occurs, even on the subsequence packets. It seems just reading from the Status and Control Register then reading from the Data Register does not c...


Using the SSC on the ARM processor

Started by dave in comp.arch.embedded14 years ago 3 replies

Hello, Has anybody ever used this device? I am having enormous problems with the synch signal. The transmitter seems to start whenever...

Hello, Has anybody ever used this device? I am having enormous problems with the synch signal. The transmitter seems to start whenever it feels like it, not when the synch signal is asserted. The receiver never receives a synch signal, or if it does, it never starts receiving. The transmitter generates the synch signal, and the clock. The receiver should start on a synch. ...


ASYNC SRAM selection

Started by Neven Colak in comp.arch.embedded16 years ago 1 reply

Hi, Does anyone know if 4ns ASYNC SRAM is available? I am designing a system which connects to a 64-bit TS202 tigersharc DSP at a...

Hi, Does anyone know if 4ns ASYNC SRAM is available? I am designing a system which connects to a 64-bit TS202 tigersharc DSP at a system clock of 100MHz and in order to get a zero-wait state system I need 4ns ASYNC SRAM.. perferably in a 64-bit package (but highly unlikely)... I'd be happy to find a 16 bit device and just populate 4 of them. Any help is appreciated. Neven


Recommend hardware with USB, RS232, A2D, and more...

Started by Rob in comp.arch.embedded16 years ago 1 reply

Looking for a processor board with: - USB Host port (Full-speed, USB v1.1 minimum), - 2x Serial ports (RS232, RS485), - 12-bit A/D converter...

Looking for a processor board with: - USB Host port (Full-speed, USB v1.1 minimum), - 2x Serial ports (RS232, RS485), - 12-bit A/D converter (under 2k samples/s) - Several general purpose I/O or parallel port. - Real-time clock (battery backed) and timers. - Low power consumption; few Watts. - Support an embedded operating system, like Linux preferably (but not essential). - Flash and RAM...


ARM-s : RAVEN with rtck release (LPC21xx)

Started by laurent gauch in comp.arch.embedded16 years ago 3 replies

Hi all, Amontec just released a new configuration of the RAVEN on the Chameleon POD. This configuration enables the use of the rtck (return...

Hi all, Amontec just released a new configuration of the RAVEN on the Chameleon POD. This configuration enables the use of the rtck (return clock) for all ARM -s series. In fact, the ARM7TDMI-s ( and other ARM -s ), like Philips LPC21xx, use the rtck signal to control the baudrate of the JTAG. This means you can debug software running at very low frequency, but this means too that ...


Need Help !!! USB device configuration

Started by nik in comp.arch.embedded10 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.embedded12 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.embedded14 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.embedded14 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.embedded7 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.embedded11 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.embedded16 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.embedded13 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.embedded13 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.embedded13 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; ...