Configure Timer in EasyMx PRO v7 for STM32 + Looking ahead

Post your requests and ideas on the future development of mikroC PRO for ARM.
Post Reply
Author
Message
BenOve
Posts: 40
Joined: 23 May 2016 07:26

Configure Timer in EasyMx PRO v7 for STM32 + Looking ahead

#1 Post by BenOve » 27 Mar 2017 08:32

The valves have the priority for now viewtopic.php?f=180&t=69819
but it would be very valuable to look ahead and find right approach

The main job is to control the (up to) 16 valves
and at the same time collect info as fast as possible during one revolution
and then send that info over UART during next several revolutions,
It should be several hundred such yellow blocks.

If it is possible to capture 1024 such yellow blocks during one revolution
it would be 1024 blocks * 32 bits * 6 rows = 196 608 bits = 24 576 bytes
Can the 64 KB SRAM in STM32F107VCT6 be used here ?
Should the faster chip STM32F746-100 be used instead ?

When UART job is done - start new collection from degree=0

ttttttttttttttttdddddddddddddddd = 16 bit time from reset + 16 bit Crankshaft Degree from Reset point
vvvvvvvvvvvvvvvv=16 bit valve pattern Could look like 0001000100001100

Does this seem possible to do ?

Thanks for help and comments regarding
initiating two timers and writing the code !

BenOve
Attachments
0020.jpg
0020.jpg (119.49 KiB) Viewed 7431 times

User avatar
dusan.poluga
mikroElektronika team
Posts: 780
Joined: 02 Feb 2017 14:21

Re: Configure Timer in EasyMx PRO v7 for STM32 + Looking ahe

#2 Post by dusan.poluga » 28 Mar 2017 15:21

Hi,

What you are trying to do is possible.
Similar thing has been done on cars for many years.
In my opinion this can be done with a 8 bit micro controller to run reliably.

Regards,
Dusan Poluga.

Post Reply

Return to “mikroC PRO for ARM Wish List”