Search found 92 matches

by goeck
Fri Oct 24, 2014 8:22 pm
Forum: Development and Feedback
Topic: [INFO] ChibiOS 2.6->3.0 porting guide
Replies: 33
Views: 10657

Re: [INFO] ChibiOS 2.6->3.0 porting guide

Oh alright, so just a misunderstanding. No worries. I actually kind of found the caus e of my issue, at least at the moment after some simple testing it seems so. Event catching and reaction worked fine pretty soon, but there was stuff in the input queue that jammed everything. Somehow the following...
by goeck
Fri Oct 24, 2014 3:05 pm
Forum: Development and Feedback
Topic: [INFO] ChibiOS 2.6->3.0 porting guide
Replies: 33
Views: 10657

Re: [INFO] ChibiOS 2.6->3.0 porting guide

ChibiStudio / Eclipse doesn't take me to the source file you mentioned when trying to digg deeper into the code. That's why I was thinking, there might have been a change, though it compiles with Q_TIMEOUT used. Actually I test the flags against CHN_INPUT_AVAILABLE as this was the proposed solution ...
by goeck
Fri Oct 24, 2014 12:59 pm
Forum: Development and Feedback
Topic: [INFO] ChibiOS 2.6->3.0 porting guide
Replies: 33
Views: 10657

Re: [INFO] ChibiOS 2.6->3.0 porting guide

Yeah, you're right, Giovanni. I had a look at the new test and demo programs, maybe this disturbed my understanding a little bit. Now I got everything set up again, on flaw is left. Testing the flag against CHN_INPUT_AVAILABLE doesn't seem to work. I have to skip the test and just do it, hardcoded. ...
by goeck
Thu Oct 23, 2014 8:17 pm
Forum: Development and Feedback
Topic: [INFO] ChibiOS 2.6->3.0 porting guide
Replies: 33
Views: 10657

Re: [INFO] ChibiOS 2.6->3.0 porting guide

Maybe I am a little lost...I try to migrate from 2.6.4 to 3.0 which I grabbed from SVN. Everything went well, but the migration of the event listening stuff. I do UART event listening... It seems to me like flags stuff is gone and has somehow been replaced but also reordered. Something is missing to...
by goeck
Wed Apr 23, 2014 2:52 pm
Forum: STM32 Support
Topic: SPI has delays and quirky line behaviour
Replies: 9
Views: 2300

Re: SPI has delays and quirky line behaviour

Ah, nice. I just read the Programming Manual, Reference Manual and Datasheet of the STM32 and found something that saved my day. There is a SPI feature called NSS Pulse, which actually exactly does what I want. After each byte in a consecutive byte sending, a toggle is executed on the NSS pin, one h...
by goeck
Tue Apr 22, 2014 9:08 am
Forum: STM32 Support
Topic: SPI has delays and quirky line behaviour
Replies: 9
Views: 2300

Re: SPI has delays and quirky line behaviour

Hey, I just figured out, I could use polled exchange (for testing purposes at least), since it's implemented in the LLD. See what I've got with that portion of code: uint8_t dSPIN_Write_Byte(uint8_t byte) { static uint8_t spiBufferTx[1] = { 0 }; static uint8_t spiBufferRx[1] = { 0 }; spiBufferTx[0] ...
by goeck
Thu Apr 17, 2014 1:08 pm
Forum: STM32 Support
Topic: SPI has delays and quirky line behaviour
Replies: 9
Views: 2300

Re: SPI has delays and quirky line behaviour

Hey Giovanni,

I also want to use I2C in the project... As far as I read, I have to start/stop each DMA demanding service for each usage, so they don't interfere with each other and do fights over hardware usage.
by goeck
Thu Apr 17, 2014 12:15 pm
Forum: STM32 Support
Topic: SPI has delays and quirky line behaviour
Replies: 9
Views: 2300

Re: SPI has delays and quirky line behaviour

Hey Giovanni, thanks for your thoughts. I looked up the datasheet SPI section of the L6470 and have to say, I was right. datasheet_L6470_SPI.png I also deleted the aquire-functions, but nothing changed. Also I made use of only a send function, instead of a exchange, no improvement. I even used the c...
by goeck
Wed Apr 16, 2014 1:27 pm
Forum: STM32 Support
Topic: SPI has delays and quirky line behaviour
Replies: 9
Views: 2300

SPI has delays and quirky line behaviour

Hey everyone, I need a hint on the SPI peripheral optimization. I am using a L6470 dSPIN device at the SPI bus attached to a STM32F0Discovery, which pretty much works. If I look at the lines, I see ugly stuff though and I want to get rid of that, maybe one has some advices for me. Please have a look...
by goeck
Tue Apr 08, 2014 2:48 pm
Forum: ChibiStudio
Topic: Builder gone after update
Replies: 2
Views: 1504

Re: Builder gone after update

Alright. I copied the build sections from the working project file into the broken one <buildSpec> <buildCommand> <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <triggers>clean,full,incremental,</triggers> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.cdt...

Go to advanced search