Search found 447 matches

by BennehBoy
Wed Jan 17, 2018 8:17 am
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 627
Views: 11927

Re: F405 & F411 versions of the BluePill

I'd say go with the current design in order to meet CNY. People can then gauge just how annoying/not the SD placement is whilst a v2 board is worked up.

I'm also interested in grabbing some of these - if they come built :D
by BennehBoy
Wed Jan 17, 2018 8:10 am
Forum: General discussion
Topic: nrf24 / esp8266 /xbee section ?
Replies: 10
Views: 226

Re: nrf24 / esp8266 /xbee section ?

@BennehBoy i'm in the uk, so mains wiring and gas are seriously off-limits unless qualified. although i suspect diagnostic and fault finding on mains wiring are maybe ok - mains off only :!: :!: the fixer has to be qualified. 10-15-20yrs back i'd already have sorted it. i want to do it(all sorts), ...
by BennehBoy
Mon Jan 15, 2018 3:30 pm
Forum: STM32generic
Topic: SPI.transfer of byte crashes F407VET6?
Replies: 10
Views: 141

Re: SPI.transfer of byte crashes F407VET6?

TBH this is probably too much of a rabbit hole - I'll likely abandon using the 407.
by BennehBoy
Mon Jan 15, 2018 3:14 pm
Forum: STM32generic
Topic: SPI.transfer of byte crashes F407VET6?
Replies: 10
Views: 141

Re: SPI.transfer of byte crashes F407VET6?

No wiring_private in yours, commented it out and get a load of macros exceptions thrown.

Compiles and uploads but there's no SPI or Serial output from the 407 - although I expect I may need to ensure that the GPIO definitions are correct.

...losing the will to live... :D
by BennehBoy
Mon Jan 15, 2018 3:05 pm
Forum: STM32generic
Topic: SPI.transfer of byte crashes F407VET6?
Replies: 10
Views: 141

Re: SPI.transfer of byte crashes F407VET6?

Both Adafruit libraries (SSD1306 & GFX) need reworking to function on Rogers core for Generic F407VE - no Wire.h or wiring_private.h (Not that wire is needed! And I'm lazy)

Fingers crossed for Stevestrongs.
by BennehBoy
Mon Jan 15, 2018 2:55 pm
Forum: STM32generic
Topic: SPI.transfer of byte crashes F407VET6?
Replies: 10
Views: 141

Re: SPI.transfer of byte crashes F407VET6?

Well, if it is working with Roger's core, why not use it? :?: It works with Roger's Core on a Maple Mini, I'm trying to get this working on a Black F407VET6. I'll give both Roger's and your core a try against the 407 to see how they fare. Regarding the problem, it's not just a case of the code cont...
by BennehBoy
Mon Jan 15, 2018 2:21 pm
Forum: STM32generic
Topic: SPI.transfer of byte crashes F407VET6?
Replies: 10
Views: 141

Re: SPI.transfer of byte crashes F407VET6?

Well it appears that the Adafruit SSD1306 library does not play nicely with SPI transactions. Why in conjunction with another device on the same bus using transactions this should work on Rogers core but not on STM32GENERIC is beyond me. I'll try driving the device on a second bus to see what happen...
by BennehBoy
Sun Jan 14, 2018 9:57 pm
Forum: STM32generic
Topic: SPI.transfer of byte crashes F407VET6?
Replies: 10
Views: 141

Re: SPI.transfer of byte crashes F407VET6?

Full code is here -> https://github.com/BennehBoy/LRduino---F407VET6

Uncomment line 83 in the .ino to exhibit the hang.

I'm also having fun getting sdfat to work :/
by BennehBoy
Sun Jan 14, 2018 4:19 pm
Forum: STM32generic
Topic: SPI.transfer of byte crashes F407VET6?
Replies: 10
Views: 141

Re: SPI transactions crash F407VET6?

Some diag with serial output indicates that it hangs at the point of the first SPI.transfer SPI.transfer(Address); The STM32GERNERIC docs indicate this: uint8_t transfer(uint8_t data); Send a 8 bits on SPI, and return the received 8 bit data. Are a byte and a uint8_t not interchangeable? Or is this ...