D51 sound mixer

#1

I’m building my own arcade hardware and can’t have sfx with D51 chips with jack-snd=PA02. How can D51-hardware make sounds? I found the D51 mixer in pxt is configured to no-sound. Thanks!

#2

It’s not supported yet, sorry. Should come within a month or so.

#3

Thanks! Glad to know it’s on the schedule.

#4

Hope D51 sound mixer is still on schedule.

(Is the PWM sound mixer for D51 similar to F4 mixer if not in DAC mode? We can try to port it from F4 mixer, right?)

#5

Michal is actively working on it.

1 Like
#6

It should now work in /beta, though there are still improvements coming.

2 Likes
#7

Yes. It works! Thanks!

#8

Another issue: attached LIS3DH accelerometer doesn’t work for D51? (I2C address 0x19, or 0x32)

#9

Did you specify ACCELEROMETER_TYPE=LIS3DH in the config keys?

#10

Yes. In uf2 bootloader config data:
{

1, 0x36, // PIN_ACCELEROMETER_INT = PB22
2, 0xd, // PIN_ACCELEROMETER_SCL = PA13
3, 0xc, // PIN_ACCELEROMETER_SDA = PA12
70, 0x32, // ACCELEROMETER_TYPE = LIS3DH

}

I tried to show accelerometer Y-axis into score:

forever(function () {
info.setScore(controller.acceleration(ControllerDimension.Y))
})

It doesn’t show y-axis value in D51 board. (The same code works in my F4 board)

#11

We had issues with i2c on SAMD. These are still being worked on. Does it lock up or just read zero?