Search found 20 matches

by z80
Wed Aug 12, 2015 1:09 am
Forum: STM32 Support
Topic: Using SPI with callback on STM32F103
Replies: 2
Views: 3229

Re: Using SPI with callback on STM32F103

I'm sorry, it seems to me I've found the problem. That's pure IDE problem. Due to some reason breakpoint in callback routine doesn't trigger. I changed it to LED toggling. And I see it's blinking.
by z80
Tue Aug 11, 2015 2:13 am
Forum: STM32 Support
Topic: Using SPI with callback on STM32F103
Replies: 2
Views: 3229

Using SPI with callback on STM32F103

Hello,

My microcontroller is STM32F103CBT6 . I have the following problem. I can't make SPI work with callback. I took "testhal\STM32F1xx\SPI" example and replaced NULL in configuration structure with my callback and replaced spiExchange() with spiStartReceive() routine with no result. Is there ...
by z80
Fri Dec 06, 2013 12:26 pm
Forum: STM32 Support
Topic: Using DFU firmware at default 0x800000 address.
Replies: 3
Views: 4504

Re: Using DFU firmware at default 0x800000 address.

Thank you very much for the explanation! It seems to me setting CORTEX_VTOR_INIT #define should solve the problem.
by z80
Thu Dec 05, 2013 6:47 pm
Forum: STM32 Support
Topic: Using DFU firmware at default 0x800000 address.
Replies: 3
Views: 4504

Using DFU firmware at default 0x800000 address.

Hello!

I would like my custom DFU software run just before main ChibiOS firmware. So I tried flashing that DFU firmware at the very beginning of the flash memory. And I uploaded main firmware 10kB after that. When I use simple firmware without use of ChibiOS or with chibios routines commented ...
by z80
Thu Nov 07, 2013 9:01 am
Forum: User Projects
Topic: Raspberry Pi scriptable extension board.
Replies: 3
Views: 5649

Re: Raspberry Pi scriptable extension board.

Hello again!

The board turned out to be very usable. At least for me and for a friend of mine So I decided to publish information about the board and its applications at a web-site to introduce the board better and to collect any sort of feedback from people over the World. I'd like to make it as ...
by z80
Mon Nov 04, 2013 3:29 pm
Forum: User Projects
Topic: Raspberry Pi scriptable extension board.
Replies: 3
Views: 5649

Raspberry Pi scriptable extension board.

Hello!

I've made a board which runs under Chibios control and could be used either alone or coupled with Raspberry Pi computer. It is scriptable using Pawn language. It has relatively powerful adjustable voltage converters. So it can use almost any powerful enough voltage source. It can feed ...
by z80
Wed Feb 20, 2013 9:20 am
Forum: User Projects
Topic: one wire library
Replies: 7
Views: 13892

Re: one wire library

you can measure current from usart pin, it should never be more than 3.3/Rpullup
Thank you for the explanation! But how can I measure that current? My multimeter can't do that - it needs a few seconds to perform measurement. And here duration is as long as 1/115200 * 8 = 69us.

As I understand ...
by z80
Tue Feb 19, 2013 7:47 pm
Forum: User Projects
Topic: one wire library
Replies: 7
Views: 13892

Re: one wire library

Hello!

I have a question related to hardware for using 1-WIRE network with suggested library. I'd be very much obliged if one could explain me.

As I understand 1-Wire there should be open drain output type on a signal wire to prevent output vs output "fight". Is TX UART part configured here as ...
by z80
Wed Jan 30, 2013 7:48 pm
Forum: User Projects
Topic: I2C slave mode.
Replies: 5
Views: 6850

Re: I2C slave mode.

Dear all, I'm very sorry for so many fixes of just a couple of files but here is one more update.
Fixed I2C slave transfer mode.
i2c.zip
(15.79 KiB) Downloaded 718 times
by z80
Wed Jan 23, 2013 12:50 pm
Forum: User Projects
Topic: I2C slave mode.
Replies: 5
Views: 6850

Re: I2C slave mode.

I2C slave mode update.
Implemented receive/transmit callback functions in order to know if io takes place and update data buffers.
i2c.zip
I2C slave mode update.
(14.74 KiB) Downloaded 667 times