This could be a promising platform to publish a book on: https://www.gitbook.io/
Abhishek
Search found 266 matches
- Fri Aug 22, 2014 2:18 pm
- Forum: Development and Feedback
- Topic: [NEWS] The ChibiOS Book
- Replies: 71
- Views: 33348
- Fri Aug 22, 2014 11:33 am
- Forum: User Projects
- Topic: Post your PCB
- Replies: 36
- Views: 24084
Re: Post your PCB
I built an expansion board for the F4Discovery some time back. About: http://www.theembeddedkitchen.net/stm32/an-expansion-board-for-the-stm32f4discovery/ Audio player based on it: http://www.theembeddedkitchen.net/stm32/cs43l22-audio-playback-and-sdio-stm32f4discovery-board/ Pics: Boardception ( A ...
- Thu Jul 31, 2014 11:21 pm
- Forum: STM32 Support
- Topic: I2C & I2S Dialog Implementation
- Replies: 7
- Views: 3324
Re: I2C & I2S Dialog Implementation
You need to send some dummy data to the codec in order to hear sound
You could, for example, run the DMA in circular mode with no address increment to achieve this, the flags can be seen in the transfer function.
Abhishek
You could, for example, run the DMA in circular mode with no address increment to achieve this, the flags can be seen in the transfer function.
Abhishek
- Fri Apr 18, 2014 8:32 pm
- Forum: General Support
- Topic: Building a static library
- Replies: 14
- Views: 9127
Re: Building a static library
From what I understand ChibiOS as a whole will perhaps not be able to be linked as is because of the interrupt tables that are getting linked in as well, the application entry point is actually in vectors.c of the particular ChibiOS port (in this case under /ports/GCC/... ) and indeed if it could be...
- Mon Feb 17, 2014 3:56 pm
- Forum: STM32 Support
- Topic: I2S/SPI DMA RX from audio chip not firing interrupts
- Replies: 14
- Views: 11966
Re: I2S/SPI DMA RX from audio chip not firing interrupts
The PC3 pin is being used by the on-board PDM mic. Is there a logic contention?
Or, try changing CPOL bit in I2SCFGR and see if it has any effect.
Best Regards
Abhishek
Or, try changing CPOL bit in I2SCFGR and see if it has any effect.
Best Regards
Abhishek
- Sun Feb 16, 2014 8:42 am
- Forum: STM32 Support
- Topic: I2S/SPI DMA RX from audio chip not firing interrupts
- Replies: 14
- Views: 11966
Re: I2S/SPI DMA RX from audio chip not firing interrupts
There seems to be an error in GPIO initialization. PAL_MODE_OUTPUT_PUSHPULL conflicts with PAL_MODE_ALTERNATE(5). Change this from: void initI2S() { palSetPadMode(I2S_CLK_PORT, I2S_CLK_PIN, PAL_MODE_OUTPUT_PUSHPULL | PAL_MODE_ALTERNATE(5) | PAL_STM32_OSPEED_HIGHEST); palSetPadMode(I2S_DATA_PORT, I2S...
- Sat Feb 15, 2014 6:03 pm
- Forum: STM32 Support
- Topic: Check HSE using MCO
- Replies: 3
- Views: 3387
Re: Check HSE using MCO
Yes, see this in mcuconf.h #define STM32_MCO1SEL STM32_MCO1SEL_HSI // Select clock source here #define STM32_MCO1PRE STM32_MCO1PRE_DIV1 // MCO = fClk / Prescale value #define STM32_MCO2SEL STM32_MCO2SEL_SYSCLK #define STM32_MCO2PRE STM32_MCO2PRE_DIV5 You have to modify these lines. Regards Abhishek
- Sat Feb 15, 2014 11:18 am
- Forum: STM32 Support
- Topic: I2S/SPI DMA RX from audio chip not firing interrupts
- Replies: 14
- Views: 11966
Re: I2S/SPI DMA RX from audio chip not firing interrupts
IMO it would be easier to use I2S3/CS43L22 to play back for a test. Making sense of the microphone data requires use of a decimation filter on the received data. I am planning to make a demo including this PDM magic next week, after my exams end.
Regards
Abhishek
Regards
Abhishek
- Sat Feb 15, 2014 6:31 am
- Forum: STM32 Support
- Topic: I2S/SPI DMA RX from audio chip not firing interrupts
- Replies: 14
- Views: 11966
Re: I2S/SPI DMA RX from audio chip not firing interrupts
Hello chiVelle, I fixed the issue for myself, and I believe you are facing the same issue as well. If everything is configured properly, there is no question of not receiving an interrupt when the transfer completes. Unless the DMA itself is not configured properly, or if, the DMA pointer refers to ...
- Sat Feb 15, 2014 4:58 am
- Forum: STM32 Support
- Topic: Check HSE using MCO
- Replies: 3
- Views: 3387
Re: Check HSE using MCO
Once you set MCO configuration in mcuconf.h, and set the appropriate GPIO port to Alternate function 0, you should be able to receive the system clock output on that particular pin.
Regards
Abhishek
Regards
Abhishek