Search found 7 matches

by 7znakow
Thu Sep 10, 2015 3:23 pm
Forum: STM32 Support
Topic: Possible bug in I2C driver shifting adress.
Replies: 2
Views: 1998

Re: Possible bug in I2C driver shifting adress.

Oh, yes compatibility, now that make sense. I've been looking only from 7 bit adress perspective.
by 7znakow
Thu Sep 10, 2015 2:08 pm
Forum: STM32 Support
Topic: Possible bug in I2C driver shifting adress.
Replies: 2
Views: 1998

Possible bug in I2C driver shifting adress.

After some battle with stm32f4discovery board and built-in DAC(CS43l22) I disovered why I couldn't receive ACK signal. The problem was that everytime when I tried to make a transfer, address of device was shifted by 1 to the left (addr << 1) that's why DAC 0x94 addres became 0x128. I have discovered ...
by 7znakow
Thu Jul 18, 2013 9:06 pm
Forum: General Support
Topic: USB Audio Device - Stm32f4Discovery
Replies: 14
Views: 16941

Re: USB Audio Device - Stm32f4Discovery

Ok, I'm attaching project. No news from iggarpe, I will probaly write to him tomorrow.
Code could be little messy, main problem is device start, probably I'm missing something small but I can't open pipe and because of this device can't start.
by 7znakow
Thu Jul 18, 2013 7:47 pm
Forum: General Support
Topic: USB Audio Device - Stm32f4Discovery
Replies: 14
Views: 16941

Re: USB Audio Device - Stm32f4Discovery

No one can help?
by 7znakow
Mon Jul 15, 2013 6:32 pm
Forum: General Support
Topic: USB Audio Device - Stm32f4Discovery
Replies: 14
Views: 16941

Re: USB Audio Device - Stm32f4Discovery

Device is addressed, but the endpoint is not open. Here are descriptor and configuration from debug

Connection Status Device connected
Current Configuration 1
Speed Full (12 Mbit/s)
Device Address 3
Number Of Open Pipes 0

Device Descriptor ChibiOS/RT Virtual COM Port
Offset Field Size Value ...
by 7znakow
Mon Jul 15, 2013 3:01 pm
Forum: General Support
Topic: USB Audio Device - Stm32f4Discovery
Replies: 14
Views: 16941

Re: USB Audio Device - Stm32f4Discovery

I spoke to iggarpe and he said that he has solution for it, I'm waiting now for it. For now I just want to pass enumeration and run the device using generic drivers. My goal is to build simple audio interface. I chosen Stm32f4Discovery because I bought it some time ago, if You have better idea for ...
by 7znakow
Mon Jul 15, 2013 1:21 pm
Forum: General Support
Topic: USB Audio Device - Stm32f4Discovery
Replies: 14
Views: 16941

USB Audio Device - Stm32f4Discovery

Hi,
I'm new in ChibiOS and usb applications, but I want to develop simple USB Desktop speaker using USB Audio Class 2.0 and I have problems with that.
I don't know how exactly initialize device, and how to handle requests from host. I found only one sample code in internet using freescale stack but ...