M
Mark
Checking communication with PDIUSBD12
Hello,
At the moment I am writing a C program with WINAVR to interface the
ATmega with the PDIUSBD12 USB chip. I have attached the schematic of
the USB part onto this message.
I rewrote the C-source of a project with the PDIUSBD11 (from
http://www.beyondlogic.org) and changed it for the PDIUSBD12. The code
works perfect with the PDIUSBD11, but the modified code doesn't work
with the PDIUSBD12. I don't even know if the AVR communicates properly
with PDIUSBD12. I noticed in the Philips PDIUSBD12 source that you can
read out the PDIUSBD12 chip ID (command 0xFD and read 2 bytes). What
response should I get from the PDIUSBD12 or how can I check that the
communication is correct between the AVR and PDIUSBD12?
I don't use the 'A0' pin from the PDIUSBD12 (since ALE is used and the
datasheet tells me to connect 'A0' with Vcc). Is the schematic
correct?
Thanks in advance for your help.
Regards,
Mark
Hello,
At the moment I am writing a C program with WINAVR to interface the
ATmega with the PDIUSBD12 USB chip. I have attached the schematic of
the USB part onto this message.
I rewrote the C-source of a project with the PDIUSBD11 (from
http://www.beyondlogic.org) and changed it for the PDIUSBD12. The code
works perfect with the PDIUSBD11, but the modified code doesn't work
with the PDIUSBD12. I don't even know if the AVR communicates properly
with PDIUSBD12. I noticed in the Philips PDIUSBD12 source that you can
read out the PDIUSBD12 chip ID (command 0xFD and read 2 bytes). What
response should I get from the PDIUSBD12 or how can I check that the
communication is correct between the AVR and PDIUSBD12?
I don't use the 'A0' pin from the PDIUSBD12 (since ALE is used and the
datasheet tells me to connect 'A0' with Vcc). Is the schematic
correct?
Thanks in advance for your help.
Regards,
Mark