Search found 3 matches

by mmccoo
Wed Jun 06, 2018 4:06 pm
Forum: Bug Reports
Topic: chtime assert bug
Replies: 2
Views: 2636

chtime assert bug

note that I also reported a different issue here:
http://www.chibios.com/forum/viewtopic.php?t=4621
with no reponse. Perhaps this is cause I didn't report in this forum.

also this one:
http://www.chibios.com/forum/viewtopic.php?f=16&t=4622
suggesting ...
by mmccoo
Thu Apr 26, 2018 9:12 am
Forum: Bug Reports
Topic: Documentation suggestions
Replies: 2
Views: 3078

Documentation suggestions

I'm new to ChibiOS and fairly new to embedded. There are some things I struggled with in my learning curve that largely come down to documentation.

My recommendations:

for palSetPadMode and palSetGroupMode

[in] mode pad mode

not helpful as it is. What's a mode? It'd be clearer list off the ...
by mmccoo
Wed Apr 25, 2018 9:26 am
Forum: Bug Reports
Topic: Possible bug in ADC lld
Replies: 4
Views: 3921

Possible bug in ADC lld

given this code, with stuff deleted:

void adc_lld_start_conversion(ADCDriver *adcp) {
uint32_t mode, cr2;

adcp->adc->CR2 = grpp->cr2 | cr2;


/* ADC start by writing ADC_CR2_ADON a second time.*/
adcp->adc->CR2 = cr2;
}


and quoting from the STM32 reference manual RM0008:
Bit 0 ADON: A/D ...