Search found 181 matches

by GrumpyOldPizza
Tue Sep 19, 2017 2:08 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9855

Re: STM32L4 Core

Actually, the onReceive() call doesn't seem to have any problems. And I am having some doubts about what happens with the onRequest() one. Are you using any environment to check the registers? if so, which one? what pins are employed for debugging? Thank you. Otherwise, the core is great For debugg...
by GrumpyOldPizza
Sat Sep 16, 2017 1:21 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9855

Re: STM32L4 Core

There is more. Commenting that line just fixed the 1 byte example. On trying to send several, it freezes again.... Ok. I think I will take a look on the I2c implementation Looks like I busted the logic somewhere along the line. The onRequest() needs to also reset the tx buffer ... I need to rework ...
by GrumpyOldPizza
Sat Sep 09, 2017 12:46 pm
Forum: STM Nucleo boards
Topic: STM32L476RG
Replies: 14
Views: 1608

Re: STM32L476RG

I have been trying to use SDIO mode. I've changed the variant.cpp and variant.h looking the variant.cpp given for nucleo-dragonfly. However, not succeeded. Can you look at the codes given below, please? Should I do anything more? #include "FS.h" #include "stm32l4_wiring_private.h" void setup() { //...
by GrumpyOldPizza
Fri Sep 08, 2017 2:09 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9855

Re: STM32L4 Core

gato_ wrote:
Fri Sep 08, 2017 1:28 pm
There is more. Commenting that line just fixed the 1 byte example. On trying to send several, it freezes again....
Ok. I think I will take a look on the I2c implementation
Looks like I busted the logic somewhere along the line. The onRequest() needs to also reset the tx buffer ...
by GrumpyOldPizza
Fri Sep 08, 2017 12:17 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9855

Re: STM32L4 Core

gato_ wrote:
Thu Sep 07, 2017 9:18 am

The slave appers to be sending a 0 always. I checked that with a logic analyzer
Image
That is the 2nd bug. The I2S SLAVE should send back a NACK rather than to send dummy data.
by GrumpyOldPizza
Fri Sep 08, 2017 12:15 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9855

Re: STM32L4 Core

ok. Traced it back to function TwoWire::write(), line 175 of Wire.cpp: size_t TwoWire::write(uint8_t data) { /* if (!_tx_active) { return 0; } */ if (_tx_write >= BUFFER_LENGTH) { return 0; } _tx_data[_tx_write++] = data; return 1; } with that lines commented, it does react. So the question is, why...
by GrumpyOldPizza
Fri Sep 08, 2017 12:10 pm
Forum: STM Nucleo boards
Topic: STM32L476RG
Replies: 14
Views: 1608

Re: STM32L476RG

I'm a new user of Nucleo STM32l476RG. I'm wondering what the purposes of tools->DOSFS menu in arduino ide is. Can we use for this menu for data logging with SDIO mode? The STM32L4 core as a filesystem called DOSFS (which among other things allows stream writes, an a power safe mode). It does suppor...
by GrumpyOldPizza
Wed Jun 07, 2017 5:45 pm
Forum: STM Nucleo boards
Topic: STM32L476RG
Replies: 14
Views: 1608

Re: STM32L476RG

I'm a new user of Nucleo STM32l476RG. I'm wondering what the purposes of tools->DOSFS menu in arduino ide is. Can we use for this menu for data logging with SDIO mode? The STM32L4 core as a filesystem called DOSFS (which among other things allows stream writes, an a power safe mode). It does suppor...
by GrumpyOldPizza
Sun May 14, 2017 12:50 pm
Forum: STM core: Bugs and enhancements
Topic: [Solved]Something odd about pin mapping
Replies: 5
Views: 356

Re: Something odd about pin mapping

RogerClark wrote:
madman2003 wrote:I'm using the official core, the 12-05-2017 version.
Your best bet is to raise an issue on the L4 repo in GitHub.com/stm32duino
It's a bug in ST's core. Neither the STM32L476 nor the SAMD core have those issues (nor does Teensy).

- Thomas
by GrumpyOldPizza
Sun May 07, 2017 12:13 am
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9855

Re: STM32L4 Core

Thanks will try to change the A/D setting. My DFU problem may can be that the bluepill hardware are diffrent. I did only get the ST Dfu dected by the computer so went to ST-link. Dont get usbserial to work but i think that is only computer problem as serial1 work over Fdi adaptern. It is some usb d...