Search found 7 matches

by wang701
Thu Mar 27, 2014 7:44 pm
Forum: STM32 Support
Topic: I2S Driver for 2.6.3 (STMF4-Discovery)
Replies: 7
Views: 4176

Re: I2S Driver for 2.6.3 (STMF4-Discovery)

Giovanni wrote:Soon there will be a 2.x->3.0 migration guide.


Do you know probably how soon will it be available? Maybe in a week or a month?
by wang701
Thu Mar 27, 2014 4:38 pm
Forum: STM32 Support
Topic: I2S Driver for 2.6.3 (STMF4-Discovery)
Replies: 7
Views: 4176

Re: I2S Driver for 2.6.3 (STMF4-Discovery)

Quick side question: after I download the files from the 3.0 branch, do I copy and replace the existing files in my 2.6.x to make it work? I guess there would be some nuances in function calls between versions so that my existing code in 2.6.x will cause a problem?
by wang701
Thu Mar 27, 2014 4:28 pm
Forum: STM32 Support
Topic: I2S Driver for 2.6.3 (STMF4-Discovery)
Replies: 7
Views: 4176

Re: I2S Driver for 2.6.3 (STMF4-Discovery)

Thanks!
by wang701
Thu Mar 27, 2014 4:17 pm
Forum: STM32 Support
Topic: I2S Driver for 2.6.3 (STMF4-Discovery)
Replies: 7
Views: 4176

Re: I2S Driver for 2.6.3 (STMF4-Discovery)

Where could I download the version 3.0.0? Is it branch kernel_3_dev on github?

On github, ChibiOS/RT's master branch has version 2.7.0 and it has i2s implementation. Which one should I choose?
by wang701
Thu Mar 27, 2014 4:54 am
Forum: STM32 Support
Topic: I2S Driver for 2.6.3 (STMF4-Discovery)
Replies: 7
Views: 4176

I2S Driver for 2.6.3 (STMF4-Discovery)

I am currently using the stable 2.6.3 version but in os\hal\src folder, I see no i2s.c file.

Does that mean i2s is currently not fully implemented in 2.6.3? I've seen examples of i2s written in 2.5.1 and on github, on chibios's branch, kernel_3_dev, in os\hal\src folder, there is i2s driver written ...
by wang701
Wed Mar 19, 2014 9:22 pm
Forum: STM32 Support
Topic: STM32F4-Discovery ST7565 Driver
Replies: 2
Views: 4012

Re: STM32F4-Discovery ST7565 Driver

I discovered the problem.

The clearing and drawing functions are correct; it's the 0xa5 command that caused the every dots to be turned on constantly. Even though the Clear() function is applied.

By getting rid of the 0xa5 value, the LCD displays the characters quite well.
by wang701
Wed Mar 19, 2014 8:29 pm
Forum: STM32 Support
Topic: STM32F4-Discovery ST7565 Driver
Replies: 2
Views: 4012

STM32F4-Discovery ST7565 Driver

Hi all, I am pretty new to ChibiOS and I want to write an driver for ST7565 controller.

I have pre-existing C code for initialization and drawing characters on the LCD without using ChibiOS but want to implement this driver with ChibiOS.

Here is the code for main.c:
/*
ChibiOS/RT - Copyright (C ...