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.
As per your PIC18F4680 datasheet, you can configure the I2C module upto 1 MHz. Configuring the HS mode is the same as that of the standard and fast modes -- parameters being the slew rate control bit (SSPSTAT register) to configure the corresponding frequency mode and the Baud rate control...
There is a difference in what your security is based on. Are you trying to recognize the processed password from the speech alone or both the voice and the password ?? If its the first case, then its user independent else its user dependent. In user dependent, you should have the password of...
Thanks Tahmid and DX,
@DX - I agree with you using a scope - again the situation for me is that i ve already been using a scope to check out the frequency of the sine wave at the I2C DAC output. I can only check the frequency over a period of time but if i would want to optimize the code by...
The thing is that sometimes i would like to calculate the time taken for a particular instruction in the c compiler. In my case for eg, i'm using a DAC through I2C to produce sine waves and i would want to know an approximate time taken to send a byte by the communication protocol library...
Thanks Paul! The configuration in the SSPSTAT register is basically the same for 100 kHz and 1 MHz mode. And the baud rate in this mode is set in the SSPADD register but has no effect. I could not figure out what i'm missing. I agree with the transmission speed and it should be very well...
ya, but not any sound. there is a specific sound requirement which needs the sine wave in the 1 - 5 kHz range.
---------- Post added at 09:38 ---------- Previous post was at 09:20 ----------
And the main intention being trying to make the i2c work in high speed mode and learn more about it...
I am not sure of 4 dc motors but i used a much simpler way to drive with 2 dc motors using the same L293 D H-bridge and the same principle might give you an idea.
In my case, the left two wheels are connected to a dc motor and the right two wheels are connected to another.
If you exite the...
Nice one Joannes so that the calculation will be replaced by something like this,
new average = (total + latest value - oldest value ) / 100
Is there anyway i could avoid this floating point division ??
I wish i could do that but most of the modules in this project are almost done and looking to generate sound using sine waves from this DAC module for alarm indications.
I would like to sample analog values from a pressure at 2 kHz and would like to have a small buffer for the latest values (say 100). So at each sample point, the latest sampled value should replace the oldest value in the buffer. At each instant, i need the average of this 100 values as the...
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.