SiliconLabs / arduino

Arduino Core for Silicon Labs devices
86 stars 16 forks source link

Duplicate of pins assignment for BGM220 #80

Open lyusupov opened 3 months ago

lyusupov commented 3 months ago

Hardware

BGM220

Core version

2.1.0

Arduino IDE version

any

Operating system

any

Radio stack variant

No radio

OpenThread Border Router device (if using Matter)

none

Issue description

both PC7 and PA4 are assigned to 2 different Arduino pin numbers

image

Serial output

No response

RTT output (if using Matter)

No response

Minimal reproducer code

No response

silabs-bozont commented 3 months ago

Hello @lyusupov, Eagle eyes, thanks for noticing. Redundant mappings (15, 16) will be removed in the next release.

lyusupov commented 3 months ago

@silabs-bozont

Thank you!

One more issue to talk about - when 32768 Hz XTAL is not connected to PD0 and PD1 pins -

I found out that the Core relies heavily on the external 32.768 kHz XTAL. It assumes that it is a mandatory hardware component. However, this requirement is not specified in the Limitations section of the Core's README: https://github.com/SiliconLabs/arduino#limitations



image

The request is:

Is it possible to avoid using of the RTC timer for the purpose of Arduino delay() ... and millis() ... functions in the future releases of the Core ? Arduino Cores for other SoCs typically don't do that.

leonardocavagnis commented 2 months ago

@silabs-bozont

Thank you!

One more issue to talk about - when 32768 Hz XTAL is not connected to PD0 and PD1 pins -

  • delay() and delayMicroseconds()
  • millis() and micros() are operating approx. 100-110 times slower than they should.

I found out that the Core relies heavily on the external 32.768 kHz XTAL. It assumes that it is a mandatory hardware component. However, this requirement is not specified in the Limitations section of the Core's README: https://github.com/SiliconLabs/arduino#limitations

image

The request is:

Is it possible to avoid using of the RTC timer for the purpose of Arduino delay() ... and millis() ... functions in the future releases of the Core ? Arduino Cores for other SoCs typically don't do that.

Hi @lyusupov, Thanks for reporting. Please open a new issue for better management.

lyusupov commented 2 months ago

@leonardocavagnis

Please open a new issue for better management.

Done in https://github.com/SiliconLabs/arduino/issues/87