Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Re: Re: USB and MC6S12DP256B


Advertise Here

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

USB and MC6S12DP256B - ludo...@... - Apr 11 9:14:00 2005

hello,

I would like to know if it s possible to connect the HCS12 via a controller USB. if yes tell me the constructor and the name Please

Ludo





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: USB and MC6S12DP256B - freegeeksdotnet - Apr 11 10:01:00 2005


--- In 68HC12@68HC..., ludo2112@y... wrote:
> hello,
>
> I would like to know if it s possible to connect the HCS12 via a
controller USB. if yes tell me the constructor and the name Please
>
> Ludo

Can you explain what you mean a bit more, do you want to;

Debug via USB or,
Have an integrated USB peripheral on the S12 or,
Interface the S12 with an external USB chip.

Best Regards
Jim
www.freegeeks.net





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - ventre ludovic - Apr 11 10:20:00 2005

hi,
Interface the S12 with an external USB chip.
look the picture
+----------+
| | +----------+
| HCS12 |<========>|Controller|<=========>USB
| | +----------+
+----------+
i would like the HCS12 to communicate with a
controller and after the controller send the data t0
the connector usb

Best Regards
ludo

--- freegeeksdotnet <jimstuart@jims...> wrote:

---------------------------------

--- In 68HC12@68HC..., ludo2112@y... wrote:
> hello,
>
> I would like to know if it s possible to connect the
HCS12 via a
controller USB. if yes tell me the constructor and the
name Please
>
> Ludo

Can you explain what you mean a bit more, do you want
to;

Debug via USB or,
Have an integrated USB peripheral on the S12 or,
Interface the S12 with an external USB chip.

Best Regards
Jim
www.freegeeks.net ---------------------------------
Yahoo! Groups Links

To

__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - ventre ludovic - Apr 11 10:48:00 2005

yes ihave look but i have the MC9S12DP256 and the
other don't have 12KoRAm
Thanks
ludo
--- Gilles Blanquin <gilles.blanquin@gill...>
wrote:

---------------------------------
Hi Ludo.

Have a look at "MC9S12UF32".

Regards,
Gilles

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12UF32&no

deId=0162468636K100 The MC9S12UF32 microcontroller unit (MCU) is a 16-bit
device composed of
standard on-chip peripherals including a 16-bit
central processing unit
(HCS12 CPU), 32K bytes of Flash EEPROM, and 3.5K bytes
of RAM. In addition
to the in-chip full-speed USB 2.0 interface, the
MC9S12UF32 has built-in
the following interfaces and host controllers: ATA-5
interface, compact
Flash, secure digital / multimedia, smartmedia, and
memory stick. Together
with the flexible I/O ports, 8-channel, 16-bit timer,
this MCU is well
suited for applications such as multi-card readers,
USB thumb drives, and
USB to external harddisk drives. Available in 100-pin
LQFP package. 64-pin
LQFP planned for Q3 2004
At 04:20 PM 4/11/2005, you wrote:

>hi,
>Interface the S12 with an external USB chip.
>look the picture
>+----------+
>| | +----------+
>| HCS12 |<========>|Controller|<=========>USB
>| | +----------+
>+----------+
> i would like the HCS12 to communicate with a
>controller and after the controller send the data t0
>the connector usb
>
>Best Regards
>ludo
>
>--- freegeeksdotnet <jimstuart@jims...> wrote:
>
>---------------------------------
>
>--- In 68HC12@68HC..., ludo2112@y... wrote:
> > hello,
> >
> > I would like to know if it s possible to connect
the
>HCS12 via a
>controller USB. if yes tell me the constructor and
the
>name Please
> >
> > Ludo
>
>Can you explain what you mean a bit more, do you want
>to;
>
>Debug via USB or,
>Have an integrated USB peripheral on the S12 or,
>Interface the S12 with an external USB chip.
>
>Best Regards
>Jim
>www.freegeeks.net >---------------------------------
>Yahoo! Groups Links
>
> To >
>
>__________________________________________________________________
>Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de
stockage pour vos
>mails !
>Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ >
>Yahoo! Groups Links ---------------------------------
Yahoo! Groups Links

To

__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - ventre ludovic - Apr 11 10:49:00 2005

hello,

yes

Ludo
--- Gilles Blanquin <gilles.blanquin@gill...>
wrote:

---------------------------------

Sorry Ludo.

You wanted to interface a DP256...

Gilles

At 04:58 PM 4/11/2005, you wrote:

