• Problem transfering samples from ADC to DAC

    Hi Everbody

    I am facing problem while transfering data from ADC to DAC in between i have used some buffer logic after execusion it is not working or suddenly stop copying from ADC but What i have tried is copying directly from ADC to DAC is working…

  • What assumption does this code make? Is it acceptable?

    This is a snippet from a general-purpose library function that is (effectively) non-application specific and, by design, can make no assumptions about the context of the calling process.

    Hint: The assumption the code makes has to do with interrupts…

  • Number of bytes & microcontroller's chip

    Hello

    I am an ultra newbie and im currently learning 8051 chip. The question is How can i find out the number bytes in my program before I can buy any microcontroller chip? Is it hex file?

    kind regards

    Maverickmax

  • asm endasm and src directive, combining C and ASM languages

    Hi,

    I have a pretty big file that during it's performance, in a specific place of the code flow, I would like to wait for exactly 4 clock cycles.

    The best way for me to do this, is using the empty line command (; // nop).
    Unfortunately, this doesn…

  • What is this RTX51

    Hi i've just switched from assembly language to c and i've studied a little about RTX51 Real time operating system but i could'nt figure out its purpose for microcontroller applications. Can any one kindly make me understand with examples what difference…

  • modifying putchar, and watching the prinf source code

    In http://www.keil.com/support/docs/788.htm you described how to change the putchar function.
    I have coppied PUTCHAR.C to the project directory, and added it to the project source files (using uVision2). As soon as I started to re-build the project, the…

  • LPC932:baudrate generator interfere with I2C clock ?

    I meet a confusing problem...
    I have to use UART & IIC communication simultaneously.
    The internal SCL generator is selected for the I2C clock. data rate is 100Kbit/sec at fosc=12MHz.
    Baudrate generator is selected for UART clock. 9600bps is set.
    The…

  • Breaking a FLOAT in char

    Hi,

    I need to save a FLOAT value in a EEPROM. But for that I must break the float in 4 CHAR.

    I dont want to mask and shift, I prefer something more fency.

    Is there a way using the STRUCT and UNION to be able to access each BYTE in a FLOAT ?


    I don…

  • How to write the program permanently into the microcontroller

    I'm completely new in this areas.
    Can anyone tell me how to do it?
    Thank you!

  • How can i write the memory

    I'm using a MicroConverter ADuC812.and a 512K Flash memory with the space
    0x0000--0x07FFFF,

    I have the PK51 Professional Developer's Kit and have examined the example in the folder:

    Keil\C51\EXAMPLES\FarMemory\16MB RAM on ADuC812. 

    i configure…

  • Example program CapCom_PWM.c does not work with MCB900

    I have unsuccessfully tried to use the example program on the PWM downloaded from Keil's web site for the Philips 900 CapCom.c. I've created a HEX and downloaded it a MBC900.I've attempted to run it on their development board and also looked at the operation…

  • split a program into two and locate at different addreses

    I want to split my program in two and locate at differenct addreses.

    main program may be located at 0x1000. and only one function called by main shall be located at say 0x8000. how to create that function and compile using CA51 and load it into the Cygnal…

  • CAN-Analyzer-Mode Infineon XC167 Controller

    Hello.

    I have an Infineon XC167 Step AC Controller and I want to use the CAN-Analyzer Mode for CAN-Baudrate-Detection. The routine detects already the correct baudrate. My problem is, although the CALM-bit is set, that I have error-frames on the bus…

  • UART configuration

    Hello,

    I'm using a C167CS-L40M on a PhyCore 167HSE from Phytec. My problem is : how can i use the uart communication.

    Thanks a lot

  • about: A chinese graduate student's problem!

    i am a graduate student of china,i got a bachelor's degree of electrical engineering
    and will achieve a master's degree of telecommunication,but i have no chance to do any project,because my tutor have not any projects,what shoud i do?

  • Stopping and Starting an Interrupt Routine

    I have an application that runs from FLASH and downloads a second application into RAM, and then jumps into the RAM program. The FLASH application has an interrupt function that is defined as:

    void Function1(void) interrupt T0INT=32 using rbank2
    {

  • ASCII-HEX & Binary on RSR232

    Hi,

    Normally when we use printf to output on RSR232, in which format it outputs.

    ascii-hex or binary.How to set the output format.

    rutu

  • TIMER 2 PROBLEM

    tr2 bit 0cah
    tf2 bit 0cfh
    tl2 data 0cch
    th2 data 0cdh

    Tis is the assembly code i write to define the timer 2. I'm using that philips 8051 microcontroller. so how to actually define this timer 2 in Keil?


    thank u ....

  • I2C & SPI

    Hi,

    If i have option of using either a I2C or a SPI serial EEPROM with microcontroller then which of these two standards is better one ?

    Any suggestion will be appreciated.

    Regards,
    Dravid.

  • Where i can get the chip can detector us dollar?

    Where i can get the chip can detector us dollar? if you have the data,please tell me !
    Thanks . wangjian@censtar.com

  • timer problem again

    this is my code:

    timerVal.u16 = (((servoHundredEighty - servoZero) * (degreeValue/180)) + servoZero);

    if all the variable are declare in unsigned char...this method can be used? or how i need to proceed with this if i would like to calculate certain…

  • ARM serial communication and hyperterminal

    I am trying to output the "hello world" example onto the PhilipsLPC2129 uC using the Keil EVB and after uploading the hex file onto the uC in the Flash Utility, I go to hyperterminal and nothing happens. Does anyone know what I could be doing wrong?…

  • Using external SRAM for Program Memory

    Hi all,
    i'm using the XC161CJ with 128kB on-chip Flash and 2MB battery-buffered SRAM located from 0x400000 to 0x5FFFFF.

    I'm running out of Flash so I'm about to add external flash in addition.
    Can anyone tell me how to program this external…

  • incorrect browse info

    I use " Go To Definition Of xxx", to find the definition of xxx. but the uv2 points to a wrong place.
    This happens only in a certain file. other files works fine in the same project.

    Any idea?

  • Autoloading?

    I meant to say...

    Is there anyway to autoload PPAGE VTREG in the simulator to 0?