Dear Sir,
I have read the UM-B-013. But I don't know how to create the "fe_proxr_spi.h" file, it's not mentioned?
Beside, I'm working with project which request host app running on external MCU (LPC11Uxx ) and the MCU connected with DA14580 via USART (RX <- P0.4, TX -> P0.5, CTS -> P0.2, RTS <- P0.3). Let me know how to do that. I have already read the "Appendix A Replacing external CPU interface over UART by SPI" but I don't quite understand it.
Thanks,
Can you help me?
Hi,
Please let me know where you found a reference to the file "fe_proxr_spi.h"?
Anyway, to use the UART interface, you can simply take the reperter_fe project instead of the reporter_fe_spi project. It is already made to work on UART with the pins assigned as you descibe.
Hi,
谢谢你的回复。
I have seen it in "\DA14580_SDK_3.0.4.0\host_apps\da14580\proximity\reporter\src\app.c"
#ifdef SPI_BOOTER
spi_send_image();
#endif
I want to run host app on external processor (my MCU) and put the image of BLE (pan1721) on it always. After booting my MCU will transmit images to BLE via USART.
Because, The BLE has been soldered onto the my board and I do not have any other connection to download program for it.
所以我不能做你的向导。
Please give me another solution.
Thanks,
Hello Mir Ali,
please note the PAN1721 is not based on the DA14580 : you woudl need to loo at the PAN1740 from Panasonic to get a module based on the DA14580.
Best regards,
JE_Dialog
dear sir,
I Ican't find it where I can ask the question,so I ask it here, now I have the trouble like this.
now I have an oled ,I want to dive it with the I2C, GPIO simulte I had do it,but it is too slow,so I wan to use the hardwere I2C ,when I use it like follow,
i2c_eeprom_init(0x78,I2C_STANDARD,I2C_7BIT_ADDR,I2C_1BYTE_ADDR);
while(1)
{
i2c_eeprom_write_byte(0x78,0xae);
}
I found it that there is no wafe on the SCL and SDA,what is wrong with it? can you help me?
Hi,
Sorry, it's my mistake, I'm really using PAN1740.
Please give me a solution.
Thanks,
Hi Mir Ali,
please change the design to SPI for now. we will soon release a document that describes also the programming by UART.
Till then you may refer to following documents to work out the UART aproach in your design:
AN-B-001: DA14580 Booting from Serial Interfaces
um-b-013-da14580-external-processor-over-spi-interface
Last but not least we recommend to get the USB dongle or experimenter kit for development. elswheere you may get stuck in the try and error loop if you can not debug your firmware. Here is a link to the starter kit:
http://pideu.panasonic.de/files/Documents/WM%20Documents/PAN1740/PAN1740...
Best regards,
Ingo
Hello Ingo,
Please let me describe again the issue.
I has a PAN1740 which is connected to my MCU via both UART (PAN1740's P0) and I2C (PAN1740's P1). There is no SPI bus from MCU to PAN.
I would like my MCU to send the image to DA14580 via UART. Other words, DA14580 will boot from UART (3.2 - AN-B-001: DA14580 Booting from Serial Interfaces).
AN-B-001 document described very carefully about the protocol. And from \SDK DA14580\DA14580_SDK_3.0.4.0\dk_apps\keil_projects\proximity, I can build the hex file.
So, my MCU has to send that hex file to DA14580's RAM in the boot procedure of DA14580.
The question is how to create the image as a C array from the built hex file (similar to \SDK DA14580\DA14580_SDK_3.0.4.0\host_apps\da14580\proximity\reporter\include\fe_proxr_spi.h). Is there any tool?
Because, if I switch to SPI interface, I still have to convert the hex file to C array to send via SPI bus.
当做,
Mir Ali
Hi Mir Ali,
the application note AN-B-001 was just updated to describe how to build the array >> UART boot protocol
当做,
Ingo
Hello Ingo,
Thank you for your help. I could load the firmware to DA14580 via UART. I build the FW in Keil ARM and convert axf to bin file. Then I generate the C array from that bin file.
P/S:我在AN-B-001中没有看到任何更新,不过还是谢谢你。
再保险gards
Mir Ali