WizzBall
Newbie level 1
Hello everyone,
I am new to the world of micro controllers and I have a question that maybe some of you can answer.
I have a dsPICDEM 1.1 Plus board from Microchip and I am running the Noise Suppression demo on it. It works great, however what I'd like to do is boost the gain at the output (or input) so that I can hear the sound louder in the speaker ( as noise filtering tends to muffle the sound a bit).
By looking into the code and documentation, I realized that I have to modify some register values in the Si3000 codec that is on the board (registers 5,6 and 7). When starting up, the codec and its registers are initialized by a program written in assembly language.
Question: How do I read/modify the values of the Si3000/dsPIC33F registers from the program (written in C)? I'd like to know how to do that preferably in C. If it involves inserting assembly code into the program perhaps someone could tell me how to do that or direct me to the appropriate documentation.
Many thanks! I hope there are a few seasoned dsPIC programmers here and that my question is not absurdly hard/easy. Please keep in mind I am a complete beginner, I just installed the MPLAB IDE yesterday thanks!
I am new to the world of micro controllers and I have a question that maybe some of you can answer.
I have a dsPICDEM 1.1 Plus board from Microchip and I am running the Noise Suppression demo on it. It works great, however what I'd like to do is boost the gain at the output (or input) so that I can hear the sound louder in the speaker ( as noise filtering tends to muffle the sound a bit).
By looking into the code and documentation, I realized that I have to modify some register values in the Si3000 codec that is on the board (registers 5,6 and 7). When starting up, the codec and its registers are initialized by a program written in assembly language.
Question: How do I read/modify the values of the Si3000/dsPIC33F registers from the program (written in C)? I'd like to know how to do that preferably in C. If it involves inserting assembly code into the program perhaps someone could tell me how to do that or direct me to the appropriate documentation.
Many thanks! I hope there are a few seasoned dsPIC programmers here and that my question is not absurdly hard/easy. Please keep in mind I am a complete beginner, I just installed the MPLAB IDE yesterday thanks!