problem with at90can128 and avr-usb with zener diodes
Posted: Mon Mar 16, 2009 1:57 pm
Hello,
im trying to implement avr-usb with at90can128. my circuit with zener diodes. I have +3.1V on D- line and 0 on D+ line. D+ = PD0/int0,
D-=PD1 connected to at90can128. Im using 16Mhz crystal oscillator. Fuse bits programed
cksel 3..0 = 1111 (8-16Mhz)
sut 1..0 = 01 (bod enabled)
bodLevel 2..0 = 010 (2.7v)
program in controller is custom-class, hid-data in examples folder.
im configured usb config
#define USB_CFG_IOPORTNAME D
#define USB_CFG_DMINUS_BIT 1
#define USB_CFG_DPLUS_BIT 0
project in avrStudio.
project options
F_CPU=16000000UL
DEBUG_LEVEL=0
so problem is my pc not recognized the device.
what im doing wrong
im trying to implement avr-usb with at90can128. my circuit with zener diodes. I have +3.1V on D- line and 0 on D+ line. D+ = PD0/int0,
D-=PD1 connected to at90can128. Im using 16Mhz crystal oscillator. Fuse bits programed
cksel 3..0 = 1111 (8-16Mhz)
sut 1..0 = 01 (bod enabled)
bodLevel 2..0 = 010 (2.7v)
program in controller is custom-class, hid-data in examples folder.
im configured usb config
#define USB_CFG_IOPORTNAME D
#define USB_CFG_DMINUS_BIT 1
#define USB_CFG_DPLUS_BIT 0
project in avrStudio.
project options
F_CPU=16000000UL
DEBUG_LEVEL=0
so problem is my pc not recognized the device.
what im doing wrong