Search found 671 matches

by steved
Wed Mar 26, 2014 9:41 am
Forum: STM32 Support
Topic: I2C and SPI potential DMA conflict
Replies: 4
Views: 2082

Re: I2C and SPI potential DMA conflict

I would suggest that the common difference in speed between SPI and I2C is about a factor of 100. That is, 0.1 Mbit/s vs 10 Mbit/s. In my experience I2C generally is used to transfer small blocks of data on the order of 3 bytes to 100 bytes per message (and usually at 100 kHz). With its much higher...
by steved
Sun May 12, 2013 10:24 pm
Forum: ChibiStudio
Topic: ChibiStudio preview 4
Replies: 14
Views: 6383

Re: ChibiStudio preview 4

It did show up for a while.

Probably explains why my download aborted part way through.
by steved
Thu May 09, 2013 1:29 pm
Forum: General Support
Topic: chVTSetI infinite loop
Replies: 5
Views: 1679

Re: chVTSetI infinite loop

Giovanni wrote:Hi,

This is scheduled for 3.0, I don't to break the API for the current version.

Giovanni

Could it be achieved with a new function retriggerTimer()?

Or, better still, createOrRetriggerTimer()?

(I often have a need for the retriggerTimer() function - mainly for comms timeouts and the like)
by steved
Thu May 09, 2013 1:24 pm
Forum: Development and Feedback
Topic: [RFC] Changes to the I2C driver API
Replies: 12
Views: 3540

Re: [RFC] Changes to the I2C driver API

I have done some work on an interrupt-driven receive, and came up with an interface which extends the existing structures but keeps the same interface. For me, it is important to be able to swap between interrupt-driven (i.e. variable receive length) and DMA-driven (or, at least, fixed receive lengt...
by steved
Fri Apr 19, 2013 6:24 pm
Forum: Development and Feedback
Topic: [DONE] I2C driver for STM32F0
Replies: 51
Views: 17109

Re: [DONE] I2C driver for STM32F0

In the course of finding some problems in my code, I had a closer look at some of the flow within the I2C driver. I'm not sufficiently familiar with the entrails of ChiboOS to say that there is definitely a problem, but there looked to be a couple of places where interrupts might cause some receive-...
by steved
Wed Apr 10, 2013 5:55 pm
Forum: Development and Feedback
Topic: [DONE] I2C driver for STM32F0
Replies: 51
Views: 17109

Re: [DONE] I2C driver for STM32F0

Given things a better test - works with both short and long data transfers, and on two different sets of hardware (Discovery and board of my own build), and with three different devices (DS2483, FM24V02, DS1340). All looks good to me. Also discovered that the ADC driver is suffering from lack of def...
by steved
Wed Apr 10, 2013 9:20 am
Forum: Development and Feedback
Topic: [INFO] Sourceforge ChibiOS project being updated
Replies: 24
Views: 5303

Re: [INFO] Sourceforge ChibiOS project being updated

Dmytro wrote:PS. I'm a command line person so I don't know whether there is the problem with tortoiseGit and tortoiseSvn.

They do work together - you potentially lose some of the pretty 'status' icons against files in Windoze explorer, which is a Windows constraint (one of the Tortoise sites does explain it).
by steved
Wed Apr 10, 2013 9:16 am
Forum: Development and Feedback
Topic: [DONE] I2C driver for STM32F0
Replies: 51
Views: 17109

Re: [DONE] I2C driver for STM32F0

Been trying to track down an unhandled exception on this new code, and found a couple of things: 1. In the stm32f0 dma driver, the DMA ISRs are defined as function names, apparently with no define to link them with 'Vector64', 'Vector68' and 'Vector6C'. This was the cause of my exception. I suspect ...
by steved
Tue Apr 09, 2013 1:23 pm
Forum: Development and Feedback
Topic: [INFO] Sourceforge ChibiOS project being updated
Replies: 24
Views: 5303

Re: [INFO] Sourceforge ChibiOS project being updated

Hi, Already tried it, it conflicts with Tortoise SVN and corrupts the Windows desktop icons when used together. Giovanni I've ended up using both SVN and Git (and CVS!), and while they do 'visually' clash when installed on the same machine, they do still all work. As someone who doesn't use version...
by steved
Tue Apr 09, 2013 8:58 am
Forum: Development and Feedback
Topic: [INFO] Sourceforge ChibiOS project being updated
Replies: 24
Views: 5303

Re: [INFO] Sourceforge ChibiOS project being updated

Small point for anyone switching to the new repository - the svn:: protocol uses port 3690 - so if you have a firewall which defaults to prohibiting all outgoing traffic not specifically enabled, the port needs opening.

Go to advanced search