Search found 14331 matches

by AndreyB
Wed Jul 15, 2015 5:40 pm
Forum: Dev: Hardware
Topic: high-side power switch
Replies: 19
Views: 16082

Re: high-side power switch

19.79x21.69 mm-ish? that's a totally random number, that's the DDPAK board dimensions. 20x22mm to make it even? I need to double-check how much vertical space is inside this mazda case, I am planning to mount it vertically with a couple of 90 degrees pins. BTW would be nice to have unused/mounting/n...
by AndreyB
Wed Jul 15, 2015 5:04 pm
Forum: Dev: Hardware
Topic: high-side power switch
Replies: 19
Views: 16082

Re: high-side power switch

https://644db4de3505c40a0444-327723bce298e3ff5813fb42baeefbaa.ssl.cf1.rackcdn.com/uploads/project/top_image/kpYpQ1tg/i.png Looks like we can get a bit smaller board without much change in the functionality. Larger heat sink holes would allow to get 0.4mm soldering wire in there - like on https://ww...
by AndreyB
Wed Jul 15, 2015 4:11 pm
Forum: Dev: Hardware
Topic: hip9011 - crystal issue
Replies: 33
Views: 28381

Re: hip9011 integration

I just need a tiny little break from this painful testing, but I am planning to retest different hardware setups soon.
by AndreyB
Wed Jul 15, 2015 3:29 pm
Forum: Другое
Topic: Всякие глупые вопросы, терзающие меня
Replies: 1158
Views: 858136

Re: Всякие глупые вопросы, терзающие меня

meXanicus wrote:Только я так и не понял. Даю 5вольт на вход, на выходе тоже 5вольт, после делителя ровно 2.5вольта, а консоль говорит что 4.3 вольта. Сейчас перепроверить немогу.
Интересная тема, попробую дома воспроизвести.
by AndreyB
Wed Jul 15, 2015 2:07 am
Forum: Dev: Software
Topic: Firmware developent status
Replies: 499
Views: 700236

Re: Firmware developent status

[video][/video]
by AndreyB
Tue Jul 14, 2015 11:39 am
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 - 3v to 5v level issues

And here is 2us
by AndreyB
Tue Jul 14, 2015 11:36 am
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 - 3v to 5v level issues

Since I have a bunch of these assembled rev 0.4 boards I've decided to play with another one and that other one the osc does start without any modifications - without C169 and with stock R177. Weird. I am pretty sure the other 0.4 was waiting for a touch. Also want to report that with the 1K pull-up...
by AndreyB
Mon Jul 13, 2015 4:14 pm
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 integration

Lets try leaving the capacitor values at 24pF and decreasing the value of R177 to around 300 ohms. Edit: Just realized you are talking about the capacitor that is connected to the CS line. That component shouldn't be necessary. The current component values just need to be tweaked/tuned. Don't you l...
by AndreyB
Mon Jul 13, 2015 12:44 pm
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 integration

With the new code engineConfiguration->spi2SckMode = PAL_STM32_OTYPE_OPENDRAIN; engineConfiguration->spi2MosiMode = PAL_STM32_OTYPE_OPENDRAIN; engineConfiguration->spi2MisoMode = PAL_STM32_PUDR_PULLUP; boardConfiguration->hip9011IntHoldPinMode = OM_OPENDRAIN; outputPinRegisterExt2("hip CS"...
by AndreyB
Mon Jul 13, 2015 12:23 pm
Forum: Dev: Hardware
Topic: hip9011 - crystal issue
Replies: 33
Views: 28381

Re: hip9011 integration

I've installed 47pF C169 and now I need to hold my finger to have the thing running. As a second step I've replaced R177 with a 0R resistor and now I see the slope on the oscilloscope. Is it time to make these 47pf and 0R values official? I believe that on the rev 0.1 board the trick was to remove o...
by AndreyB
Mon Jul 13, 2015 2:57 am
Forum: Dev: Hardware
Topic: hip9011 - crystal issue
Replies: 33
Views: 28381

Re: hip9011 integration

Now, with my 0.4 board nothing is going on unless I touch the crystal with my finger. I guess it's still not starting, even with the new R177 resistor? What value should I install for C169

Image
by AndreyB
Mon Jul 13, 2015 1:17 am
Forum: Dev: Software
Topic: hip9011 integration
Replies: 116
Views: 89627

Re: hip9011 integration

kb1gtt wrote:Now that it's working, It's probably a good time to remind people about the stuff found here http://www.ti.com/product/TPIC8101/toolssoftware
What exact stuff? too much stuff there!
by AndreyB
Mon Jul 13, 2015 1:16 am
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 integration

Here is the patch: http://pastebin.com/wimt0VRr There are a few modifications I do recommend to reduce unnecessary power consumption. :ugeek: Remove resistors R171, R172, R173, and R174 (the TPIC's internal pullups are sufficient). Also change R170's value from 1k to 4.7k. We are in a little bit of...
by AndreyB
Sun Jul 12, 2015 11:24 pm
Forum: Dev: Software
Topic: How to compile the firmware
Replies: 135
Views: 928838

Re: How to compile the firmware

Eclipse is not required to compile the code - there is also a Makefile, you can compile with make
by AndreyB
Sun Jul 12, 2015 10:48 pm
Forum: Железо
Topic: HIP9011 модуль DD: готовый Signal Processor
Replies: 113
Views: 97197

Re: HIP9011 модуль DD: готовый Signal Processor

я пропустил - почему счетчик каждый раз обнуляется? он считает количество детонаций за какое-то количество оборотов? эта штука увеличивается, если на обороте есть детонация - и уменьшаяется, если на обороте детонации нет. Эту штуку можно при желании сразу вычитать из опрежения - это самая простая с...
by AndreyB
Sun Jul 12, 2015 2:31 am
Forum: Железо
Topic: HIP9011 модуль DD: готовый Signal Processor
Replies: 113
Views: 97197

Re: HIP9011 модуль DD: готовый Signal Processor

алилуя - детонацию ловим, похоже :)

