Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Read it again, he's saying that solution A is not optimal.
"...engineer A can look forward to a long career at SubOptimal Products, Inc."
The match is between a 50+j10 ohm source and 75 ohm load. The 25ohm resistor used by engineer A has been removed. Engineer B uses the -j10 capacitor to...
arm assembler hello world
You can't use the semihosting SWI calls in the uVision debugger. Take out the SWI instructions and change the AREA sectionname to RESET and your code will build and run in the debugger. You'll see R0 getting loaded and compared, not very interesting but a sort of...
Re: LCD without zero
Your "0" is getting overwritten by your final LCD_out statement.
Try modifying the string txt1 before you output it: bytetostr(ValoreAdc1,txt1)
if (ValoreAdc1<10) then txt1[1] = "0"
endif
LCD_out(1,10,txt1)
error[lp011]
The linker is telling you that you have 32Kb of RAM available but your program wants 39Kb of RAM and it wont fit.
You need to reduce your RAM usage; check your code for large unnecessary buffers and try reducing your stack and/or heap. Take a look at your MAP file to see what's...
Re: CRC-16 Porblem
OK, your constants are getting placed in RAM and you don't have enough for the large table. You can either tell your compiler not to put constants in RAM or use the modified version of your code below with a shorter table but not as fast.
/* CRC16 Definitions */
static const...
fast crc16 0xa001
Hi,
There are many types of CRC. It seems like your trying to generate Modbus CRC-16 but the code your using generates CRC-16 for the Atmel Jtag Mk. II (CRC-CCITT).
See: https://www.lammertbies.nl/comm/info/crc-calculation.html?crc=030300050002&method=hex
If you change your...
keil missing function prototype?
memcpy destination and source must be pointers.
https://www.keil.com/support/man/docs/c51/c51_memcpy.htm
fmod is in the math library, #include <math.h> and both arguments must be floats.
https://www.keil.com/support/man/docs/c51/c51_fmod.htm
1. 44100 x 16-bit samples each second = 705,600 bits x 2 for stereo = 1,411,200 bits (176,400 bytes) to store 1 second.
2. You can go as fast as you want as long as both ends can keep up, my PC supports 128kbps.
3. See http://www.st.com/stonline/books/pdf/docs/12522.pdf and...
wav serial port
I don't know what you mean by 'digital speaker' but you'll need 350kB of memory to buffer the wav if it's 16-bit stereo.
You could send the wav to the uC and have the uC store it on an SD card. For the uC to play the wav you'll read it from the SD card and send it to the DACs...
16f877a timer1 coding
With a 20MHz clock and without prescaler (1:1), Timer 1 has 200nS resolution. It will have counted to 5000 when a millisecond expires!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.