Smart Bluetooth Forum Discussions
Hi,
I'm going to run 20737 as central role which will try to connect several peripherals at the same time.
Will it be possible to call function 'blecm_CreateConnection' to different peripherals without calling 'blecm_CreateConnectionCancel' when some peripheral is not reachable?
Show LessI have been working on the modules and have had a few issues. I have the modules connecting and communicating, however looking at a product I test for the conditions that may occur and have found a few issues, see below, for discussion or solutions if anyone has any.
- Power on advertisement is not always working. Using RF Sniffer you can see that the RF stops operating when there is no client to connect too.
- Running the advertisement through it’s cycle, High advertisement for 30 seconds and then low advertisement for 300 seconds. There are frequent occasions where the module does not complete it’s cycle. The low advertisement runs for 10 seconds and then stops, sometimes the low advertisement runs for the full 300 seconds, the “Stopped advertisement interrupt handler” is called and low advertisement is re-started….sometimes you get RF for 10 seconds ….sometimes you get nothing.
- If the advertisement has stopped there is no way to re-start it without power cycling the module.
- I have added commands to allow serial commands to start/stop advertisements…this operates correctly and I can start HI or Low advertisements and stop them as required….however when the module hits the problems above the advertisements will not re-start without a power cycle. The firmware has not crashed as the debug messages are still being generated every second.
- If a connection is made and we are passing and processing messages correctly then the system is operational. The client is then powered down so the link is lost, the server sees that the link is lost and starts a high advertisement rate to re-connect to the client. Sometimes we get no RF out of the module, sometimes we get RF but the client will not re-connect until it has it’s power cycled.
- There are also issues with the pairing/bonding of the devices on the forum which Broadcom are aware of and will be fixing in the future.
- Lack of documentation on the software functions within the module, I spend a lot of time looking of r a feature to find it in another software module, but with no documentation to support it.
Show Less
Hi,
I am very new to this field(moved here from arduino) and I can tell that I do not know enough about how to program embedded systems, how bluetooth smart exactly works, and how to design custom pcbs for the BCM2073X devices. The documentation from broadcom are a little daunting to me.
Would you guys recommend any resources/books/websites for a beginner like me so I can gradually gain a better understanding of embedded systems programming, bluetooth smart, and pcb design?
Thanks a lot!
Show LessI am trying to use a hardware timer to change the pulse rate of the pwm every 32 microseconds.
I tried something out but I can't get it working.Can somebody post an example of the hardware timer usage or is there an app that already uses it?
Inside create() function,
devlpm_registerForLowPowerQueries(ws_upgrade_uart_device_lpm_queriable, 0);//callback returns 0
//register callback when pwm time expires
hw_timer_register_timer_expired_callback((HW_TIMER_EXPIRED_CALLBACK_FN)pwm_callback);//register callback
pwm_setReset(1 << PWM3, 0);
pwm_start(PWM3, PMU_CLK,pwm_init,pwm_toggle);// Enable Output of the PWM
gpio_configurePin((GPIO_PIN_P13) / 16, (GPIO_PIN_P13) % 16, PWM3_OUTPUT_ENABLE_P13, 0);
hw_timer_start(35); //start timer
void pwm_callback(void){
if(pwm_toggle==0x3FF)
pwm_toggle=0x3BF;
else
pwm_toggle++;
pwm_start(PWM3, PMU_CLK,pwm_init,pwm_toggle); change the pwm pulse rate
hw_timer_start(35);
}
}}
Can anyone verify if I am doing something wrong here?
Any help is appreciated.
Thanks.
Show LessBluetooth SMART Concepts IoT 1 vWorkshop - YouTube
I thought some of you that are new to BLE may be interested in this new intro video that Macnica just put together.
Show LessI'm having trouble getting 100% duty cycle from the PWM. 0-99% works great but I always get a small negative pulse at 100%. I'm using the LHL_CLK to get a 1 kHz signal. I'm trying to get 100% by calling:
pwm_transitionToSubstituteValues(PWM1, 895, 895);
Is there anyway to get 100%?
Show LessI'm using serial flash instead of EEPROM as main memory(program application).
Is it possibile to change SPI port from SPI1 to SPI2 ?
It looks like using minidriver for download, but it has not been opened.
For some reason, we'd like to change SP2 as download port.
Could it be possible to do it?
Thank you.
Show LessHello,
Could ATMEL AT24C512BU2-UU-T EEPROM be@ supported on BCM20737?
thank you.
BCM20737 data sheet
As follows:
EEPROM Interface
The BCM20737 provides a Broadcom Serial Control (BSC) master interface. BSC is programmed by the CPU
to generate four types of bus transfers: read-only, write-only, combined read/write, and combined write/read.
BSC supports both low-speed and fast mode devices. BSC is compatible with an NXP® I2C slave device, except
that master arbitration (multiple I2C masters contending for the bus) is not supported.
The EEPROM can contain customer application configuration information including application code,
configuration data, patches, pairing information, BD_ADDR, baud rate, SDP service record, and file system
information used for code.
Native support for the Microchip® 24LC128, Microchip 24AA128, and ST Micro® M24128-BR is included.
Show LessQuick sanity-check question.
I'm looking to add the BCM20736S to an existing micro-controller solution. The micro-controller already gets the numbers I want, I just want to get the numbers sent to the BCM20736S so another device will be able to read them via BTLE.
I was thinking I could connect the BCM20736S so that it could:
- communicate with micro-controller over the PUART
- communicate with micro-controller using SPI
- be programmed with the SDK using the HCI UART
Could someone let me know if those things are at least possible? Originally I thought I could use the HCI UART as the primary interface between micro-controller & BCM20736S but now I suspect that's not possible?
Show Less