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.
VGA is still an analogue format. If you're going analogue cable into a tuner and coming out VGA, you still have an analogue signal going into the cctv router. That is fine, just keep in mind at some point you will need to convert to a compressed digital video format of some type, as mentioned...
Richie, what model STM32 are you using? Also can you post your I2C peripheral configuration code, including where you configure the peripheral clock - then we can have a look.
If those 'for' loops are meant to be delay loops they need a semicolon after each one.
for(i=0;i<30000;i++);
Right now you are breaking out of the switch statement on the first time through, and not executing the loops.
It would be helpful if you would provide slightly more context for...
You will likely want something like this. Hooked up to your cell phone charger, that should keep you stable.
Also, your microcontroller will only need milliamps of current at most. 22A of current will burn that thing up, if it hasn't already. You may in fact need a new PIC, from your...
Hi, if you still haven't figured it out, I have successfully configured the I2C on the STM32F4 before, which is similar. My code is in assembly and does not use the ST libraries, but I would be happy to post relevant functions. Let me know if you still need help.
Another suggestion in general...
I can't answer all your questions, but here is how I would go about figuring out the answers:
* Try doing a printf() call in the handler function, but without referencing any variable. If that works but it fails with the uint_8 type, you know your issue is with the variable.
* Cast index_rx as...
If the I2C is being used for device control, but the device you are controlling is also getting data (like, say, digital audio) you may be seeing the clock for the data?
Succinctly, a ripple carry adder passes its carry bit through a long logic chain, which is very straightforward to design, but can have a very large delay.
A carry-lookahead adder uses a clever algorithm to cut that logic to only a few layers, and thus keeps the delay pretty short even for a...
The code as written right now definitely just does one conversion and then stops. If you want to keep making multiple single conversions, you'll need to start the conversion each time by setting the start bit, which you do when you call:
//Start ADC1 Software Conversion...
The Discovery board supports the STM32's analogue to digital converter, which is very good. You can hook anything analogue up to the breakout pins, and then you have analogue signal as digital data. So pick a sensor, really - or just build a simple voltmeter.
But ultimately, if you want to...
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.