>Hi Ludo.
>
>Have a look at "MC9S12UF32".
>
>Regards,
>Gilles
>
>http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12UF32&no
>deId=0162468636K100 >The MC9S12UF32 microcontroller unit (MCU) is a 16-bit
device composed of
>standard on-chip peripherals including a 16-bit
central processing unit
>(HCS12 CPU), 32K bytes of Flash EEPROM, and 3.5K
bytes of RAM. In addition
>to the in-chip full-speed USB 2.0 interface, the
MC9S12UF32 has built-in
>the following interfaces and host controllers: ATA-5
interface, compact
>Flash, secure digital / multimedia, smartmedia, and
memory stick. Together
>with the flexible I/O ports, 8-channel, 16-bit timer,
this MCU is well
>suited for applications such as multi-card readers,
USB thumb drives, and
>USB to external harddisk drives. Available in
100-pin LQFP package. 64-pin
>LQFP planned for Q3 2004 >
>At 04:20 PM 4/11/2005, you wrote:
>
> >hi,
> >Interface the S12 with an external USB chip.
> >look the picture
> >+----------+
> >| | +----------+
> >| HCS12 |<========>|Controller|<=========>USB
> >| | +----------+
> >+----------+
> > i would like the HCS12 to communicate with a
> >controller and after the controller send the data
t0
> >the connector usb
> >
> >Best Regards
> >ludo
> >
> >--- freegeeksdotnet <jimstuart@jims...>
wrote:
> >
> >---------------------------------
> >
> >--- In 68HC12@68HC..., ludo2112@y... wrote:
> > > hello,
> > >
> > > I would like to know if it s possible to connect
the
> >HCS12 via a
> >controller USB. if yes tell me the constructor and
the
> >name Please
> > >
> > > Ludo
> >
> >Can you explain what you mean a bit more, do you
want
> >to;
> >
> >Debug via USB or,
> >Have an integrated USB peripheral on the S12 or,
> >Interface the S12 with an external USB chip.
> >
> >Best Regards
> >Jim
> >www.freegeeks.net
> >
> >
> >
> >
> >
> >---------------------------------
> >Yahoo! Groups Links
> >
> > To
> >
> >
> >
> >
> >
> >
> >
>
>__________________________________________________________________
> >Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace
de stockage pour vos
> >mails !
> >Créez votre Yahoo! Mail sur
http://fr.mail.yahoo.com/
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>Yahoo! Groups Links ---------------------------------
Yahoo! Groups Links

To

__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - Gilles Blanquin - Apr 11 10:58:00 2005

Hi Ludo.

Have a look at "MC9S12UF32".

Regards,
Gilles

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12UF32&no
deId=0162468636K100 The MC9S12UF32 microcontroller unit (MCU) is a 16-bit device composed of
standard on-chip peripherals including a 16-bit central processing unit
(HCS12 CPU), 32K bytes of Flash EEPROM, and 3.5K bytes of RAM. In addition
to the in-chip full-speed USB 2.0 interface, the MC9S12UF32 has built-in
the following interfaces and host controllers: ATA-5 interface, compact
Flash, secure digital / multimedia, smartmedia, and memory stick. Together
with the flexible I/O ports, 8-channel, 16-bit timer, this MCU is well
suited for applications such as multi-card readers, USB thumb drives, and
USB to external harddisk drives. Available in 100-pin LQFP package. 64-pin
LQFP planned for Q3 2004
At 04:20 PM 4/11/2005, you wrote:

>hi,
>Interface the S12 with an external USB chip.
>look the picture
>+----------+
>| | +----------+
>| HCS12 |<========>|Controller|<=========>USB
>| | +----------+
>+----------+
> i would like the HCS12 to communicate with a
>controller and after the controller send the data t0
>the connector usb
>
>Best Regards
>ludo
>
>--- freegeeksdotnet <jimstuart@jims...> wrote:
>
>---------------------------------
>
>--- In 68HC12@68HC..., ludo2112@y... wrote:
> > hello,
> >
> > I would like to know if it s possible to connect the
>HCS12 via a
>controller USB. if yes tell me the constructor and the
>name Please
> >
> > Ludo
>
>Can you explain what you mean a bit more, do you want
>to;
>
>Debug via USB or,
>Have an integrated USB peripheral on the S12 or,
>Interface the S12 with an external USB chip.
>
>Best Regards
>Jim
>www.freegeeks.net >---------------------------------
>Yahoo! Groups Links
>
> To >
>
>__________________________________________________________________
>Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos
>mails !
>Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ >
>Yahoo! Groups Links





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - Gilles Blanquin - Apr 11 11:00:00 2005


Sorry Ludo.

You wanted to interface a DP256...

Gilles

At 04:58 PM 4/11/2005, you wrote:

