I recently decided it was time for me to better understand how GNU Make is used to build a project with more than say 3 or 4 files.
I used the STM32F4Discovery demo's Makefile as a reference.
Theres a writeup at: https://www.theunterminatedstring.com/gnu-make-by-example/
I feel this ...
Search found 24 matches
- Thu Feb 02, 2017 11:56 pm
- Forum: User Projects
- Topic: Understanding Make by using ChibiOS as an Example
- Replies: 1
- Views: 3448
- Mon Nov 21, 2016 4:40 pm
- Forum: General Support
- Topic: Producer from ISRs Example / S-Locked Query
- Replies: 3
- Views: 6190
Re: Producer from ISRs Example / S-Locked Query
Thanks for your reply. I had my suspicions about this but was hoping someone could confirm the behaviour.
Presumably then threads which were suspended as a result of normal scheduling, as opposed to the user making a blocking API call are not relocked? Since the chSysLock() call was not made by the ...
Presumably then threads which were suspended as a result of normal scheduling, as opposed to the user making a blocking API call are not relocked? Since the chSysLock() call was not made by the ...
- Mon Nov 21, 2016 12:36 am
- Forum: General Support
- Topic: Producer from ISRs Example / S-Locked Query
- Replies: 3
- Views: 6190
Producer from ISRs Example / S-Locked Query
Hello,
I'd like to implement some form of producer ISR, consumer thread queue and found the following page:
m
I'm trying to make sense of the "Producer from ISRs" example.
I was hoping someone would be able to help explain the behaviour of qConsume():
⋅ chSysLock() disables ...
I'd like to implement some form of producer ISR, consumer thread queue and found the following page:
m
I'm trying to make sense of the "Producer from ISRs" example.
I was hoping someone would be able to help explain the behaviour of qConsume():
⋅ chSysLock() disables ...
- Sun Jul 10, 2016 9:19 pm
- Forum: ChibiOS/RT
- Topic: Chibios + LWIP - No broadcast
- Replies: 1
- Views: 2846
Re: Chibios + LWIP - No broadcast
TCP is connection oriented, and I don't think broadcast TCP makes sense.
- Mon May 16, 2016 7:06 pm
- Forum: STM32 Support
- Topic: I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discovery
- Replies: 5
- Views: 11168
Re: I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discovery
Sorry to resurrect an old post but I had shelved this project for a while due to other commitments. Recently I found the time to look into it again, and stumbled across this thread in one of my searches.
I put a post together detailing how to sample the MP45DT02 and use the PDM data. It can be ...
I put a post together detailing how to sample the MP45DT02 and use the PDM data. It can be ...
- Sat Jan 09, 2016 8:49 pm
- Forum: Development and Feedback
- Topic: [INFO] Preparing for 16.1.0 release
- Replies: 5
- Views: 4540
Re: [INFO] Preparing for 16.1.0 release
Note that I decided for a different development cycle. I wish to have faster releases, so in future we will focus on one major feature per release in order to not destabilize the code base. No more stable/unstable cycles. Point Releases will be marked by <year>.<month>.<patch>.
Giovanni
I'm ...
- Thu Oct 02, 2014 12:02 am
- Forum: STM32 Support
- Topic: I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discovery
- Replies: 5
- Views: 11168
Re: I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discove
Hmm stumbled across the answer to one of my problems... why 32 kHz sampling rate works. Since I2S is 2 channel, 32 kHz audio sampling results in a clock of twice that rate. That makes some of the math a lot clearer. Also grabbed the source for the stdperiph_lib, which I'll review when I get a chance.
- Wed Oct 01, 2014 8:23 pm
- Forum: STM32 Support
- Topic: I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discovery
- Replies: 5
- Views: 11168
Re: I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discove
Thanks Giovanni,
But I'm still unsure of what I2S clock frequency I need to be aiming for to achieve 1.024 MHz PDM sampling.
I can set the PLL OK, but then I've got:
I2SDIV, ODD, MCKOE, I2SMOD, CHLEN - basically all the I2S configuration to worry about.
So the formula on page 893 for instance is ...
But I'm still unsure of what I2S clock frequency I need to be aiming for to achieve 1.024 MHz PDM sampling.
I can set the PLL OK, but then I've got:
I2SDIV, ODD, MCKOE, I2SMOD, CHLEN - basically all the I2S configuration to worry about.
So the formula on page 893 for instance is ...
- Wed Oct 01, 2014 1:33 pm
- Forum: STM32 Support
- Topic: I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discovery
- Replies: 5
- Views: 11168
I2S Interfacing with MP45DT02 PDM Mic on STM32F4 Discovery
Hi guys,
I also posted this in ST's E2E support but there doesn't seem to be anyone about who's worked with this so thought I would try my luck here.
I've been racking my head trying to make sense of how to correctly configure the I2S Hardware to interface with the MP45DT02 microphone. I've been ...
I also posted this in ST's E2E support but there doesn't seem to be anyone about who's worked with this so thought I would try my luck here.
I've been racking my head trying to make sense of how to correctly configure the I2S Hardware to interface with the MP45DT02 microphone. I've been ...
- Tue Sep 16, 2014 10:06 am
- Forum: STM32 Support
- Topic: Repeated Start on I2C?
- Replies: 4
- Views: 4190
Re: Repeated Start on I2C?
I interfaced this sensor to a STM32L1 some time ago and don't recall any issues.
The code here might be of some help to you: https://github.com/alanbarr/ChibiOS_Sensors/tree/master/MPL3115A2
The code here might be of some help to you: https://github.com/alanbarr/ChibiOS_Sensors/tree/master/MPL3115A2