i add dac testhal to demo project of keil but as i mentioned i get lots of errors.
should i use former version of chibios or DAC lib??
Search found 17 matches
- Tue Sep 03, 2013 9:47 am
- Forum: STM32 Support
- Topic: DAC problem!
- Replies: 14
- Views: 9592
- Mon Sep 02, 2013 7:23 pm
- Forum: STM32 Support
- Topic: DAC problem!
- Replies: 14
- Views: 9592
Re: DAC problem!
THX for your replay
but i have STM32F407 discovery board and i want too test DAC on it.
do you hav any keil project for test DAC on that board?
but i have STM32F407 discovery board and i want too test DAC on it.
do you hav any keil project for test DAC on that board?
- Sun Sep 01, 2013 2:49 pm
- Forum: STM32 Support
- Topic: DAC problem!
- Replies: 14
- Views: 9592
Re: DAC problem!
So, what can I do with those error?
is there any other solution for using dac with chibios?
or can you send me a compiled dac demo code of mobyfab?
is there any other solution for using dac with chibios?
or can you send me a compiled dac demo code of mobyfab?
- Sun Sep 01, 2013 11:10 am
- Forum: STM32 Support
- Topic: DAC problem!
- Replies: 14
- Views: 9592
Re: DAC problem!
i used mobyfab sources and in already in os\hal\include and src are dac.h and adc.h file
what should i do? reaplace them with wath?
what should i do? reaplace them with wath?
- Sun Sep 01, 2013 6:45 am
- Forum: STM32 Support
- Topic: DAC problem!
- Replies: 14
- Views: 9592
Re: DAC problem!
i mean : os\hal\include\dac.h
- Sun Sep 01, 2013 6:43 am
- Forum: STM32 Support
- Topic: DAC problem!
- Replies: 14
- Views: 9592
Re: DAC problem!
Hi,
I download them took them from mobyfab work, from following link
https://github.com/mobyfab/ChibiOS/tree/dac
and the dac.h was there, witch directory do you mean?
I download them took them from mobyfab work, from following link
https://github.com/mobyfab/ChibiOS/tree/dac
and the dac.h was there, witch directory do you mean?
- Sat Aug 31, 2013 3:16 pm
- Forum: STM32 Support
- Topic: DAC problem!
- Replies: 14
- Views: 9592
DAC problem!
Hi all
i tried to compile DAC library (by Mobyfab) but i found lots of errors.
LINK: https://github.com/mobyfab/ChibiOS/tree/dac
and finally i found out that dac_lld.h and dac_lld.c and dac.c are not match
for example i found the following code in dac.lld.c
_dac_isr_error_code(dacp);
and ...
i tried to compile DAC library (by Mobyfab) but i found lots of errors.
LINK: https://github.com/mobyfab/ChibiOS/tree/dac
and finally i found out that dac_lld.h and dac_lld.c and dac.c are not match
for example i found the following code in dac.lld.c
_dac_isr_error_code(dacp);
and ...
- Sun Mar 24, 2013 4:03 pm
- Forum: STM32 Support
- Topic: Problem with Serial
- Replies: 24
- Views: 17249
Re: Problem with Serial
Giovanni wrote:You can't have delays of 10uS that way, the system counter resolution is 1mS. The result of the US2ST() macro is approximated to the next system tick, 1mS in you case.
Giovanni
excuse me i change the delay to US just for fun (test!) now i correct the above POST Mr Giovanni
- Sun Mar 24, 2013 3:12 pm
- Forum: STM32 Support
- Topic: Problem with Serial
- Replies: 24
- Views: 17249
Re: Problem with Serial
hi
i have another problem that is more important for me
the following code is OK except in one situation:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "ch.h"
#include "hal.h"
#include "chprintf.h"
/* Total number of channels to be sampled by a single ...
i have another problem that is more important for me
the following code is OK except in one situation:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "ch.h"
#include "hal.h"
#include "chprintf.h"
/* Total number of channels to be sampled by a single ...
- Sun Mar 24, 2013 10:37 am
- Forum: STM32 Support
- Topic: Problem with Serial
- Replies: 24
- Views: 17249
Re: Problem with Serial
hi ALL
@Giovanni: I don't know witch stack i should check? and where is it?
the problem is not from USART timing.
@Skute: your right that it takes 1ms for data to come out but when i use following format there is no problem:
while(1)
print(....);
but following format has ...
@Giovanni: I don't know witch stack i should check? and where is it?
the problem is not from USART timing.
@Skute: your right that it takes 1ms for data to come out but when i use following format there is no problem:
while(1)
print(....);
but following format has ...