>Hi Ludo.
>
>Have a look at "MC9S12UF32".
>
>Regards,
>Gilles
>
>http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12UF32&no
>deId=0162468636K100 >The MC9S12UF32 microcontroller unit (MCU) is a 16-bit device composed of
>standard on-chip peripherals including a 16-bit central processing unit
>(HCS12 CPU), 32K bytes of Flash EEPROM, and 3.5K bytes of RAM. In addition
>to the in-chip full-speed USB 2.0 interface, the MC9S12UF32 has built-in
>the following interfaces and host controllers: ATA-5 interface, compact
>Flash, secure digital / multimedia, smartmedia, and memory stick. Together
>with the flexible I/O ports, 8-channel, 16-bit timer, this MCU is well
>suited for applications such as multi-card readers, USB thumb drives, and
>USB to external harddisk drives. Available in 100-pin LQFP package. 64-pin
>LQFP planned for Q3 2004 >
>At 04:20 PM 4/11/2005, you wrote:
>
> >hi,
> >Interface the S12 with an external USB chip.
> >look the picture
> >+----------+
> >| | +----------+
> >| HCS12 |<========>|Controller|<=========>USB
> >| | +----------+
> >+----------+
> > i would like the HCS12 to communicate with a
> >controller and after the controller send the data t0
> >the connector usb
> >
> >Best Regards
> >ludo
> >
> >--- freegeeksdotnet <jimstuart@jims...> wrote:
> >
> >---------------------------------
> >
> >--- In 68HC12@68HC..., ludo2112@y... wrote:
> > > hello,
> > >
> > > I would like to know if it s possible to connect the
> >HCS12 via a
> >controller USB. if yes tell me the constructor and the
> >name Please
> > >
> > > Ludo
> >
> >Can you explain what you mean a bit more, do you want
> >to;
> >
> >Debug via USB or,
> >Have an integrated USB peripheral on the S12 or,
> >Interface the S12 with an external USB chip.
> >
> >Best Regards
> >Jim
> >www.freegeeks.net
> >
> >
> >
> >
> >
> >---------------------------------
> >Yahoo! Groups Links
> >
> > To
> >
> >
> >
> >
> >
> >
> >
> >__________________________________________________________________
> >Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos
> >mails !
> >Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>Yahoo! Groups Links





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - Edward Karpicz - Apr 11 11:01:00 2005

www.ftdichip.com

FT232BM USB<->SCI
FT245BM USB<->parallel

Edward

----- Original Message -----
From: "ventre ludovic" <ludo2112@ludo...>
To: <68HC12@68HC...>
Sent: Monday, April 11, 2005 5:20 PM
Subject: Re: [68HC12] Re: USB and MC6S12DP256B >
> hi,
> Interface the S12 with an external USB chip.
> look the picture
> +----------+
> | | +----------+
> | HCS12 |<========>|Controller|<=========>USB
> | | +----------+
> +----------+
> i would like the HCS12 to communicate with a
> controller and after the controller send the data t0
> the connector usb
>
> Best Regards
> ludo
>
> --- freegeeksdotnet <jimstuart@jims...> wrote:
>
> ---------------------------------
>
> --- In 68HC12@68HC..., ludo2112@y... wrote:
>> hello,
>>
>> I would like to know if it s possible to connect the
> HCS12 via a
> controller USB. if yes tell me the constructor and the
> name Please
>>
>> Ludo
>
> Can you explain what you mean a bit more, do you want
> to;
>
> Debug via USB or,
> Have an integrated USB peripheral on the S12 or,
> Interface the S12 with an external USB chip.
>
> Best Regards
> Jim
> www.freegeeks.net > ---------------------------------
> Yahoo! Groups Links
>
> To >
>
> __________________________________________________________________
> Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos
> mails !
> Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ >
> Yahoo! Groups Links




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - robm...@... - Apr 11 11:11:00 2005

I haven't built exactly what you are after but I have exposure to embedded
usb device drivers and they are not small bits of code. If you've read
the requisite USB books you will understand the non-trivial nature of
writing a driver for a usb controller as well as the pain of
certification. I think it unlikely that anyone will give you such code at
this point in time since USB isn't commonplace for low cost designs. If I
am wrong and someone wants to volunteer such code I would definitely be
interested it trying it out myself.

Rob Milne





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: USB and MC6S12DP256B - robm...@... - Apr 11 11:36:00 2005


> www.ftdichip.com

The RS232->USB chip is a good recommendation if you need something quick.
3M baud sounds impressive but how will your 9s12 sci get that kind of
performance? This sol'n requires minimal driver dev.

The parallel version sounds decent (1MByte/sec) but it looks like FTDI
wants to control the device side of the driver. Probably CE and linux
drivers are avail on request. Porting wouldn't be too difficult. The
advantage resides mostly in the chips handling of enumeration and usb
protocols. Disadvantages (from what little I have gleaned from the FTDI
site) are you don't choose the transfer type and you don't get anywhere
the possible 12MByte/sec with USB 1.1 in bulk transfer mode. True usb
control is only possible with a general usb controller chip like the ones
Cypress and National Semiconductor sell.

