Search found 50 matches

by theShed
Sun Dec 15, 2013 10:51 pm
Forum: LPC Support
Topic: LPC435x port/support
Replies: 2
Views: 2155

Re: LPC435x port/support

I'm still interested in the dual-core devices and have bought myself a 4337 board as a xmas present.
Now just have to wait for ChinaPost / UK customs to deliver...

--
mike
by theShed
Thu Jun 13, 2013 6:46 pm
Forum: LPC Support
Topic: LPC2148 (non olimex)
Replies: 6
Views: 4119

Re: LPC2148 (non olimex)

Good to hear that you have it working. For any drivers that have not been implemented: 1. a template can be found in /os/hal/templates, copy the template to the hal platform directory and fill in the missing bits ;-) 2. add the driver file to the platform makefile. 3. enable the driver in halconf.h ...
by theShed
Tue Jun 11, 2013 7:26 pm
Forum: LPC Support
Topic: LPC1769 using LPCXpresso IDE
Replies: 23
Views: 12546

Re: LPC1769 using LPCXpresso IDE

Always interested in more LPC device support..

--
mike
by theShed
Sun Jun 09, 2013 7:48 am
Forum: Development and Feedback
Topic: Bootloader topic
Replies: 23
Views: 11072

Re: Bootloader topic

The vector table must be aligned to a 'block boundary' where the block size is the size of the vector table itself. So a minimal 32 entry vector table must be aligned to: 32*4 = 128 (0x80) byte boundary. and an STMF4xx with its 90+ entry vector table must be aligned to: 128*4 = 512 (0x200) byte boun...
by theShed
Fri Jun 07, 2013 11:17 am
Forum: LPC Support
Topic: LPC2148 (non olimex)
Replies: 6
Views: 4119

Re: LPC2148 (non olimex)

OK, two things that stand out: 1) The system initialisation code is missing int main(void) { /* * System initializations. * - HAL initialization, this also initializes the configured device drivers * and performs the board-specific initializations. * - Kernel initialization, the main() function beco...
by theShed
Wed Jun 05, 2013 11:44 pm
Forum: LPC Support
Topic: LPC2148 (non olimex)
Replies: 6
Views: 4119

Re: LPC2148 (non olimex)

What do you mean by "doesn't work" ?

Changing FOSC, without modifying the PLL dividers, should give the CCLK/PCLK frequencies you expected.

--
mike
by theShed
Wed Jun 05, 2013 9:37 pm
Forum: Development and Feedback
Topic: STM32F3 PWM driver compiler warning
Replies: 5
Views: 2357

Re: STM32F3 PWM driver compiler warning

It's partly historical. The timer was originally designed for a 16-bit chip and when it was plugged into a 32-bit design the register decoding was left unchanged, just shifted up a bit to put the 16-bit registers on 32-bit boundaries. Be careful about assuming that you can access all registers as 32...
by theShed
Wed Jun 05, 2013 9:39 am
Forum: Development and Feedback
Topic: STM32F3 PWM driver compiler warning
Replies: 5
Views: 2357

Re: STM32F3 PWM driver compiler warning

Checked the F4 manual: same applies to TIM1/8 on the F4 family.

List of 32-bit registers:
TIM_CR2
TIM_SMCR
TIM_SR
TIM_CCMR1
TIM_CCMR2
TIM_CCER
TIM_CCR5
TIM_BDTR
TIM_CCMR3

--
mike
by theShed
Wed Jun 05, 2013 9:05 am
Forum: Development and Feedback
Topic: STM32F3 PWM driver compiler warning
Replies: 5
Views: 2357

Re: STM32F3 PWM driver compiler warning

That is a bug.


Giovanni,

Some of the timer registers in the STMF3xx have been promoted to 32 bits.
The ones I noticed are: TIMxCR2, TIMx_SR and TIMxCCMR1 specifically for timers 1&8.

--
mike
by theShed
Mon Jun 03, 2013 6:18 pm
Forum: General Support
Topic: [DONE] Problem with MS2ST macro
Replies: 5
Views: 1593

Re: [TODO] Problem with MS2ST macro

I guess that macro was written asuming that systick >= 1mS. Which is a reasonble assumption... Many of the lower powered devices would stuggle to service a 100uS systick interval. @4mHz that's an interrupt every 400 instructions (assuming you can execute an instruction every clock cycle - which you ...

Go to advanced search