Search found 20 matches

by M1Sports20
Tue Apr 21, 2015 3:37 am
Forum: ChibiOS/NIL
Topic: NIL with events
Replies: 2
Views: 32327

Re: NIL with events

Thanks for you description.

It works perfectly.
by M1Sports20
Sat Apr 18, 2015 6:21 am
Forum: ChibiOS/NIL
Topic: NIL with events
Replies: 2
Views: 32327

NIL with events

I haven't really deep a deep dive in the code yet, but I was looking into NIL.

Does NIL support registering a thread with an event and then having a thread wait until an event was posted. For example, could I use the sdu driver with NIL.
I noticed events are a little bit different betwen NIL and RT ...
by M1Sports20
Sun Dec 21, 2014 3:21 pm
Forum: STM32 Support
Topic: STM32F07x USB and HSI48 Support
Replies: 32
Views: 25502

Re: STM32F07x USB and HSI48 Support

I agree that the RM is not clear about the change they made to the USB peripheral.
Sorry I forgot to mention that the USB RAM buffer is shared with the CAN memory. I knew this and did not implement it because I wasn't sure how you handled situations like this in ChibiOS.

Once again, thank you for ...
by M1Sports20
Tue Nov 25, 2014 6:39 am
Forum: STM32 Support
Topic: STM32F07x USB and HSI48 Support
Replies: 32
Views: 25502

Re: STM32F07x USB and HSI48 Support

Sorry for the delay,

Here is some test code that should work for STM32F072-Discovery. When USB is working this example should enumerate as a USB mouse device and move the mouse back and forth.
Here are the steps I suggest for showing that a patch is needed to support USB on STM32[F|L]0 devices.

0 ...
by M1Sports20
Wed Nov 19, 2014 12:00 am
Forum: STM32 Support
Topic: STM32F07x USB and HSI48 Support
Replies: 32
Views: 25502

Re: STM32F07x USB and HSI48 Support

We will have to have a USB application that works on the STM32F072 Discovery. After that I would like to see if the application runs without applying a specific patch. I believe it will not work.
I can give more detailed instructions later, either sometime today or tomorrow.

I have created my own ...
by M1Sports20
Mon Nov 17, 2014 5:22 pm
Forum: STM32 Support
Topic: STM32F07x USB and HSI48 Support
Replies: 32
Views: 25502

Re: STM32F07x USB and HSI48 Support

Hello,

Without this patch the F0 series USB won't work. I wonder if anyone on this forum has an STM32F072B-DISCOVERY to give you a second datapoint that this change needs to be made for the F0 series to support USB.

Unfortunately, the documentation shows this difference in a very subtle way and is ...
by M1Sports20
Mon Nov 17, 2014 3:50 pm
Forum: STM32 Support
Topic: STM32F05X - latest 3.x repository
Replies: 2
Views: 2876

Re: STM32F05X - latest 3.x repository

Giovanni,

Sorry about this extra #endif. I have know clue how it got pass my testing, yet alone compiling.

Thanks,
Michael
by M1Sports20
Mon Nov 17, 2014 3:55 am
Forum: STM32 Support
Topic: STM32F07x USB and HSI48 Support
Replies: 32
Views: 25502

Re: STM32F07x USB and HSI48 Support

Makes sense. Although, I believe the new L0 series also has the new access mode.

By the way, I believe I kind of found a bug in the USBv1 driver. BTABLE is multiplied by 2, looking at the datasheet I do not know why this occurs. Anyways, it doesn't matter because currently BTABLE is defined to be 0 ...
by M1Sports20
Sun Nov 16, 2014 8:33 pm
Forum: STM32 Support
Topic: STM32F07x USB and HSI48 Support
Replies: 32
Views: 25502

Re: STM32F07x USB and HSI48 Support

Thanks for this open source project and working with me. Your easy to work with and make working with this project an enjoyable experience.

When the new #define flag is set to FALSE there should be no changes to existing products, but yes I understanding when changing existing code there is a risk ...
by M1Sports20
Sun Nov 16, 2014 5:54 pm
Forum: STM32 Support
Topic: STM32F07x USB and HSI48 Support
Replies: 32
Views: 25502

Re: STM32F07x USB and HSI48 Support

As for part "last byte for odd numbers" and checking for 2 3 4 with uint32:

To summarize what I have read from the ST reference manuals:
The USB data in ST parts is always 16 bits wide. This patch just accounts for the difference between how ST packs the data differently between modes(different ...