I'm not familiar with the USB 9s12 derivative - it may make most sense.

-Rob





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: USB and MC6S12DP256B - tonalbuilder2002 - Apr 11 17:35:00 2005


The biggest disadvantage of the FTDI chips may be that you can't
direct your data to more than one "end point" buffer which makes you
work a little harder to sort out commands from data. Even so, I have
done USB both ways, and it is a LOT easier to get a USB peripheral
going with the FTDI chips than with more traditional approaches.
Another important issue is that the host side drivers are absolutely
reliable which takes a major load out of your development cycle.

My FTDI/MC9S12 designs easily support 300 kilobytes / sec, which is
faster than most applications require except for disc drives and the
like. The trick with the parallel version is to set up an interrupt
for incoming data, but then switch off the interrupt after the first
character, start a timer, and then don't read the buffer until a few
10's or 100's of microseconds later when the current packet has fully
arrived. Then just transfer all the data that's in the buffer, then
re-enable the interrupt. The usefullness of this technique depends
on how your data is structured, but for maximum throughput take
advantage of the FTDI's buffer and don't get bogged down in an
interrupt per character if you don't have to. This keeps lots
of "interrupt time" available for other peripherals like the SCI's
etc.

Bill T.
http://www.kupercontrols.com --- In 68HC12@68HC..., robmilne@w... wrote:
>
> > www.ftdichip.com
>
> The RS232->USB chip is a good recommendation if you need something
quick.
> 3M baud sounds impressive but how will your 9s12 sci get that kind
of
> performance? This sol'n requires minimal driver dev.
>
> The parallel version sounds decent (1MByte/sec) but it looks like
FTDI...
Disadvantages (from what little I have gleaned from the FTDI
> site) are you don't choose the transfer type and you don't get
anywhere
> the possible 12MByte/sec with USB 1.1 in bulk transfer mode.



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.   Details Here!


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

RE: Re: USB and MC6S12DP256B - rama...@... - Apr 11 23:34:00 2005

Hi
I use Philips PDIUSBD12 for providing USB connectivity
regards
Ramana

-----Original Message-----
From: tonalbuilder2002 [mailto:twentiethwave@twen...]
Sent: Tuesday, April 12, 2005 3:06 AM
To: 68HC12@68HC...
Subject: [68HC12] Re: USB and MC6S12DP256B

The biggest disadvantage of the FTDI chips may be that you can't
direct your data to more than one "end point" buffer which makes you
work a little harder to sort out commands from data. Even so, I have
done USB both ways, and it is a LOT easier to get a USB peripheral
going with the FTDI chips than with more traditional approaches.
Another important issue is that the host side drivers are absolutely
reliable which takes a major load out of your development cycle.

My FTDI/MC9S12 designs easily support 300 kilobytes / sec, which is
faster than most applications require except for disc drives and the
like. The trick with the parallel version is to set up an interrupt
for incoming data, but then switch off the interrupt after the first
character, start a timer, and then don't read the buffer until a few
10's or 100's of microseconds later when the current packet has fully
arrived. Then just transfer all the data that's in the buffer, then
re-enable the interrupt. The usefullness of this technique depends
on how your data is structured, but for maximum throughput take
advantage of the FTDI's buffer and don't get bogged down in an
interrupt per character if you don't have to. This keeps lots
of "interrupt time" available for other peripherals like the SCI's
etc.

Bill T.
http://www.kupercontrols.com --- In 68HC12@68HC..., robmilne@w... wrote:
>
> > www.ftdichip.com
>
> The RS232->USB chip is a good recommendation if you need something
quick.
> 3M baud sounds impressive but how will your 9s12 sci get that kind
of
> performance? This sol'n requires minimal driver dev.
>
> The parallel version sounds decent (1MByte/sec) but it looks like
FTDI...
Disadvantages (from what little I have gleaned from the FTDI
> site) are you don't choose the transfer type and you don't get
anywhere
> the possible 12MByte/sec with USB 1.1 in bulk transfer mode.
Yahoo! Groups Links
* * * * * * * * * * * *
Information contained in this electronic mail transmission is confidential
and intended to be sent only to the stated recipient of the transmission. If
you are not the intended recipient, you are hereby notified that any review,
use, dissemination, distribution or copying of this communication is
strictly prohibited. You are also asked to notify us immediately and to
delete this transmission with any attachments and destroy all copies in any
form. Thankyou. [Non-text portions of this message have been removed]




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )