Hi,
I want to program the on-chip mode registers of pcm1738 (audio format setting). I guess from the eval board data sheet that this could be done via printer port (rs232 or parallele port ?) for tests purpose.
I search software to do this ? could some one help me ?🙁
And what device could I use for programing the serial interface via PIC or other similar chip (that could be easily programed via PC link) ?
bye
I want to program the on-chip mode registers of pcm1738 (audio format setting). I guess from the eval board data sheet that this could be done via printer port (rs232 or parallele port ?) for tests purpose.
I search software to do this ? could some one help me ?🙁
And what device could I use for programing the serial interface via PIC or other similar chip (that could be easily programed via PC link) ?
bye
do you have GBasic, basica, qbasic ?
there are a lot of versions of DOS-based Basic freeware on the web. if you have an older computer (Win 95 OS or earlier) it's probably there anyway. you can start with the basic commands to poke the parallel port -- called "bit banging".
there are also a number of freeware demos of using the parallel port to talk to the outside world -- just be very careful when making the connections when using a computer with a built in parallel interface. for this reason it's a good idea to use a parallel port adapter card which fits into one of the slots on the machine.
take a look at this paper by Dr. Peter Anderson at Morgan State (Dr. Anderson has done a lot of interesting stuff with microcontrollers).
http://et.nmsu.edu/~etti/fall96/computer/printer/printer.html
the newer versions of Windows make it difficult to directly engage the parallel port.
i prefer serial -- but you will need a chip like the MAX232 (or similar from Sipex) to convert the RS232 levels to TTL levels (and back again.)
email me separately if you need more help.
there are a lot of versions of DOS-based Basic freeware on the web. if you have an older computer (Win 95 OS or earlier) it's probably there anyway. you can start with the basic commands to poke the parallel port -- called "bit banging".
there are also a number of freeware demos of using the parallel port to talk to the outside world -- just be very careful when making the connections when using a computer with a built in parallel interface. for this reason it's a good idea to use a parallel port adapter card which fits into one of the slots on the machine.
take a look at this paper by Dr. Peter Anderson at Morgan State (Dr. Anderson has done a lot of interesting stuff with microcontrollers).
http://et.nmsu.edu/~etti/fall96/computer/printer/printer.html
the newer versions of Windows make it difficult to directly engage the parallel port.
i prefer serial -- but you will need a chip like the MAX232 (or similar from Sipex) to convert the RS232 levels to TTL levels (and back again.)
email me separately if you need more help.
Jackinnj,
thank you for your reply, I use win xp and as you say it would be difficult to engage directly the // port (Hal interface programming I suppose). I will look if I find something written in VB.
I will read the article of Dr. Peter Anderson and refresh my knowledge about // interface and how to program it. I cannot mail you separately I have not your email @.
By
Mermoz
thank you for your reply, I use win xp and as you say it would be difficult to engage directly the // port (Hal interface programming I suppose). I will look if I find something written in VB.
I will read the article of Dr. Peter Anderson and refresh my knowledge about // interface and how to program it. I cannot mail you separately I have not your email @.
By
Mermoz
if you can do VB
you can probably find the DLL's in freeware which allow you direct access to the parallel port. For the serial port you will have to use a shift register.
Do a google search for Richard Grier -- he did a book called "The Visual Basic Programmers Guide to Serial Communications" -- its from the pre Win2k era, however. Also, plug into the newsgroup: microsoft.public.vb.controls
the development board for the TI part is $399 -- but includes the software.
you can probably find the DLL's in freeware which allow you direct access to the parallel port. For the serial port you will have to use a shift register.
Do a google search for Richard Grier -- he did a book called "The Visual Basic Programmers Guide to Serial Communications" -- its from the pre Win2k era, however. Also, plug into the newsgroup: microsoft.public.vb.controls
the development board for the TI part is $399 -- but includes the software.
Yes the board is 399 $ from TI, but I want to build my own board and I have got samples from TI. I will use VB (maybe some dll or ocx)
you'll only know when you try
for a quick and dirty you can use an inexpensive device like the Basic Stamp II -- you don't need a programmer and the software is free. Since you are bitbanging 3 or 4 bits at a time you just set a nibble (1/2 byte) for any 4 output pins. The phrase below writes to the bottom 4 bits:
d_out var NIBL
and then use a FOR NEXT loop to write a 4 bit word as <em>d_out </em>as many times as you need. The controls of the device operate separately from the system clock.
the chips like the Stamp, BX24, AVR Sprint, Atom etc make life very easy since you can reprogram on the fly. For $49 you will find them to be one of the most useful tools in your shop. You can incorporate it as the heart of a digital relay control (see thread) for attenuation, control inputs etc.
for a quick and dirty you can use an inexpensive device like the Basic Stamp II -- you don't need a programmer and the software is free. Since you are bitbanging 3 or 4 bits at a time you just set a nibble (1/2 byte) for any 4 output pins. The phrase below writes to the bottom 4 bits:
d_out var NIBL
and then use a FOR NEXT loop to write a 4 bit word as <em>d_out </em>as many times as you need. The controls of the device operate separately from the system clock.
the chips like the Stamp, BX24, AVR Sprint, Atom etc make life very easy since you can reprogram on the fly. For $49 you will find them to be one of the most useful tools in your shop. You can incorporate it as the heart of a digital relay control (see thread) for attenuation, control inputs etc.
I have found at my local shop a device comparable to the Stamp i.e. C-Control with Motorola 68HC05B6 microcontroller for 51 Euro and software is free to. I will start with it. // io PCI card cost approx. 25 Euro. The C-control can operate as stand-alone unit and bulk units without RS232 and other glue cost approx. 25 Euro. Thank you for your advises
Bye
Bye
- Status
- Not open for further replies.
- Home
- Source & Line
- Digital Source
- serial control interface programing