[video][/video]
by AndreyB
Sun Jul 12, 2015 2:29 am
Forum: Dev: Software
Topic: hip9011 integration
Replies: 116
Views: 89627

Re: hip9011 integration

1.5 years in the making... we have knock detection on a real car! I need to thank everyone involved, guys, this would not happen without you :)

[video][/video]
by AndreyB
Sun Jul 12, 2015 12:59 am
Forum: Железо
Topic: HIP9011 модуль DD: готовый Signal Processor
Replies: 113
Views: 97197

Re: HIP9011 модуль DD: готовый Signal Processor

puff wrote:а вот кстати да, про окна: программа читает только один раз на два оборота КВ (только у одного цилиндра?)
сейчас так, но ничто не мешает программу потом дописать :)
by AndreyB
Sat Jul 11, 2015 7:42 pm
Forum: Железо
Topic: HIP9011 модуль DD: готовый Signal Processor
Replies: 113
Views: 97197

Re: HIP9011 модуль DD: готовый Signal Processor

Диодом понизил напряжение питания чипа и он как-бы работает. Теперь мне нужна детонация на машине, желательно на стоящей. Поигрался с опережением в районе 3-4К оборотов - датчик сильно более высокие показания не выдал. Пробовал окно от 35 до 135, и от 215 до 315. Пробовал двигать зажигание туда-сюда...
by AndreyB
Sat Jul 11, 2015 7:38 pm
Forum: Dev: Software
Topic: hip9011 integration
Replies: 116
Views: 89627

Re: hip9011 integration

now I need some knock, any ideas?
[video][/video]
by AndreyB
Sat Jul 11, 2015 6:12 pm
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 integration

pb13_sck.BMP
pb13_sck.BMP (47 KiB) Viewed 17426 times
pb14_miso.BMP
pb14_miso.BMP (47 KiB) Viewed 17426 times
pb15_mosi.BMP
pb15_mosi.BMP (47 KiB) Viewed 17426 times
pd0_cs.BMP
pd0_cs.BMP (47 KiB) Viewed 17426 times
by AndreyB
Sat Jul 11, 2015 5:35 pm
Forum: Железо
Topic: HIP9011 модуль DD: готовый Signal Processor
Replies: 113
Views: 97197

Re: HIP9011 модуль DD: готовый Signal Processor

Это адъ. Дело похоже в рассинхронизации между пятивольтовым hip/tpic и трёхвольтовым stm32. Пока питание от USB, две трети от 4.6 это примерно 3в. А вот две трети от 5ти вольт уже чуть-чуть больше 3.3в.

Ад, Пока временно запитал hip от 4.6в.
by AndreyB
Sat Jul 11, 2015 5:28 pm
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 integration

Spilly : I finally have it figured out. The logic level thresholds are dependent on the voltage input to the TPIC. At 4.8-4.9V the TPIC works as expected. At 5V or above it does not. As a dirty temporary fix, I am powering TPIC with 4.6v and things are looking good! I will now go try this on the re...
by AndreyB
Sat Jul 11, 2015 1:56 pm
Forum: You and your build
Topic: AEB 1.8T
Replies: 12
Views: 13992

Re: AEB 1.8T

I suggest getting something like http://www.ebay.com/itm/231618298692 just to destroy and it re-use the ECU connector with your own wires soldered to it.
by AndreyB
Sat Jul 11, 2015 12:03 pm
Forum: Dev: Hardware
Topic: hip9011 - 3v to 5v level issues
Replies: 78
Views: 49306

Re: hip9011 integration

USB power: 4.4v gets to hip/tpic, works
external 5v power supply power: 4.8v gets to to hip/tpic, works
external 12 power supply: 5.0v gets to the hip/tpic, no SPI responses

let me remove some of these pull-ups just to try something
by AndreyB
Sat Jul 11, 2015 12:00 pm
Forum: Железо
Topic: HIP9011 модуль DD: готовый Signal Processor
Replies: 113
Views: 97197

Re: HIP9011 модуль DD: готовый Signal Processor

Maxi wrote:hip вообще 5-ти вольтовая микросхема. зачем ее 12 вольтами мучать.
12ть вольт подаётся на плату, на плате есть БП. в hip приходит 5 вольт. При работа от БП на hip 5 подаётся вольт, при работе от USB на hip 4.4 вольта
by AndreyB
Sat Jul 11, 2015 2:42 am
Forum: Железо
Topic: HIP9011 модуль DD: готовый Signal Processor
Replies: 113
Views: 97197

Re: HIP9011 модуль DD: готовый Signal Processor

tpic/hip чип не отвечат на SPI инициализацию, если плата запитана от 12 вольт. Если плата запитана от 5ти вольт (точнее 4.80 или сколько там в USB) - то всё работает. ЧТО ЭТО? №"№;"№;"";:"ЕПМЫ На обеих картинках ребут, потом я вкл-выкл-вкл линию CS, потом посылаю 3 байта. На...